Closed bezrukovp closed 1 year ago
I seem to be experiencing this after a fresh install of Home Assistant and recovery of my old setup. However, I cannot work around it by installing the proxy.
ETA: I have the slae.sh CC2652R stick. The system recognizes that the USB dongle is attached. It worked perfectly fine on a docker setup before I switched to plain HAOSS. I tried ZHA as well. ZHA gives me a disconnect fail, too.
Just got the SkyConnect device. Get same error message when I try to start zigbee2mqtt:
Zigbee2MQTT:error 2022-12-11 11:52:17: Error while starting zigbee-herdsman Zigbee2MQTT:error 2022-12-11 11:52:17: Failed to start zigbee Zigbee2MQTT:error 2022-12-11 11:52:17: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2022-12-11 11:52:17: Exiting... Zigbee2MQTT:error 2022-12-11 11:52: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:58:27) at Controller.start (/app/lib/controller.ts:101:27) at start (/app/index.js:107:5)
Just got the SkyConnect device. Get same error message when I try to start zigbee2mqtt:
Zigbee2MQTT:error 2022-12-11 11:52:17: Error while starting zigbee-herdsman Zigbee2MQTT:error 2022-12-11 11:52:17: Failed to start zigbee Zigbee2MQTT:error 2022-12-11 11:52:17: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2022-12-11 11:52:17: Exiting... Zigbee2MQTT:error 2022-12-11 11:52: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:58:27) at Controller.start (/app/lib/controller.ts:101:27) at start (/app/index.js:107:5)
SkyConnect worked with ZHA, but after removing ZHA and trying to use the SkyConnect with Zigbee2MQTT I get the same error.
Havind the same problem ,clean install on a raspberry pi with HA. zigbee stick that worked before. whole hardware setup belongs to a friend...weird...
I have the same problem. I am using a Sonoff Zigbee Stick. I disabled and deleted ZHA. I have tried through the terminal addon if the Serial connection works (test -w /dev/ttyUSB0 && echo success || echo failure) and it does. I don't really know what else i can try
Same here with the ZBDongle-E. I installed z2m edge add-on, but it won't work.
Nor can I add ezsp adapter to the config file...
If you get the (Error: SRSP - SYS - ping after 6000ms)
error it means the zstack adapter code is used. For ezsp (=ZBDongle-E, SkyConnect) you can force the adapter type by adding the following to your configuration.yaml
serial:
port: /dev/THEPORT # <- change this accordingly
adapter: ezsp
Hi, my father also got this error (Error: SRSP - SYS - ping after 6000ms). Several months it was working very well with SONOFF Dongle 3.0 and zigbee2mqtt Edge. Today, suddenly no entities avaliable in HA. Checked logs and got this error. Tried rebooting, rebooting HA. Reinstalling z2mEdge. Tried also with normal version of Z2m... Nothing works :/ Nothing really changed with integrations or any other settings... it suddenly stopped working. Also, no ZHA integration is installed ( some ppl say that this might be causing it ).
Runing dongle with AH on Raspberry Pi 3b+.
please help?
If you get the
(Error: SRSP - SYS - ping after 6000ms)
error it means the zstack adapter code is used. For ezsp (=ZBDongle-E, SkyConnect) you can force the adapter type by adding the following to yourconfiguration.yaml
serial: port: /dev/THEPORT # <- change this accordingly adapter: ezsp
That did the trick :)
it got rid of the SRSP SYS ping error. Now I only have the 502: Bad Gateway left....
Is the Configuration section of the add-on meant to coexist with a configuration.yaml, or override it?
I've been searching the web for days now trying different suggested solutions.
it got rid of the SRSP SYS ping error. Now I only have the 502: Bad Gateway left....
Is the Configuration section of the add-on meant to coexist with a configuration.yaml, or override it? I've been searching the web for days now trying different suggested solutions.
I can confirm that. The logs unfortionatly dind't give more insight into the error 502
[00:56:49] INFO: Preparing to start...
[00:56:49] INFO: Socat not enabled
[00:56:50] INFO: Zigbee Herdsman debug logging enabled
[00:56:51] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2022-12-20 00:56:56: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2022-12-20 00:56:56: Logging to console and directory: '/config/zigbee2mqtt/log/2022-12-20.00-56-56' filename: log.txt
Zigbee2MQTT:debug 2022-12-20 00:56:56: Removing old log directory '/config/zigbee2mqtt/log/2022-12-14.20-08-33'
Zigbee2MQTT:info 2022-12-20 00:56:56: Starting Zigbee2MQTT version 1.28.4 (commit #unknown)
Zigbee2MQTT:info 2022-12-20 00:56:56: Starting zigbee-herdsman (0.14.76)
Zigbee2MQTT:debug 2022-12-20 00:56:56: 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":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"ezsp","path":"/dev/ttyUSB0"}}'
2022-12-19T23:56:56.802Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2022-12-19T23:56:56.806Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[secret],"panID":6754,"extendedPanID":[secret],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB0","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}}'
2022-12-19T23:56:56.810Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with /dev/ttyUSB0 and {"baudRate":115200,"rtscts":false,"autoOpen":false}
2022-12-19T23:56:56.830Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2022-12-19T23:56:56.830Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2022-12-19T23:56:56.831Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2022-12-19T23:56:56.833Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
I am using a Sonoff ZB Stick and the following config in HA:
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/ttyUSB0
adapter: ezsp
zigbee_herdsman_debug: true
The zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
Error shouldn't be the problem https://github.com/Koenkk/zigbee-herdsman/issues/389
If you get the
(Error: SRSP - SYS - ping after 6000ms)
error it means the zstack adapter code is used. For ezsp (=ZBDongle-E, SkyConnect) you can force the adapter type by adding the following to yourconfiguration.yaml
serial: port: /dev/THEPORT # <- change this accordingly adapter: ezsp
9 Hours.
I have been trying to fix this for 9 Straight Hours and this is what fixed it for me.
For reference, I am running HAS OS on an Xpenology DS920+ HackiNAS with zigbee2mqtt via the HAS Add-On. The Zigbee dongle I'm using is the "_Aubess ZigBee 3.0", and spent at least 4 of those hours which I'll never get back were attempting to get the CH-341 drivers from archive.org (which from my research do......something, maybe) running. "The listing has the Zigbee2MQTT logo on it" I thought, "This will definitely not be worse than getting waterboarded" they said.
This is my first foray in to zigbee2mqtt after reading so many threads about it's superiority to ZHA - which, for the record, worked automatically with my Zigbee USB. My rhythmic face smashing into SSH was in hopes of getting passthrough to a Docker instance of Z2M working after running in to OP's issue in the Add-On, which also didn't fix this. It's nearly 6:30am and I haven't slept. I refuse to be defeated by a £9 Aliexpress dongle, though I should have given up. I don't have a firstborn, but I would go out and make a whole pile of dumpster babies to sacrifice if it could make me un-experience the disgust I feel right now. Now matter how hard I scrub that Linux command line dirt just won't come off.
To be clear to anyone else as inexperienced / sleep deprived as I am, @Koenkk means that this should go in the 'configuration.yaml' located in the '/zigbee2mqtt' subfolder, not your main Home Assistant config.
I think I'm going to just go ahead and rip out my brand new Cat 6A runs and replace all my smart bulbs with Candles. Thank you @Koenkk for freeing me from these 7 (layers of dip, and 7) layers of hell, but good god I think I'd rather go through getting off of painkillers than troubleshoot Zigbee. Computers were a mistake.
Adding adapter: ezsp
to the config (under serial:
) fixed it for me.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
when i add "adapter: ezsp" then save it will print error as follow
Failed to save add-on configuration, does not match regular expression ^zstack|deconz|zigate$. Got {'data_path': '/config/zigbee2mqtt', 'external_converters': [], 'devices': 'devices.yaml', 'groups': 'groups.yaml', 'homeassistant': True, 'permit_join': False, 'mqtt': {'base_topic': 'zigbee2mqtt'}, 'serial': {'port': '/dev/ttyUSB1', 'adapter': 'ezsp'}, 'advanced': {'log_level': 'warn', 'pan_id': 6754, 'channel': 11, 'network_key': [1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13], 'availability_blocklist': [], 'availability_passlist': []}, 'device_options': {}, 'blocklist': [], 'passli...
Failed to save add-on configuration, does not match regular expression ^zstack|deconz|zigate$. Got {'data_path': '/config/zigbee2mqtt', 'external_converters': [], 'devices': 'devices.yaml', 'groups': 'groups.yaml', 'homeassistant': True, 'permit_join': False, 'mqtt': {'base_topic': 'zigbee2mqtt'}, 'serial': {'port': '/dev/ttyUSB1', 'adapter': 'ezsp'}, 'advanced': {'log_level': 'warn', 'pan_id': 6754, 'channel': 11, 'network_key': [1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13], 'availability_blocklist': [], 'availability_passlist': []}, 'device_options': {}, 'blocklist': [], 'passli...
I have the same problem. I can't add, that z2m should use ezsp.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
serial: port: /dev/THEPORT # <- change this accordingly adapter: ezsp
I had a different issue where my Sonoff ZigBee 3.0 V2 (E model) dongle wasn't available, but I could see it in HA. The above fixed it.
Why isn't this automatic?
Adding
adapter: ezsp
to the config (underserial:
) fixed it for me.
really??!! hours and hours and just move the adapter under serial!!! come on!! thnks!! love you jaja
My god. I just found this and it's the answer to my SLZB-06 mqtt startup issues. Why is this not in the zigbee2mqtt quick start guide?
This solved my problem using Skyconnect on a Proxmox installation after setting the USB interface in Proxmox hardware USBdevice itself:
Use USB Port SkyConnect v1.0 (1-4)
In HA Zigbee2MQTT config:
mqtt base_topic: zigbee2mqtt
serial port: /dev/ttyUSB0 adapter: ezsp
for me, this worked:
serial:
port: /dev/ttyUSB0
adapter: deconz
baudrate: 115200
for a conbee 3
Description of the issue
Installing zigbee2mqtt as home helper addon gives error Error: SRSP - SYS - ping after 6000ms It looks like the reason is that /run/udev is not mounted in the container.
It works if you separately install koenkk/zigbee2mqtt + addon zigbee2mqtt proxy.
I want to understand how the default addon zigbee2mqtt works for others. Perhaps it needs to be installed in some other way.
Addon version
1.28.4-1
Platform
Core: 2022.11.5 Supervisor: 2022.11.2 Operating system: Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
Logs of the issue (if applicable)
No response