Error while starting zigbee-herdsman Failed to start zigbee

I’m still getting it not starting its mention about Starting zigbee-herdsman (0.35.1)

which I have no clues what it is or what I need to do to install it or add it into this setup?

I have added

zigbee_herdsman_debug: true

in the code?

But still unable to start MQTT!

Is there anything else I’m missing to do?

Do I need to setup Silicon Labs Multiprotocol when using the Yellow as I have noto tried this way?

I believe the config in the file takes precedence, someone can correct me if I am wrong.

You seem very confused.

Is that home assistants configuration.yaml, or Zigbee2MQTT’s configurion.yaml, or still another configuration.yaml ?

Does not matter what connection, the port has to point to your dongle. But you are always posting screenshots instead of text, i’m not going to type over the long /dev/serial/by-id…

This worked instantly! Deleting ZHA

Это работает, необходимо отключить ZHA

1 Like

I have Dyslexia why I post images more to try to get a better understanding!

Do I need to install and setup using
Silicon Labs Multiprotocol when using the Yellow?

If so can you help me on how I do this process as I do need to get MQTT working to use my medical items they way we need too!

I looked at a German video today and trying to translate it to see if this maybe whY i cannot get it to connnect properly or setup easily.

If I know anyone local to me Id be glad of there hands on experences to get this working!

HI all
So I have the same issue however I managed to make it work but every single time when I restart the home assistant takes several reinstalls Mosquitto broker the Mqtt integration and the zigbee2MQTT to make it work again.
this is the log after the resarting the HA


this is my 2MQTT config

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:
sever: mqttq://core-mosquitto 1883
serial:
port: /dev/ttyACM0
adapter: deconz
user: MQTT-user
passworld: subscribe
zigbee_herdsman_debug: true

I’m new in the HA world I would appreciate any advice

adapter: ezsp - this was it. Half a day gone to finding that. Thanks :pray: :people_hugging:

I am having a very similar problem. I have tried between deconz and ezsp as far as adapter and neither has resulted in it working. I have the stock MQTT for HA. Here is my log:

[09:32:10] INFO: Preparing to start…
[09:32:11] INFO: Socat not enabled
[09:32:13] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-03-15 09:32:19: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-03-15.09-32-19’ filename: log.txt
Zigbee2MQTT:info 2024-03-15 09:32:19: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info 2024-03-15 09:32:19: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:error 2024-03-15 09:32:29: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-15 09:32:29: Failed to start zigbee
Zigbee2MQTT:error 2024-03-15 09:32:29: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-03-15 09:32:29: Exiting…
Zigbee2MQTT:error 2024-03-15 09:32:29: undefined

Here is my config:

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/ttyACM0
adapter: deconz

Again, I tried ezsp on the adapter and neither worked.

Thank you in advance.

What adapter do you have ?

Silicon Labs EZSP (which I tried) running firmware 6.10.3.0 Build 297. It is on ttyACMO:

ttyACM0
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730-if00
Subsystem:
tty
Device path:
/dev/ttyACM0
ID:
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730-if00
Attributes:
DEVLINKS: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730-if00
/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
DEVNAME: /dev/ttyACM0
DEVPATH: >-
/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/tty/ttyACM0
ID_BUS: usb
ID_MODEL: SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
ID_MODEL_ENC: SONOFF\x20Zigbee\x203.0\x20USB\x20Dongle\x20Plus\x20V2
ID_MODEL_ID: 55d4
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_1_1_0
ID_REVISION: ‘0442’
ID_SERIAL: ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730
ID_SERIAL_SHORT: ‘20220719084730’
ID_TYPE: generic
ID_USB_DRIVER: cdc_acm
ID_USB_INTERFACES: ‘:020201:0a0000:’
ID_USB_INTERFACE_NUM: ‘00’
ID_USB_MODEL: SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
ID_USB_MODEL_ENC: SONOFF\x20Zigbee\x203.0\x20USB\x20Dongle\x20Plus\x20V2
ID_USB_MODEL_ID: 55d4
ID_USB_REVISION: ‘0442’
ID_USB_SERIAL: ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730
ID_USB_SERIAL_SHORT: ‘20220719084730’
ID_USB_TYPE: generic
ID_USB_VENDOR: ITEAD
ID_USB_VENDOR_ENC: ITEAD
ID_USB_VENDOR_ID: 1a86
ID_VENDOR: ITEAD
ID_VENDOR_ENC: ITEAD
ID_VENDOR_ID: 1a86
MAJOR: ‘166’
MINOR: ‘0’
SUBSYSTEM: tty
TAGS: ‘:systemd:’
USEC_INITIALIZED: ‘3769147’

Then you need

adapter: ezsp

You are sure ZHA is not installed ? Because Zigbee2MQTT will not start if it is.

I totally missed that. Removed ZHA and rebooted. The line is there:

adapter: ezsp

I do appreciate the help but it still will not start up:

[10:58:17] INFO: Preparing to start…
[10:58:18] INFO: Socat not enabled
[10:58:20] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-03-15 10:58:26: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-03-15.10-58-26’ filename: log.txt
Zigbee2MQTT:info 2024-03-15 10:58:26: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info 2024-03-15 10:58:26: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:error 2024-03-15 10:59:38: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-15 10:59:38: Failed to start zigbee
Zigbee2MQTT:error 2024-03-15 10:59:38: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-03-15 10:59:38: Exiting…
Zigbee2MQTT:error 2024-03-15 10:59:38: Error: Connection not initialized
at Ezsp.execCommand (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:648:19)
at Ezsp.setValue (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:566:32)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:177:25)
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)

Try with

port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220719084730-if00
adapter: ezsp

Still no good:

[11:14:00] INFO: Preparing to start…
[11:14:00] INFO: Socat not enabled
[11:14:03] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-03-15 11:14:09: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-03-15.11-14-09’ filename: log.txt
Zigbee2MQTT:info 2024-03-15 11:14:09: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info 2024-03-15 11:14:09: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:error 2024-03-15 11:14:37: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-15 11:14:37: Failed to start zigbee
Zigbee2MQTT:error 2024-03-15 11:14:37: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-03-15 11:14:37: Exiting…
Zigbee2MQTT:error 2024-03-15 11:14:37: Error: Failure send version:{“type”:“Buffer”,“data”:[0,0,0,4]}
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:664:23
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at Ezsp.version (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:469:24)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:172:9)
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)

maybe try this one:

I use for the ConBee III stick the following:

port: /dev/ttyUSB0
adapter: deconz
baudrate: 115200

for EZSP try:

port: /dev/ttyUSB0
adapter: ezsp
baudrate: 115200

the note says also: “however note that some EZSP firmware need 57600”

Nope…no dice with the baudrate entry.

Flash the latest firmware on your adapter:

You have to plug the dongle in the computer you browse on, and use Chrome or Edge.

Tried many things, but cant get it to work. Advise and suggestion are much appreciated. Not sure what I’m doing wrong.
Situation:

Sonf SBDongle Zigbee 3.0. Flashed with latest firmware from

Hardware: Raspberry PI 4
HomeAssistant: removed ZHA
Mosquito has been running as add-on. works fine for other devices
Installed Zigbee2MQTT

Config Yaml:

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:
  server: mqtt://192.168.0.246:1883
  base_topic: zigbee2mqtt
  user: user-name
  password: password
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f8219a3b62beed11bceda04838a92db5-if00-port0
  adapter: ezsp
zigbee_herdsman_debug: true
>

Configuration.yaml in zigbee2mqtt folder:

homeassistant: true
advanced:
  network_key:
    - 83
    - 181
    - 163
    - 44
    - 249
    - 109
    - 170
    - 53
    - 161
    - 28
    - 122
    - 61
    - 162
    - 212
    - 11
    - 42
  pan_id: 27118
  ext_pan_id:
    - 110
    - 105
    - 167
    - 37
    - 58
    - 211
    - 188
    - 35
mqtt:
  server: mqtt://192.168.0.246:1883
serial:
  port:  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f8219a3b62beed11bceda04838a92db5-if00-port0
  adapter: ezsp
frontend:
  port: 8099

data_path: /config/zigbee2mqtt

Logfile:

2024-03-16T12:36:50.938Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":-1} after 10000ms
2024-03-16T12:36:51.092Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 1 error: Error: Failure to connect
    at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:350:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348:22
    at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
    at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:356:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:163:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
2024-03-16T12:36:51.095Z zigbee-herdsman:adapter:ezsp:uart Port closed. Error? null
2024-03-16T12:36:51.096Z zigbee-herdsman:adapter:ezsp:ezsp onSerialClose()
2024-03-16T12:36:51.097Z zigbee-herdsman:adapter:ezsp:driv onEzspClose()
2024-03-16T12:36:51.097Z zigbee-herdsman:adapter:ezsp:debg onDriverClose()
2024-03-16T12:36:56.098Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 2
2024-03-16T12:36:56.099Z zigbee-herdsman:adapter:ezsp:uart RTS/CTS config is off, enabling software flow control.
2024-03-16T12:36:56.099Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f8219a3b62beed11bceda04838a92db5-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
2024-03-16T12:36:56.111Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2024-03-16T12:36:56.112Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2024-03-16T12:36:56.112Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2024-03-16T12:36:56.113Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
2024-03-16T12:36:56.114Z zigbee-herdsman:adapter:ezsp:uart -?- waiting reset
2024-03-16T12:37:06.122Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":-1} after 10000ms
2024-03-16T12:37:06.128Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 2 error: Error: Failure to connect
    at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:350:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348:22
    at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
    at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:356:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:163:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)