Zigbee2MQTT not starting with "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"

That was for me! THANKS!

Woaw !! Big hug to you !! it was that !!!

Thank you! That worked for me too!

You are a great and nice person. I solved the problem too!

you are an effing god <3

Thank you my friend, that fixed also my problem.

i replicated your config, typing over my device id.
Finaly worked! thanks!

Thank you, thank you, thank you,… very, very much

Thank You
i was fighting with this 2 days

Still struggling to get this working.

Here is my config…

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-Nabu_Casa_SkyConnect_v1.0_aa2561b9fde1ed119eeaeb5162c613ac-if00-port0
  adapter: ezsp
zigbee_herdsman_debug: true

Got my Sky Connect’s ID from the All Hardware part of the settings menu…

image

But when I start Zigbee2MQTT it all goes Pete Tong.
Here is my log.

[21:12:39] INFO: Preparing to start...
[21:12:41] INFO: Socat not enabled
[21:12:41] INFO: Zigbee Herdsman debug logging enabled
[21:12:47] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-02-26 21:12:57: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-02-26 21:12:57: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-26.21-12-57' filename: log.txt
Zigbee2MQTT:debug 2024-02-26 21:12:57: Removing old log directory '/config/zigbee2mqtt/log/2024-02-26.20-51-09'
Zigbee2MQTT:info  2024-02-26 21:12:57: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-26 21:12:57: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:debug 2024-02-26 21:12:57: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[13,76,231,110,155,208,162,218],"networkKey":"HIDDEN","panID":49632},"serialPort":{"adapter":"ezsp","path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_aa2561b9fde1ed119eeaeb5162c613ac-if00-port0"}}'
2024-02-26T21:12:57.980Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2024-02-26T21:12:57.984Z zigbee-herdsman:adapter:ezsp:debg Adapter concurrent: 8
2024-02-26T21:12:57.987Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[149,120,112,233,130,107,24,244,9,114,180,116,104,231,50,3],"panID":49632,"extendedPanID":[13,76,231,110,155,208,162,218],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_aa2561b9fde1ed119eeaeb5162c613ac-if00-port0","adapter":"ezsp"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2024-02-26T21:12:57.993Z zigbee-herdsman:adapter:ezsp:uart RTS/CTS config is off, enabling software flow control.
2024-02-26T21:12:57.994Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_aa2561b9fde1ed119eeaeb5162c613ac-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
2024-02-26T21:12:58.051Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2024-02-26T21:12:58.053Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2024-02-26T21:12:58.055Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2024-02-26T21:12:58.059Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
2024-02-26T21:12:58.062Z zigbee-herdsman:adapter:ezsp:uart -?- waiting reset
2024-02-26T21:12:59.146Z zigbee-herdsman:adapter:ezsp:uart <-- [c1020b0a527ea0547d3a7e]
2024-02-26T21:12:59.148Z zigbee-herdsman:adapter:ezsp:uart --> parsed c1020b0a527e
2024-02-26T21:12:59.150Z zigbee-herdsman:adapter:ezsp:uart <-- RSTACK c1020b0a527e
2024-02-26T21:12:59.152Z zigbee-herdsman:adapter:ezsp:uart RSTACK Version: 2 Reason: RESET_SOFTWARE frame: c1020b0a527e
2024-02-26T21:12:59.156Z zigbee-herdsman:adapter:ezsp:uart --> parsed a0541a7e
2024-02-26T21:12:59.157Z zigbee-herdsman:adapter:ezsp:uart <-- NAK (0): a0541a7e
2024-02-26T21:12:59.158Z zigbee-herdsman:adapter:ezsp:uart NAK Unexpected packet sequence 0
2024-02-26T21:12:59.159Z zigbee-herdsman:adapter:ezsp:uart -+- waiting reset success
2024-02-26T21:12:59.161Z zigbee-herdsman:adapter:ezsp:ezsp ==> version: {"desiredProtocolVersion":4}
2024-02-26T21:12:59.163Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"version","_id_":0,"_isRequest_":true,"desiredProtocolVersion":4}
2024-02-26T21:12:59.166Z zigbee-herdsman:adapter:ezsp:uart --> DATA (0,0,0): 00000004
2024-02-26T21:12:59.168Z zigbee-herdsman:adapter:ezsp:uart --> [004221a850ed2c7e]
2024-02-26T21:12:59.169Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (1)
2024-02-26T21:12:59.175Z zigbee-herdsman:adapter:ezsp:uart <-- [0142a1a85d2805c332237e]
2024-02-26T21:12:59.176Z zigbee-herdsman:adapter:ezsp:uart --> parsed 0142a1a85d2805c332237e
2024-02-26T21:12:59.177Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (0,1,0): 0142a1a85d2805c332237e
2024-02-26T21:12:59.177Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (1)
2024-02-26T21:12:59.178Z zigbee-herdsman:adapter:ezsp:uart --> [8160597e]
2024-02-26T21:12:59.180Z zigbee-herdsman:adapter:ezsp:uart <-- ACK (1): 0142a1a85d2805c332237e
2024-02-26T21:12:59.181Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 00800009021071
2024-02-26T21:12:59.185Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x0: {"_cls_":"version","_id_":0,"_isRequest_":false,"protocolVersion":9,"stackType":2,"stackVersion":28944}
2024-02-26T21:12:59.186Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (1) success
2024-02-26T21:12:59.187Z zigbee-herdsman:adapter:ezsp:ezsp Switching to eszp version 9
2024-02-26T21:12:59.188Z zigbee-herdsman:adapter:ezsp:ezsp ==> version: {"desiredProtocolVersion":9}
2024-02-26T21:12:59.188Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"version","_id_":0,"_isRequest_":true,"desiredProtocolVersion":9}
2024-02-26T21:12:59.191Z zigbee-herdsman:adapter:ezsp:uart --> DATA (1,1,0): 010001000009
2024-02-26T21:12:59.191Z zigbee-herdsman:adapter:ezsp:uart --> [7d314321a9542a1cd95e7e]
2024-02-26T21:12:59.192Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (2)
2024-02-26T21:13:01.195Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":2} after 2000ms
2024-02-26T21:13:01.195Z zigbee-herdsman:adapter:ezsp:uart -!- break waiting (2)
2024-02-26T21:13:01.196Z zigbee-herdsman:adapter:ezsp:uart Can't send DATA frame (1,1,0): 010001000009
2024-02-26T21:13:01.698Z zigbee-herdsman:adapter:ezsp:uart ->> DATA (1,1,1): 010001000009
2024-02-26T21:13:01.699Z zigbee-herdsman:adapter:ezsp:uart --> [194321a9542a1c4af37e]
2024-02-26T21:13:01.701Z zigbee-herdsman:adapter:ezsp:uart -?- rewaiting (2)
2024-02-26T21:13:03.702Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":2} after 2000ms
2024-02-26T21:13:03.703Z zigbee-herdsman:adapter:ezsp:uart -!- break rewaiting (2)
2024-02-26T21:13:03.703Z zigbee-herdsman:adapter:ezsp:uart Can't resend DATA frame (1,1,1): 010001000009
2024-02-26T21:13:03.703Z zigbee-herdsman:adapter:ezsp:ezsp onSerialReset()
2024-02-26T21:13:03.704Z zigbee-herdsman:adapter:ezsp:driv onEzspReset()
2024-02-26T21:13:03.705Z zigbee-herdsman:adapter:ezsp:driv Reset connection.
2024-02-26T21:13:03.705Z zigbee-herdsman:adapter:ezsp:driv Stopping driver
2024-02-26T21:13:03.706Z zigbee-herdsman:adapter:ezsp:ezsp Closing Ezsp
2024-02-26T21:13:03.707Z zigbee-herdsman:adapter:ezsp:uart Closing UART
Zigbee2MQTT:error 2024-02-26 21:13:03: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-26 21:13:03: Failed to start zigbee
Zigbee2MQTT:error 2024-02-26 21:13:03: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-26 21:13:03: Exiting...
Zigbee2MQTT:error 2024-02-26 21:13:03: Error: Failure send version:{"type":"Buffer","data":[1,0,1,0,0,9]}
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:646: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:456:13)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:167:9)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)
2024-02-26T21:13:03.960Z zigbee-herdsman:adapter:ezsp:uart Port closed. Error? null
2024-02-26T21:13:03.960Z zigbee-herdsman:adapter:ezsp:ezsp onSerialClose()
2024-02-26T21:13:03.961Z zigbee-herdsman:adapter:ezsp:driv onEzspClose()
2024-02-26T21:13:03.962Z zigbee-herdsman:adapter:ezsp:debg onDriverClose()

Any suggestions?
Thanks in advance fro your help!
Cheers,
Dan

Try this in your serial settings instead:

port: /dev/ttyUSB0

ZHA is disabled / not installed ?

Currently in Thailand and long way from home and this happens. Murphys law!

Rebooted, restored and restarted my NUC running PVE.

Any suggestions? Help is really needed!

02:09:05] INFO: Preparing to start...
[02:09:05] INFO: Socat not enabled
[02:09:06] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:error 2024-03-25 02:09:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-25 02:09:27: Failed to start zigbee
Zigbee2MQTT:error 2024-03-25 02:09:27: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-03-25 02:09:27: Exiting...
Zigbee2MQTT:error 2024-03-25 02:09:27: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    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)

Hello,
I have the same issue, i tried everything above and still not working.
Do you have any suggestions?
1st i tried my dongle with ZHA and it’s ok.
Then i disable ZHA and follow a tutorial to install Z2M.
mosquito seems ok
my config : raspberry 4 running HA OS with SONOFF Zigbee 3.0 USB Dongle Plus - TI CC2652P

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.178.82:1883
user: ha-mqtt
password: xxxxx
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xxxxxxx-if00-port0
#adapter: zstack

I have 2 differents error with or without the line adapter: zstack
with :

[11:52:39] INFO: Preparing to start…
[11:52:40] INFO: Socat not enabled
[11:52:41] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-04-19 11:52:47: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-04-19.11-52-47’ filename: log.txt
Zigbee2MQTT:info 2024-04-19 11:52:47: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info 2024-04-19 11:52:47: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:error 2024-04-19 11:53:07: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-04-19 11:53:07: Failed to start zigbee
Zigbee2MQTT:error 2024-04-19 11:53:07: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-04-19 11:53:07: Exiting…
Zigbee2MQTT:error 2024-04-19 11:53:08: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
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)

without :

[12:12:06] INFO: Preparing to start…
[12:12:07] INFO: Socat not enabled
[12:12:08] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2024-04-19 12:12:14: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-04-19.12-12-14’ filename: log.txt
Zigbee2MQTT:info 2024-04-19 12:12:14: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info 2024-04-19 12:12:14: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:error 2024-04-19 12:12:24: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-04-19 12:12:24: Failed to start zigbee
Zigbee2MQTT:error 2024-04-19 12:12:24: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-04-19 12:12:24: Exiting…
Zigbee2MQTT:error 2024-04-19 12:12:24: undefined

I have check the usb port with sucess :

test -w /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_xxxxxx-port0 && echo success || echo failure

Thanks in advance for your help!
Cyp

Did you try a HA restart with ZHA disabled?

Hello,
Yes i tried
Also tried usb 2 and usb 3 with and without extension cable
thx

Problem solved for me !
The config was ok in the add-on but when i checked the file /homeassistant/zigbee2mqtt/configuration.yaml I noticed that I had an old configuration for another zigbee module.
Once the module configuration has been reported directly in the Z2M file, it has started.

1 Like

Bonjour,

J’ai besoin de votre aide car j’ai un problème sur l’installation de Zigbee2Mqtt sur mon Raspberry PI 5.
J’ai suivi tous les autos mais je n’arrive pas a paramétrer Zigbee2Mqtt.
J’utilise une clé Zigbee 3.0 Adaptateur USB SLZB-07 SMLIGHT.

Mosquito Broker (6.4.1) :

Login : 
 - username : Matt_adm
   password : admin

Zigbee2MQTT (1.41.0-1) :

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

base_topic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
user: Mqtt_adm
password: admin

Serial : 
port: >-
       /dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB07_520899857de7ed118282d6770b2af5ab-if00-port0

J’ai essayé avec une rallonge USB mais ça ne marche toujours pas.
Une idée svp ?

Please edit your post to English please. This forum is in English only so everyone is on the same footing.