Recently, have been getting (random?) "z2m: Adapter disconnected, stopping" errors
What happened?
Recently, my zigbee installation in HA has (randomly?) started restarting. Twice with a ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT error, but the most recent one an ASH_ERROR_TIMEOUT.
After the first two instances I've enabled debug logging for the "zh" component, as the most relevant lines in the logs at that moment where for zh.
I've attached the various logfiles, hoping someone (way) more knowledgeable than me might point me in the right direction what is wrong. Also hoping the logs are sufficient. As these occurrences seem quite random, grabbing another instance might take a while...
The three occurrences are:
2025-08-10.16-59-55/log.log:[2025-08-11 20:49:36] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
2025-08-10.16-59-55/log.log:[2025-08-11 20:49:36] error: z2m: Adapter disconnected, stopping
2025-08-11.20-49-37/log.log:[2025-08-12 15:01:34] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
2025-08-11.20-49-37/log.log:[2025-08-12 15:01:34] error: z2m: Adapter disconnected, stopping
2025-08-13.13-29-00/log.log:[2025-08-18 18:31:12] debug: zh:controller: Adapter disconnected
2025-08-13.13-29-00/log.log:[2025-08-18 18:31:13] error: z2m: Adapter disconnected, stopping
- As far as I know, there have been no changes in the network (new devices etc)
- Adapter is attached via an USB cable to the computer running HA
- I think all software is up-to-date?
- The logs show quite a lot of messages for two unreachable LED-strips - these are currently not connected to power, and also not disabled, but this situation has been like that for quite a while, long before these adapter disconnects
What did you expect to happen?
Nothing :-)
How to reproduce it (minimal and precise)
Seems quite random...
Zigbee2MQTT version
2.6.0 (HA add-on page has 2.6.0-1)
Adapter firmware version
7.4.4 [GA]
Adapter
Ember, using usb-Nabu_Casa_SkyConnect_v1.0_f62fb9fcc096ed118adfbe98a7669f5d-if00-port0
Setup
As add-on via HAOS running on Beelink Mini S12 Pro Mini PC (x86-64)
- uname: Linux core-ssh 6.12.23-haos #1 SMP PREEMPT_DYNAMIC Mon Apr 14 16:27:38 UTC 2025 x86_64 Linux
- no issue.net file?
Device database.db entry
No response
Debug log
Same here, it seems in the last days/weeks getting similar errors out of nowhere. SLZB-06m
Hello,
Same here with "hacked" lidl gateway version 7.5 GA
Same here, it seems in the last days/weeks getting similar errors out of nowhere. SLZB-06m
same with same device
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Not stale. I had it again yesterday in main. Tried to move to dev to see if it's still there :(
Same.
Dear @Koenkk ,
Please find docker config below: zigbee2mqtt: container_name: zigbee2mqtt image: koenkk/zigbee2mqtt:latest #-dev user: ${PUID}:${PGID} restart: no # unless-stopped volumes: - ${DOCKERCONFDIR}/stack-automation/zigbee2mqtt/data:/app/data - /run/udev:/run/udev:ro networks: backend: aliases: - zigbee2mqtt ports: # Frontend port - 8084:8084 environment: - TZ=${TZ} #- Z2M_WATCHDOG=default - DISABLE_TUYA_DEFAULT_RESPONSE=TRUE group_add: - dialout logging: driver: json-file options: max-file: ${DOCKERLOGGING_MAXFILE} max-size: ${DOCKERLOGGING_MAXSIZE}
Also attached, logs in debug mode.
and the config file: configuration.yaml
Knowing it was stable lately in dev (not with latest release).
Regards,
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
same
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days