Error: z2m: Error while starting zigbee-herdsman with sonoff dongle

Hi All,

I leave the default configuration as it seams to have detected the Sonoff dongle by itself. However this error remains ununderstandable for me :
z2m: Error while starting zigbee-herdsman

Log :

Starting Zigbee2MQTT without watchdog.
[2025-01-29 10:18:01] info: 	z2m: Logging to console, file (filename: log.log)
[2025-01-29 10:18:01] info: 	z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-29 10:18:01] info: 	z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-29 10:18:02] info: 	zh:adapter:discovery: Matched adapter: {"path":"/dev/ttyUSB0","manufacturer":"Itead","serialNumber":"a05648649512ef11bdc575b8bf9df066","pnpId":"usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_a05648649512ef11bdc575b8bf9df066-if00-port0","vendorId":"10c4","productId":"ea60"} => zstack: path=/dev/ttyUSB0, score=4
[2025-01-29 10:18:02] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-29 10:18:02] info: 	zh:zstack:znp: Serialport opened
[2025-01-29 10:18:02] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-01-29 10:18:03] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-01-29 10:18:22] error: 	z2m: Error while starting zigbee-herdsman
[2025-01-29 10:18:22] error: 	z2m: Failed to start zigbee-herdsman
[2025-01-29 10:18:22] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-29 10:18:22] error: 	z2m: Exiting...
[2025-01-29 10:18:22] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
    at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    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)

Config default one:
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

mqtt: empty
serial: empty

I’ve started using HA with ZHA and sonoff dongle is registrer on ZHA, I can figure out how to remove it from ZHA.

Please note that old messages about this topic provides solutions that are no longer supporter by Zigbee2MQTT last versions.

My dongle version : SONOFF ZigBee 3.0 USB Dongle Plus, EFR32MG21 Coordinator, Universelle USB ZigBee Hub, Passerelle ZigBee pour Home Assistant

Any help, guidance or tips are welcomed

Même problème pour moi merci pour votre aide

[2025-01-29 20:43:51] error: z2m: Failed to start zigbee-herdsman
[2025-01-29 20:43:51] error: z2m: Check Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for possible solutions
[2025-01-29 20:43:51] error: z2m: Exiting…
[2025-01-29 20:43:51] error: z2m: Error: USB adapter discovery error (No valid USB adapter found). Specify valid ‘adapter’ and ‘port’ in your configuration.

J’ai utilisé ZigStar Silicon Labs FW Flasher
Pour flasher mon dongle en version 7.4.4 et maintenant tout est OK

You are using Silicon Lab MG21 SoC based SONOFF ZBDongle-E, not TI CC2652 SoC based SONOFF ZBDongle-P.

To use with Zigbee2MQTT, you should choose ember stack, not zstack. Please refer to EmberZNet adapters (Silicon Labs) | Zigbee2MQTT for details.

By the way, you can use SONOFF Dongle Quick Flasher to flash latest official firmware on SONOFF ZBDongle-E or ZBDongle-P