Zigbee2 mqtt all devices went offline

Not sure why but the logs say this
2022-08-30 22:19:33.072 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server core-mosquitto:1883 (7)
2022-08-30 22:20:16.627 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved

Could this be from an update ? I didn’t see an update of z2mqtt last night.

Resetting the broker fixed it but any idea why this occured and how to stop it ? Not sure if it’s a good idea to leave Auto update on the broker.

Did you update your mqtt broker addon?

If so check the mqtt addon logs. If you see:

1661894756: Error: Duplicate log_timestamp_format value in configuration.
1661894756: Error found at /share/mosquitto/mosquitto.conf:2.
1661894756: Error found at /etc/mosquitto/mosquitto.conf:37.
[21:25:56] WARNING: Halt add-on

The check that your mqtt addon configuration does not contain

log_timestamp_format: <some foremat string here>

If it does, then remove this line and restart the addon.

The other place this can exist and needs to be removed from is in


thanks for your reply - I haven’t updated it - it’s only been online for 2 days. but it did have auto update set to true so i’m not sure if there was an update when this occured.

under logs it seems to clear them.

here’s the config now

Check the mqtt broker (mosquitto) addon logs and configuration, not zigbee2mqtt.

And yes an update for this was released very recently. Auto update is a bad idea turn it off. Updates can contain breaking changes. You can write an automation to notify you if an update is available.