Unable to start zigbee2mqtt - Sonoff Zigbee 3.0 USB Dongle

Show your Zigbee2MQTT logs

Looks like i didnt wait quit long enough, its working now that I removed the -port0 from the end of the port path.

Is there any specific coordinator firmware to run with this dongle that works better, or should I just stick with what it came with?

The ember stack, but you need 7.4.x firmware

https://github.com/Koenkk/zigbee2mqtt/discussions/21462

1 Like

Thanks for the help!

I assume I need to use the custom install file for this? Do I use the one under zbdonglee folder (ncp-uart-hw-v7.4.1.0-zbdonglee-115200.gbl) ?

I was able to flash the version above, and things seem to be ok.

I also tried using the edge version with the adapter set to ember, but things would not start in that enviroment. Should they?

[12:39:14] INFO: Preparing to start...
[12:39:14] INFO: Socat not enabled
[12:39:15] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-03-31 12:39:17: Logging to console and directory: '/config/zigbee2mqtt/log/2024-03-31.12-39-17' filename: log.txt
Zigbee2MQTT:info  2024-03-31 12:39:17: Starting Zigbee2MQTT version 1.36.0-dev (commit #1e74b2f)
Zigbee2MQTT:info  2024-03-31 12:39:17: Starting zigbee-herdsman (0.40.3)
======== Ember Adapter Starting ========
======== EZSP starting ========
======== ASH NCP reset ========
======== ASH starting ========
======== ASH connected ========
======== ASH started ========
======== EZSP started ========
[STACK STATUS] Network up.
Zigbee2MQTT:error 2024-03-31 12:39:18: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-31 12:39:18: Failed to start zigbee
Zigbee2MQTT:error 2024-03-31 12:39:18: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-03-31 12:39:18: Exiting...
Zigbee2MQTT:error 2024-03-31 12:39:18: Error: [BACKUP] Current backup file is from an unsupported EZSP version (min: 12).
    at EmberAdapter.getStoredBackup (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1343:23)
    at EmberAdapter.initTrustCenter (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1134:33)
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:820:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2661:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

all good now, I just forgot to enter the rtscts: false

1 Like

I figured out that my Sonoff ZBDongle E came with the Router Firmware.
It must be flashed with the Coordinator Firmware (or maybe the ember one mentioned above, didn’t try that)
https://sonoff.tech/wp-content/uploads/2023/02/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing.pdf
You must physically open up the Dongle. Then press the boot button on the pcb, plug it in and then release the button. Now you can flash the firmware.

My z2m settings are:

data_path: /config/zigbee2mqtt
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: {}
serial:
  port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231215085617-if00
  adapter: ezsp

In case anyone gets this error after flashing firmware try this: first put adapter: ezsp under serial in the Z2MQTT configuration. Then reload all the devices by turning them off and on 1 by 1. Then i changed the adapter to adapter: ember and now i don’t get errors anymore.