How to restart zigbee2MQTT after a Home Assistant Restart

The presence sensors are mostly Sonoff, now I have moved lighting back to Hue I only have one presence sensor working now.

Running zigbee2MQTT 1.37.0-1

Ok finally resolved this issue by completely removing zigbee2MQTT while I was switching to a POE / Ethernet connected zigbee SMLight coordinator.

It was a pain having to re-pair 80 odd devices, bot as bad as it could have been if I had not already moved all the 80+ lights and motion sensors onto Hue Hubs.

All the issues I was having with zigbee2MQTT,

zigbee2MQTT failed to re-start after a Home Assistant reboot

Every 5-10 days zigbee2MQTT would initially make all devices unresponsive followed by declaring them offline.

2 Likes

Interesting. I am having this exact same issue (unavailable after restarts) and i have just recently moved to a SMLight coordinator from the old sonoff usb one i had. The entities migrated fine but im guessing there is something underlying that is causing all the issues. Thanks for posting!

1 Like

Sweet! Its surviving restarts now that i repaired everything.

1 Like

Hi everyone!

I run into sort of the same problem as others here.
I have HA running in Docker, as well as the Mosquitto broker and Zigbee2MQTT

When I manually restart Home Assistant all the devices provided by Zigbee2Mqtt work fine.
But after a Home Assistant update (executed by watchtower) none of the devices work. They all remain on unavailable.
The only way to get them back up is to restart the Zigbee2Mqtt container.

I already checked if the birth and will status’ are correctly configured and that is the case.

Does anyone have a solution to this?

Thanks in advance!

Edit: It doesnt work when homeassistant is offline for more than a couple of moments. When I turn it off for 3 minutes everything remains unavailable. If I just do a restart it does work fine.