Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant continuous restart zigbee2mqtt with SONOFF Zigbee Dongle Plus #735

Open
LVisco94 opened this issue Feb 27, 2025 · 0 comments

Comments

@LVisco94
Copy link

Description of the issue

Hi all, I am experiencing problems with the sonoff dongle in that the zigbee2mqtt add-on systematically reboots every few hours for no real reason. I have already updated the firmware of the dongle and the add-on.
In the configuration I have already set the serial part correctly with the following parameters:
port: /dev/ttyACM0
adapter: ember
rtscts: false

Addon version

2.1.1-1

Platform

Core: 2025.2.5
Supervisor: 2025.02.1
Operating System: 14.2
Frontend: 20250221.0

Logs of the issue (if applicable)

Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[22:37:48] INFO: Starting socat process ...
2025/02/25 22:37:48 socat[46] N PTY is /dev/pts/0
2025/02/25 22:37:48 socat[46] N listening on AF=2 0.0.0.0:8485
[22:37:48] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-25 22:37:50] error: z2m: Error while starting zigbee-herdsman
[2025-02-25 22:37:50] error: z2m: Failed to start zigbee-herdsman
[2025-02-25 22:37:50] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-02-25 22:37:50] error: z2m: Exiting...
[2025-02-25 22:37:50] error: z2m: Error: USB adapter discovery error (No valid USB adapter found). Specify valid 'adapter' and 'port' in your configuration.
at discoverAdapter (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/adapterDiscovery.ts:523:15)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Function.create (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/adapter.ts:68:33)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:132:24)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
[2025-02-25 22:37:50] error: z2m: If this happens after updating to Zigbee2MQTT 2.0.0, see Koenkk/zigbee2mqtt#24364
[22:39:03] INFO: Preparing to start...
[22:39:04] INFO: Socat enabled
[22:39:04] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[22:39:04] INFO: Starting socat process ...
2025/02/25 22:39:04 socat[46] N PTY is /dev/pts/0
2025/02/25 22:39:04 socat[46] N listening on AF=2 0.0.0.0:8485
[22:39:04] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-25 22:39:05] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 22:39:05] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 22:39:05] error: zh:ember:uart:ash: Received ERROR from adapter while connecting, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[23:24:37] INFO: Preparing to start...
[23:24:37] INFO: Socat enabled
[23:24:37] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[23:24:37] INFO: Starting socat process ...
2025/02/25 23:24:37 socat[46] N PTY is /dev/pts/0
2025/02/25 23:24:37 socat[46] N listening on AF=2 0.0.0.0:8485
[23:24:37] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-25 23:24:39] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 23:24:39] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 23:24:39] error: zh:ember:uart:ash: Received ERROR from adapter while connecting, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[23:35:59] INFO: Preparing to start...
[23:35:59] INFO: Socat enabled
[23:35:59] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[23:35:59] INFO: Starting socat process ...
2025/02/25 23:35:59 socat[46] N PTY is /dev/pts/0
2025/02/25 23:35:59 socat[46] N listening on AF=2 0.0.0.0:8485
[23:35:59] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-25 23:36:01] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 23:36:01] error: zh:ember:uart:ash: Received frame with CRC error
[2025-02-25 23:36:01] error: zh:ember:uart:ash: Received ERROR from adapter while connecting, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2025-02-26 02:49:13] error: zh:ember: Delivery of BROADCAST failed for '65533'.
[2025-02-26 11:36:10] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2025-02-26 11:36:10] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2025-02-26 11:36:10] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2025-02-26 11:36:10] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2025-02-26 11:36:22] error: z2m: Adapter disconnected, stopping
[11:37:27] INFO: Preparing to start...
[11:37:27] INFO: Socat enabled
[11:37:27] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[11:37:27] INFO: Starting socat process ...
2025/02/26 11:37:27 socat[46] N PTY is /dev/pts/0
2025/02/26 11:37:27 socat[46] N listening on AF=2 0.0.0.0:8485
[11:37:27] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-26 16:58:46] error: zh:ember: Delivery of BROADCAST failed for '65533'.
[2025-02-26 17:27:40] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2025-02-26 17:27:40] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2025-02-26 17:27:40] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2025-02-26 17:27:40] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2025-02-26 17:27:40] error: z2m: Adapter disconnected, stopping
[2025-02-26 17:27:52] error: z2m: Not connected to MQTT server!
[2025-02-26 17:27:52] error: z2m: Cannot send message: topic: 'zigbee2mqtt/Lavatrice', payload: '{"child_lock":"UNLOCK","countdown":0,"current":0,"energy":75.04,"indicator_mode":"off/on","last_seen":"2025-02-26T16:27:40.784Z","linkquality":152,"power":0,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":237}
[17:28:17] INFO: Preparing to start...
[17:28:17] INFO: Socat enabled
[17:28:17] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[17:28:17] INFO: Starting socat process ...
2025/02/26 17:28:17 socat[46] N PTY is /dev/pts/0
2025/02/26 17:28:17 socat[46] N listening on AF=2 0.0.0.0:8485
[17:28:17] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-26 17:28:19] error: zh:ember:uart:ash: Received ERROR from adapter while connecting, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2025-02-26 19:28:38] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=144 Len=7].
[2025-02-26 19:28:38] error: zh:ember: Adapter fatal error: ASH_ERROR_TIMEOUTS
[2025-02-26 19:28:38] error: zh:ember:ezsp: ERROR Transaction failure; status=NOT_CONNECTED. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=144 Len=7].
Error: ASH_ERROR_TIMEOUTS
at Ezsp.ezspReadAndClearCounters (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/ezsp/ezsp.ts:2266:19)
at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:649:33
at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20)
at EmberAdapter.watchdogCounters (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:647:9)
[19:28:44] INFO: Preparing to start...
[19:28:44] INFO: Socat enabled
[19:28:44] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[19:28:44] INFO: Starting socat process ...
2025/02/26 19:28:44 socat[46] N PTY is /dev/pts/0
2025/02/26 19:28:44 socat[46] N listening on AF=2 0.0.0.0:8485
[19:28:44] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-26 22:28:53] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
[2025-02-26 22:28:53] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
[2025-02-26 22:28:53] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
[2025-02-26 22:28:53] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR
[2025-02-26 22:28:53] error: z2m: Adapter disconnected, stopping
[22:29:04] INFO: Preparing to start...
[22:29:04] INFO: Socat enabled
[22:29:04] INFO: Starting socat
Socat startup parameters:
Options: -d -d
Master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[22:29:04] INFO: Starting socat process ...
2025/02/26 22:29:04 socat[46] N PTY is /dev/pts/0
2025/02/26 22:29:04 socat[46] N listening on AF=2 0.0.0.0:8485
[22:29:04] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant