-
-
Couldn't load subscription status.
- Fork 24
Description
What happened?
It looks like z2m crashed and restarted. When this happens every device is marked as unavailable and only sometimes return to available.
What did you expect to happen?
Maybe it makes more sense to automatically restart the adapter when there's a connection loss instead of endlessly trying to reconnect?
Also as you can see in the third screenshot of the logs it seems like iobroker.zigbee2mqtt behaves different than a restart when the connection ist lost which seems to be the reason the devices do not always turn back to being available.
How to reproduce it (minimal and precise)
Wait for z2m to restart for example be connection loss of the adapter.
Adapter version
2.4.4
Log
Eventually z2m works again and iobroker.zigbee2mqtt reconnects:

This is what it looks like when manually restarting iobroker.zigbee2mqtt:

