Closed russellhq closed 3 years ago
I dont think that disconnecting during usage is a typical use-case. But if implementing a "try-again" algorithm is easy, then this would be nice.
I agree with @swissbyte
@russellhq I recommend to setup a supervisor to automatically restart zigbee2mqtt when it crashes.
@swissbyte , @Koenkk , I've now set up z2m as a service which restarts whenever z2m crashes. Would still be handy if z2m handled disconnects. Because I use a wemos running esp easy to create a wireless serial connection, if I make any changes in esp easy which need a restart, it kills z2m.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think a similar crash happens when you reset them ZNC via mqtt. So some sort of better handling around this would still be nice to have.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug Report
What happened
zigbee2mqtt crashes when my zigbee adapter (CC2530 board with CC2591 connected to Wemos D1 Mini running ESP Easy Serial Server) restarts or loses WiFi connection.
What did you expect to happen
zigbee2mqtt to wait for adapter to come back online.
How to reproduce it (minimal and precise)
Reboot ESP Easy from web interface or restart WiFi access point the Wemos is connected to
Debug Info
zigbee2mqtt version: zigbee2mqtt version 1.12.0 (commit #840b9d9) CC253X firmware version: