Skip to content

Everything unavailable when z2m restarts/crashes #87

@copystring

Description

@copystring

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

Disconnect:
image

Eventually z2m works again and iobroker.zigbee2mqtt reconnects:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions