Hi, I have Zigbee2MQTT as add-on on my Raspberry running HomeAssistant OS and I noticed that sometimes the add-on is not reachable, in the logs I can see that continues to restart the service randomly(Watchdog is enabled), sometimes happen after 2 hours, sometimes after 2 minutes.
I have a Sonoff ZBDongle-E, I set up adapter: ember
and flashed the firmware version 7.4.4 .
Here are the logs:
[11:11:38] INFO: Preparing to start...
[11:11:39] INFO: Socat not enabled
[11:11:40] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-20 11:12:05] info: z2m: Logging to console, file (filename: log.log)
[2025-02-20 11:12:05] info: z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[2025-02-20 11:12:05] info: z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-20 11:12:06] info: zh:ember: Using default stack config.
[2025-02-20 11:12:06] info: zh:ember: ======== Ember Adapter Starting ========
[2025-02-20 11:12:06] info: zh:ember:ezsp: ======== EZSP starting ========
[2025-02-20 11:12:06] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-20 11:12:06] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2025-02-20 11:12:06] info: zh:ember:uart:ash: Serial port opened
[2025-02-20 11:12:06] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-20 11:12:07] info: zh:ember:uart:ash: ======== ASH connected ========
[2025-02-20 11:12:07] info: zh:ember:uart:ash: ======== ASH started ========
[2025-02-20 11:12:07] info: zh:ember:ezsp: ======== EZSP started ========
[2025-02-20 11:12:07] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched.
[2025-02-20 11:12:07] info: zh:ember: Adapter version info: {"ezsp":13,"revision":"7.4.4 [GA]","build":0,"major":7,"minor":4,"patch":4,"special":0,"type":170}
[2025-02-20 11:12:08] info: zh:ember: [STACK STATUS] Network up.
[2025-02-20 11:12:08] info: zh:ember: [INIT TC] Adapter network matches config.
[2025-02-20 11:12:08] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1247ms until next broadcast.
[2025-02-20 11:12:08] info: z2m: zigbee-herdsman started (resumed)
[2025-02-20 11:12:08] info: z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":4,"revision":"7.4.4 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2025-02-20 11:12:08] info: z2m: Allagamento acquaio (0xb0c7defffe610b94): E2202 - IKEA BADRING water leakage sensor (EndDevice)
[2025-02-20 11:12:08] info: z2m: Allagamento lavastoviglie (0xb0c7defffe63e94f): E2202 - IKEA BADRING water leakage sensor (EndDevice)
[2025-02-20 11:12:08] info: z2m: Currently 2 devices are joined.
[2025-02-20 11:12:08] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2025-02-20 11:12:10] info: z2m: Connected to MQTT server
[2025-02-20 11:12:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
[2025-02-20 11:12:12] info: z2m: Started frontend on port 8099
[2025-02-20 11:12:12] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Allagamento acquaio', payload '{"battery":100,"identify":null,"linkquality":76,"update":{"installed_version":16777223,"latest_version":16777223,"state":"idle"},"water_leak":false}'
[2025-02-20 11:12:12] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Allagamento lavastoviglie', payload '{"battery":100,"identify":null,"linkquality":52,"update":{"installed_version":16777223,"latest_version":16777223,"state":"idle"},"water_leak":false}'
[2025-02-20 11:12:12] info: z2m: Zigbee2MQTT started!
[2025-02-20 11:12:17] info: z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x7cc6b6fffe817618/connection_state/config', payload '{"device":{"hw_version":"EmberZNet 7.4.4 [GA]","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffe817618"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"2.1.1"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"2.1.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x7cc6b6fffe817618_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
[2025-02-20 11:14:49] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Allagamento acquaio', payload '{"battery":100,"identify":null,"linkquality":92,"update":{"installed_version":16777223,"latest_version":16777223,"state":"idle"},"water_leak":false}'
[11:20:33] INFO: Preparing to start...
[11:20:34] INFO: Socat not enabled
[11:20:34] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-20 11:20:52] info: z2m: Logging to console, file (filename: log.log)
[2025-02-20 11:20:52] info: z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[2025-02-20 11:20:52] info: z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-20 11:20:53] info: zh:ember: Using default stack config.
[2025-02-20 11:20:53] info: zh:ember: ======== Ember Adapter Starting ========
[2025-02-20 11:20:53] info: zh:ember:ezsp: ======== EZSP starting ========
[2025-02-20 11:20:53] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-20 11:20:53] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2025-02-20 11:20:53] info: zh:ember:uart:ash: Serial port opened
[2025-02-20 11:20:53] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-20 11:20:54] info: zh:ember:uart:ash: ======== ASH connected ========
[2025-02-20 11:20:54] info: zh:ember:uart:ash: ======== ASH started ========
[2025-02-20 11:20:54] info: zh:ember:ezsp: ======== EZSP started ========
[2025-02-20 11:20:54] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched.
[2025-02-20 11:20:54] info: zh:ember: Adapter version info: {"ezsp":13,"revision":"7.4.4 [GA]","build":0,"major":7,"minor":4,"patch":4,"special":0,"type":170}
[2025-02-20 11:20:55] info: zh:ember: [STACK STATUS] Network up.
[2025-02-20 11:20:55] info: zh:ember: [INIT TC] Adapter network matches config.
[2025-02-20 11:20:55] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1247ms until next broadcast.
[2025-02-20 11:20:55] info: z2m: zigbee-herdsman started (resumed)
[2025-02-20 11:20:55] info: z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":4,"revision":"7.4.4 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2025-02-20 11:20:55] info: z2m: Allagamento acquaio (0xb0c7defffe610b94): E2202 - IKEA BADRING water leakage sensor (EndDevice)
[2025-02-20 11:20:55] info: z2m: Allagamento lavastoviglie (0xb0c7defffe63e94f): E2202 - IKEA BADRING water leakage sensor (EndDevice)
[2025-02-20 11:20:55] info: z2m: Currently 2 devices are joined.
[2025-02-20 11:20:55] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2025-02-20 11:21:04] info: z2m: Connected to MQTT server
[2025-02-20 11:21:04] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
[2025-02-20 11:21:11] info: z2m: Started frontend on port 8099
[2025-02-20 11:21:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Allagamento acquaio', payload '{"battery":100,"identify":null,"linkquality":76,"update":{"installed_version":16777223,"latest_version":16777223,"state":"idle"},"water_leak":false}'
[2025-02-20 11:21:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Allagamento lavastoviglie', payload '{"battery":100,"identify":null,"linkquality":52,"update":{"installed_version":16777223,"latest_version":16777223,"state":"idle"},"water_leak":false}'
[2025-02-20 11:21:11] info: z2m: Zigbee2MQTT started!
[2025-02-20 11:21:16] info: z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x7cc6b6fffe817618/connection_state/config', payload '{"device":{"hw_version":"EmberZNet 7.4.4 [GA]","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffe817618"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"2.1.1"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"2.1.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x7cc6b6fffe817618_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
My configuration:
Socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
Server:
server: mqtt://core-mosquitto:1883
user: mqtt-user
password: mypassword
Serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_9440f292ab0eef118818b22a433abf1e-if00-port0
adapter: ember
Is anyone know why and what can I do?
Thank you