Zigbee2mqtt problem

Hi all,

Finally I’ve managed to flash my Sonoff Zigbee 3.0 USB Dongle. Unfortunately when setting op Zigbee2mqtt I’m again struggling a lot. In the log file of zigbee2mqtt I’m constantly getting this error:

> [email protected] start
> node index.js
Zigbee2MQTT:info  2022-06-02 19:08:34: Logging to console and directory: '/config/zigbee2mqtt/log/2022-06-02.19-08-34' filename: log.txt
Zigbee2MQTT:info  2022-06-02 19:08:34: Starting Zigbee2MQTT version 1.25.2 (commit #unknown)
Zigbee2MQTT:info  2022-06-02 19:08:34: Starting zigbee-herdsman (0.14.34)
Zigbee2MQTT:error 2022-06-02 19:08:50: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-06-02 19:08:50: Failed to start zigbee
Zigbee2MQTT:error 2022-06-02 19:08:50: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-06-02 19:08:50: Exiting...
Zigbee2MQTT:error 2022-06-02 19:08:50: Error: SRSP - SYS - getExtAddr after 6000ms
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
[19:08:52] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:info  2022-06-02 19:08:58: Logging to console and directory: '/config/zigbee2mqtt/log/2022-06-02.19-08-58' filename: log.txt
Zigbee2MQTT:info  2022-06-02 19:08:58: Starting Zigbee2MQTT version 1.25.2 (commit #unknown)
Zigbee2MQTT:info  2022-06-02 19:08:58: Starting zigbee-herdsman (0.14.34)

I’ve already checked the wiki of zigbeem2qtt. From there I’ve already checked the USB port, which seems fine. Also flashed to device again, which did not help. Restarted everything like 100 times, but still no difference.

Does anybody know how to solve this?

Thanks in advance!

Assuming you are using the addon, can you give us the output of

ls -l /dev/serial/by-id

and also the port: setting in your z2m addon configuration page.

Hi nickrout,

I am having a similar problem if not the same, I have mosquitto broker working but I struggle to set up zigbee2mqtt.
Here is my log, any help is appreciated.

[15:08:36] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:info  2022-06-13 15:08:43: Logging to console and directory: '/config/zigbee2mqtt/log/2022-06-13.15-08-43' filename: log.txt
Zigbee2MQTT:info  2022-06-13 15:08:43: Starting Zigbee2MQTT version 1.25.2 (commit #unknown)
Zigbee2MQTT:info  2022-06-13 15:08:43: Starting zigbee-herdsman (0.14.34)
Zigbee2MQTT:error 2022-06-13 15:09:03: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-06-13 15:09:03: Failed to start zigbee
Zigbee2MQTT:error 2022-06-13 15:09:03: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-06-13 15:09:03: Exiting...
Zigbee2MQTT:error 2022-06-13 15:09:04: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:101:27)
    at start (/app/index.js:109:5)

I also ran the command you asked for and the port I have on my configuration.yaml is 8099

Thank you in advance.

Have you flashed the Sonoff dongle?

The port is not available, what port are you using in you setup?

Hav you ever installed ZHA? It might be blocking the access to the port.

Sorry for the late response.

I finally managed to solve the problem with the device. I had some problems with ZHA as you mentioned. I just uninstalled ZHA and everything worked flawlesly.

Just to answer you and put more context on the thread:
I flashed myself the sonoff dongle but he process was correct.
Regarding the port I have no clue. I did not select any port.