Why isnt mqtt working? new sonoff zigbee dongle [SOLVED]

so i have a sonoff zigbee 3.0 p dongle i plugged it in in a 3.0 usb (2.0 also dint work)
this is the error i get:

[19:46:05] INFO: Preparing to start...
[19:46:06] INFO: Socat not enabled
[19:46:08] INFO: Starting Zigbee2MQTT...
[2024-06-18 19:46:15] info: 	z2m: Logging to console, file (filename: log.log)
[2024-06-18 19:46:15] info: 	z2m: Starting Zigbee2MQTT version 1.38.0 (commit #unknown)
[2024-06-18 19:46:15] info: 	z2m: Starting zigbee-herdsman (0.49.2)
[2024-06-18 19:46:15] info: 	zh:ember: Using default stack config.
[2024-06-18 19:46:15] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-06-18 19:46:15] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-06-18 19:46:15] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-18 19:46:15] info: 	zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-06-18 19:46:15] info: 	zh:ember:uart:ash: Serial port opened
[2024-06-18 19:46:15] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-18 19:46:18] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-18 19:46:18] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-18 19:46:20] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-18 19:46:20] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-18 19:46:23] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-18 19:46:23] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-18 19:46:25] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-18 19:46:25] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-18 19:46:28] error: 	z2m: Error while starting zigbee-herdsman
[2024-06-18 19:46:28] error: 	z2m: Failed to start zigbee
[2024-06-18 19:46:28] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-18 19:46:28] error: 	z2m: Exiting...
[2024-06-18 19:46:28] error: 	z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:850:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2683:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127: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)

i tried many things this is the confix of z2mqtt

mqtt:
user: mqtt_user
password: mqtt
server: mqtt://core-mosquitto:1883

serial:
port: >-
  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_606e113669afed119785404e71c9e8b5-if00-port0
adapter: ember
baudrate: 230400

keep in mind im an absolute noob with this stuff and i just used default firmwere thanks for any help sombody gives me

Delete baudrate and change adapter to zstack
And use USB 2

1 Like

omg thank you so much i cant belived this works!

now i have the problem that it doesnt add the parasoll ikea sensor i have

Bring the parasoll close to the dongle, enable join, and press the button 4 times

i dint know about the join button but i found it by just pressing the button thanks for the help!

pls mark francisp’s answer as the solution and maybe give him a heart for getting you an answer so fast :slight_smile:

I have the same problem as the user described, I tried with your suggestion to

  • use zstack instead of ember
  • Change the usb from 3.0 entry to 2.0 on raspberry pi
    I don’t have baudrate

But still seeing this error

z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

This is my configuration

mqtt:

server: mqtt://core-mosquito:1883
user: mqtt_user
password: pwd_mqtt

serial:

port: >-
  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f8d971957445ed119781cf8f0a86e0b4-if00-port0
adapter: zstack

Any idea on what might be the issue on my case?

Is ZHA enabled ?

Thanks for your quick reply.

Yes, I have found that by myself, I thought I could have running both ZHA and Z2M with the same coordinator. I had turned off the ZHA and it started working.