It seem to mess up as soon as any update that requires a soft restart occurs (even just a restart for a YAML update).
It boots back up and the Zigbee2 MQTT is always failed.
Cycle power on the dongle, no better. Cycle power on the rPi, let it fully boot (Zigbee2MQTT won’t start and fails), cycle power on the dongle - now it works.
Just seems more like a problem between HA and the add-on rather than a hardware issue
I just rechecked the process of getting this to work again:
The troubleshooting guide didn’t help and I’ve gone through that a few times now. I feel that is more for situations when this add-on just doesn’t work at all.
No changes to anything.
Developer tools > Restart
Let it fully boot
Zigbee2MQTT not running (set to Start on Boot)
Manually Start Zigbee2MQTT, give it a few minutes
Fails to start
Power cycle the Sonoff dongle
Manually Start Zigbee2MQTT, give it a few minutes
Fails to start
Power cycle the rPi
Zigbee2MQTT started on boot (or tried at least)
Zigbee2MQTT fails
Manually Start Zigbee2MQTT, give it a few minutes
Fails to start
Power cycle the Sonoff dongle
Manually Start Zigbee2MQTT, give it a few minutes
All is well and the UI loads with the devices all present
Not sure if this is helpful, but this pattern is repeatable.
Just not sure where to go from here as I do feel the issue is out of my control
I did try this and I had no success. Since it functioned as-is, I gave up on that venture.
I will give this another shot though and perhaps that’s all it is
I got this too. It is super unstable. Did some update to HA core at 10pm, it had some thing about needing a restart due to config changes in z2m.
After that, it ran until 3am, when it died. Noticed all my stuff not working at 5am. Restart everything multiple times, until w/o any config changes it worked again.
That is not helpful. Upgraded from what version to which version?
FWIW I keep my HA and Z2M religiously up to date (via the Addon for Z2M). I presently have HA 2023.6.1 and Z2M Addon v 1.31.2-1. It is working fine, and highly reliable.
Had the same problem, using a Texas Instruments CC2531 dongle on a Odroid-m1.
The TI CC2531 has a tendency of being stuck (happened to me twice in a year). There’s no magic fix, other than replacing it with a better Zigbee dongle.
Solution: disconnect/reconnect the dongle AND then reboot the whole system (not just HA).
You my friend just solved my problems. I had issues with HA not starting properly after updates and zigbee2mqtt failing for a couple of weeks now and couldn’t figure it out. Turns out for some reason HA decided to add ZHA to my integrations. I’ve been using zigbee2mqtt for years now so I didn’t even consider this to be the issue.