Sonoff 3.0 Z2M Undefined Error


I’m trying to setup the zigbee2mqtt configuration using sonof 3.0 dongle plus. Every time when i start Z2M i get response about undefined error “Error while starting zigbee-herdsman”.

[09:14:50] INFO: Preparing to start...
[09:14:53] INFO: Socat not enabled
[09:15:01] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-04-05 09:15:36: Logging to console and directory: '/config/zigbee2mqtt/log/2023-04-05.09-15-36' filename: log.txt
Zigbee2MQTT:info  2023-04-05 09:15:37: Starting Zigbee2MQTT version 1.30.3 (commit #unknown)
Zigbee2MQTT:info  2023-04-05 09:15:37: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-05 09:15:53: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-05 09:15:53: Failed to start zigbee
Zigbee2MQTT:error 2023-04-05 09:15:53: Check for possible solutions
Zigbee2MQTT:error 2023-04-05 09:15:53: Exiting...
Zigbee2MQTT:error 2023-04-05 09:15:53: undefined

So below you can find my configuration


Of course i have configured Mosquitto Broker. Additional information, I had configured also Conbee II and everythings worked very well, but i wanna switch to sonoff because i got information that this work better with more added devices.

Do you know what the problem could be? The only thing that makes me wonder is that i’m using Raspberry 3 which have just USB 2.0 but sonoff has USB 3.0 but i’m nut sure that this is the case.

There are two different “Sonoff Zigbee 3.0 USB Dongle Plus” models; the model “ZBDongle-P”) based on Texas Instruments CC2652P and the model “ZBDongle-E” based on Silicon Labs EFR32MG21.

If you bought “ZBDongle-E” then should specify in Z2M configuration that you have a “ezsp” adapter:

Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz, ezsp)

Also, preferably use “serial/by-id” device path instead as “/dev/ttyACM0” can change on reboot.

While most devices need at the very least the serial device path, like “/dev/ttyUSB0”, it is still recommended to use device path from “/dev/serial/by-id” folder, e.g., “/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003D3-if01-port0” (FYI, a list of available device paths can be found in {% my hardware title=“Settings > System > Hardware” %} > dot menu > **All Hardware).

Example ("adapter: ezsp:" and “serial/by-id”, note example ID may not be exactly same for you):

  port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
  adapter: ezsp

PS: Better to post Zigbee2MQTT issues to →

Delete the user and the password, it’s not there for me either, you can leave the rest.