Zigbee2mqtt stops randomly posting to HA after core-2022.7.1+

Hello.
Since core-2022.7.0/1+ i have a random bug that the zigbee2mqtt add-on stops posting statuses to HA.
When I go to the zigbee2mqtt addon GUI i can see all my devices working properly and I can control them from the UI.
But all integrations in HA dashlane dashboard become unavailable.
I am running on a HASSIO on an Intel NUC e BOXNUC7I3BNH
Mosquitto broker 6.1.2
Zigbee2MQTT 1.27.0-1

There is no log on zigbee2mqtt or mosquito… it jist stops randomly.
debug log sees the changes… but none is sent to mqtt i think. Will have to listen with a mqtt client when it happens next time.

side note. No new add-ons no noting. Just updated and removed ecovacs integration because it was broken atm.

The same happens to me. I have HA, Z2M and everything else running in docker on PC connected to router via cable. My router is set up to automatically restart every night at 4:00am. Until 2022.7, everything worked fine. But since that update, after router restarts, ally Z2M devices are marked as unavailable in HA. What I did to solve this is I scheduled Z2M container to restart every day at 4:10am - right after router is back up - and that makes all devices available again. I consider this workaround. When everything was working before 2022.7, I think this behaviour is a bug.

1 Like

Ye i was thinking along the same lines for a solution to make a trigger when an entity becomes unavailable that I should restart the add-on.

Can confirm this happens when you restar HA from the settings to… devices go unavailable untill you restart the zigbee2mqtt addon…

There were some similar reports on the z2m github issues page, but from a quick scan, they seem to be focused around z2m 1.27 and not HA 2022.7, but when both get updated monthly, it may be hard to tell which is the real culprit.