-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zigbee2MQTT Add-on - Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) #2952
Comments
Could you please post the Host logs obtained shortly after plugging in the USB stick? And are you really sure the correct device is used? I see you've got |
Try port: /dev/ttyUSB0 and delete adapter line. |
Firstly, thank you for your reply. |
LOG generates the same error messages? |
Use an USB extension cable (short one) and try multiple USB ports on your device. |
Hello, I have also tried this, unfortunately without success |
Could you try enabling herdsman debug and posting the logs here? |
Hi, here is the herdmans debug log: Herdsman Log
[12:59:14] INFO: Preparing to start...
[12:59:14] INFO: Socat not enabled
[12:59:14] INFO: Zigbee Herdsman debug logging enabled
[12:59:15] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-12-08 12:59:16: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-12-08 12:59:16: Logging to console and directory: '/config/zigbee2mqtt/log/2023-12-08.12-59-16' filename: log.txt
Zigbee2MQTT:debug 2023-12-08 12:59:16: Removing old log directory '/config/zigbee2mqtt/log/2023-12-06.12-26-28'
Zigbee2MQTT:info 2023-12-08 12:59:16: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info 2023-12-08 12:59:16: Starting zigbee-herdsman (0.25.0)
Zigbee2MQTT:debug 2023-12-08 12:59:16: 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":[174,156,24,139,7,219,131,237],"networkKey":"HIDDEN","panID":24677},"serialPort":{"path":"/dev/ttyUSB1"}}'
2023-12-08T11:59:16.916Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-12-08T11:59:16.917Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[187,79,204,129,36,29,218,28,247,110,84,13,243,81,50,83],"panID":24677,"extendedPanID":[174,156,24,139,7,219,131,237],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB1"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-12-08T11:59:16.917Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyUSB1","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-12-08T11:59:16.921Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2023-12-08T11:59:16.922Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-08T11:59:16.923Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-08T11:59:17.175Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2023-12-08T11:59:17.176Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2023-12-08T11:59:18.177Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-08T11:59:18.178Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-08T11:59:18.430Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2023-12-08T11:59:18.887Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-08T11:59:18.888Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-08T11:59:24.890Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-08T11:59:24.890Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-08T11:59:30.896Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-08T11:59:30.897Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2023-12-08 12:59:36: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-12-08 12:59:36: Failed to start zigbee
Zigbee2MQTT:error 2023-12-08 12:59:36: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-12-08 12:59:36: Exiting...
Zigbee2MQTT:error 2023-12-08 12:59:36: 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:60:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5) |
Have you tried changing the |
Hi, With ezsp
[10:55:31] INFO: Preparing to start...
[10:55:31] INFO: Socat not enabled
[10:55:31] INFO: Zigbee Herdsman debug logging enabled
[10:55:32] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-12-09 10:55:33: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-12-09 10:55:33: Logging to console and directory: '/config/zigbee2mqtt/log/2023-12-09.10-55-33' filename: log.txt
Zigbee2MQTT:debug 2023-12-09 10:55:33: Removing old log directory '/config/zigbee2mqtt/log/2023-12-06.13-00-39'
Zigbee2MQTT:info 2023-12-09 10:55:33: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info 2023-12-09 10:55:33: Starting zigbee-herdsman (0.25.0)
Zigbee2MQTT:debug 2023-12-09 10:55:33: 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":[174,156,24,139,7,219,131,237],"networkKey":"HIDDEN","panID":24677},"serialPort":{"adapter":"ezsp","path":"/dev/ttyUSB1"}}'
2023-12-09T09:55:33.999Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-12-09T09:55:34.000Z zigbee-herdsman:adapter:ezsp:debg Adapter concurrent: 8
2023-12-09T09:55:34.000Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[187,79,204,129,36,29,218,28,247,110,84,13,243,81,50,83],"panID":24677,"extendedPanID":[174,156,24,139,7,219,131,237],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB1","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}}'
2023-12-09T09:55:34.001Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/ttyUSB1","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-12-09T09:55:34.005Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2023-12-09T09:55:34.005Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2023-12-09T09:55:34.005Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2023-12-09T09:55:34.006Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
2023-12-09T09:55:34.006Z zigbee-herdsman:adapter:ezsp:uart -?- waiting reset
2023-12-09T09:55:44.010Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":-1} after 10000ms
2023-12-09T09:55:44.011Z zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 0
2023-12-09T09:55:44.012Z zigbee-herdsman:adapter:ezsp:driv Stop driver
2023-12-09T09:55:44.012Z zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp
2023-12-09T09:55:44.013Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2023-12-09T09:55:44.013Z zigbee-herdsman:adapter:ezsp:driv Close driver
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Without the line:
[10:53:55] INFO: Preparing to start...
[10:53:55] INFO: Socat not enabled
[10:53:55] INFO: Zigbee Herdsman debug logging enabled
[10:53:55] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-12-09 10:53:57: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-12-09 10:53:57: Logging to console and directory: '/config/zigbee2mqtt/log/2023-12-09.10-53-57' filename: log.txt
Zigbee2MQTT:debug 2023-12-09 10:53:57: Removing old log directory '/config/zigbee2mqtt/log/2023-12-06.12-30-08'
Zigbee2MQTT:info 2023-12-09 10:53:57: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info 2023-12-09 10:53:57: Starting zigbee-herdsman (0.25.0)
Zigbee2MQTT:debug 2023-12-09 10:53: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":[174,156,24,139,7,219,131,237],"networkKey":"HIDDEN","panID":24677},"serialPort":{"path":"/dev/ttyUSB1"}}'
2023-12-09T09:53:57.344Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-12-09T09:53:57.344Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[187,79,204,129,36,29,218,28,247,110,84,13,243,81,50,83],"panID":24677,"extendedPanID":[174,156,24,139,7,219,131,237],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB1"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-12-09T09:53:57.345Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyUSB1","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-12-09T09:53:57.348Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2023-12-09T09:53:57.349Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-09T09:53:57.350Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-09T09:53:57.604Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2023-12-09T09:53:57.605Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2023-12-09T09:53:58.607Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-09T09:53:58.607Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-09T09:53:58.859Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2023-12-09T09:53:59.315Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-09T09:53:59.316Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-09T09:54:05.319Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-09T09:54:05.319Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2023-12-09T09:54:11.327Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-12-09T09:54:11.328Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2023-12-09 10:54:17: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-12-09 10:54:17: Failed to start zigbee
Zigbee2MQTT:error 2023-12-09 10:54:17: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-12-09 10:54:17: Exiting...
Zigbee2MQTT:error 2023-12-09 10:54:17: 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:60:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5) |
@maulwurf01 Thanks. I can see that the error is different with the ezsp adapter (but unfortunately, there doesn't seem to be any response?) I see that you're using /dev/ttyUSB1, but from your screenshot, that doesn't look like the right device. Can you show the debug logs again please while using the ezsp adapter and |
You're right, you were using the right adapter -- sorry. I'm afraid I'm at a loss here. Since your device is working fine on another hardware, I'm thinking this could be something on hardware level or OS level... One last thing I could suggest is updating your OS to version 11.2, but I've had to revert from that update (my zigbee coordinator stopped working properly -- but that was a different device and a different error from yours). I'm sorry I can't offer any better ideas right now. |
Hi Ernest, I have now decided to completely re-do my HA setup to make it work. One guess what the issue could be is that I initially ran my HA as a virtual machine on my QNAP (OVA template) and then moved to the OptiPlex. It could be that the backup I had pulled (twice actually) somehow isn't compatible for a move from a OVA virtual machine to a generic-x86 device...but that's just a guess. Thank you for your help and merry christmas! |
Whilst setting up the new HA, the issue reappeared. But only after installing the Add-on "RaspberryMatic"! I got curious and researched these two add-ons in combination and managed to find the fix I've been looking for for 3 weeks... The issue was that the CUxD part of RaspberryMatic somehow blocked the USB port and prevented from Zigbee2MQTT getting access to the port. Thanks again for your help! |
Hello together,
I am experiencing a weird issue with my Zigbee2MQTT Add-on. I am running this add-on within Home Assistant and have set it up to the guidelines specified in the documentation.
I am using the SONOFF Zigbee 3.0 USB Dongle Plus-P with the lasted Z-stack coordinator firmware (CC1352P2_CC2652P_launchpad_coordinator_20230507).
Whenever I try to start the add-on the following error appears (and thus the add-on does not start):
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:60:27) at Controller.start (/app/lib/controller.ts:101:27) at start (/app/index.js:107:5)
I have already tried the following:
I have also installed a zigbee2mqtt docker container on my QNAP (different from the host running HAOS). There, the stick is recognized and I can run zigbee2mqtt without problem.
My config for the add-on looks like the following:
Add-on config
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
11.1
Did you upgrade the Operating System.
No
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Additional information
No response
The text was updated successfully, but these errors were encountered: