I am new to Home Assistant, started migrating everything across at Christmas.
What I am looking for is a way to get Home Assistant to automatically restart zigbee2MQTT after Home Assistant has undergone a restart. I am sure it is possible just not figured it out yet and hoping for a pointer
Issue
I have noticed every time I use the Home Assistant Developer Tools/Restart/Restart Home Assistant when Home Assistant comes back up all the zigbee2MQTT devices are unavailable in Home Assistant, all are working fine in zigbee2MQTT but all lost in Home Assistant.
I have worked around this by remembering ( most of the time) to restart zigbee2MQTT in the Add ons.
Desired outcome
But would like to find a way of avoiding the issue, ie some other restart method or automate the zigbee2MQTT restart once Home Assistant comes back up.
I have searched but not found anything that fits so far.
Relevant data
Core 2024.2.3
Supervisor 2024.02.0
OS 11.5
Frontend 20240207.1
zigbee2MQTT 1.35.3
Any ideas of what I am doing wrong or an automated workaround?
It’s still interesting though since the add-on shouldn’t be affected by a restart of Home Assistant. It would be affected by a reboot of the host though.
It is a consistent issue, took me while to understand why my graphs on Dashboards were failing, I am using Node Red from my standalone zigbee2MQTT days so the Home Assistant automations, I have very few of them, were not having an impact.
I don’t always remember to restart zigbee2MQTT so a bit of a pain
Done and dusted, will keep on trying to work out how get Home Assistant to not lose zigbee2MQTT devices after a restart, but this will keep it going in the meantime.