Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
#Bug Report
What happened zigbee2mqtt cannot connect to adpater
zigbee2mqtt:info 2020-02-25 09:27:08: Starting zigbee2mqtt version 1.
10.0-dev (commit #ad59ff5)
zigbee2mqtt:info 2020-02-25 09:27:08: Starting zigbee-herdsman...
zigbee2mqtt:error 2020-02-25 09:27:16: Error while starting zigbee-her
dsman
zigbee2mqtt:error 2020-02-25 09:27:16: Failed to start zigbee
zigbee2mqtt:error 2020-02-25 09:27:16: Exiting...
zigbee2mqtt:error 2020-02-25 09:27:16: Error: Failed to connect to the
adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.<anonymous> (/opt/zigbee2mqtt3/node_modules
/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:72:2
3)
at Generator.throw (<anonymous>)
at rejected (/opt/zigbee2mqtt3/node_modules/zigbee-herdsman/di
st/adapter/z-stack/adapter/zStackAdapter.js:6:65)
What did you expect to happen zigbee2mqtt
How to reproduce it (minimal and precise) homeassistant: false permit_join: true mqtt: base_topic: zigbee2mqtt3 server: 'mqtt://192.168.123.133:1883' serial: port: 'tcp://192.168.123.139:8881'
ping and telnet is ok:


Debug Info zigbee2mqtt version: 1.10.0-dev (commit #ad59ff5) CC2530 firmware version: CC2530_SOURCE_ROUTING_20190619.zip
i confirm this issue after upgrade to 1.11.0:
`● zigbee2mqtt.service - zigbee2mqtt Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-03-02 21:31:58 CET; 52s ago Main PID: 6915 (npm) Tasks: 13 (limit: 2319) Memory: 13.7M CGroup: /system.slice/zigbee2mqtt.service ├─6915 npm └─6926 sh -c node index.js
Mar 02 21:32:02 openhab npm[6915]: zigbee2mqtt:info 2020-03-02 21:32:02: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-03-02.21-32-02' filename: log.txt
Mar 02 21:32:02 openhab npm[6915]: zigbee2mqtt:info 2020-03-02 21:32:02: Starting zigbee2mqtt version 1.11.0 (commit #31e5678)
Mar 02 21:32:02 openhab npm[6915]: zigbee2mqtt:info 2020-03-02 21:32:02: Starting zigbee-herdsman...
Mar 02 21:32:15 openhab npm[6915]: zigbee2mqtt:error 2020-03-02 21:32:15: Error while starting zigbee-herdsman
Mar 02 21:32:15 openhab npm[6915]: zigbee2mqtt:error 2020-03-02 21:32:15: Failed to start zigbee
Mar 02 21:32:15 openhab npm[6915]: zigbee2mqtt:error 2020-03-02 21:32:15: Exiting...
Mar 02 21:32:15 openhab npm[6915]: zigbee2mqtt:error 2020-03-02 21:32:15: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
Mar 02 21:32:15 openhab npm[6915]: at ZStackAdapter.
I experienced same issue and i don't remember how i solved it...
- if it was running "sudo npm rebuild"
- or unplugging and plugging again the usb key with the coordinator
hi, thanks, i've tried this but unfortunately without success yet..
Please check your adapter communication: https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start
it was working and stopped after upgrade to current version.
[21:14:55] openhabian@openhab:~$ ls -l /dev/serial/by-id lrwxrwxrwx 1 root root 13 Mar 2 23:00 usb-Texas_Instruments_TI_CC2531_USB_CDC__ _0X00124B0018E248BF-if00 -> ../../ttyACM0
[21:15:12] openhabian@openhab:~$ test -w /dev/ttyACM0 && echo success || echo failure success
[21:15:37] openhabian@openhab:~$ sudo apt-get purge modemmanager [sudo] password for openhabian: Reading package lists... Done Building dependency tree Reading state information... Done Package 'modemmanager' is not installed, so not removed
i've found error message in dmesg: cdc_acm 1-1.3:1.0: failed to set dtr/rts
@mibas74 so when switching back to zigbee2mqtt 1.10.0 it works again?
I have the same problem.
The adapter (CC2530) communication is success.
Mar 03 21:23:11 Zigbee2MQTT npm[1550]: zigbee2mqtt:info 2020-03-03 21:23:11: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-03-03.21-23-11' filename: log.txt
Mar 03 21:23:11 Zigbee2MQTT npm[1550]: zigbee2mqtt:info 2020-03-03 21:23:11: Starting zigbee2mqtt version 1.10.0-dev (commit #c25c32f)
Mar 03 21:23:11 Zigbee2MQTT npm[1550]: zigbee2mqtt:info 2020-03-03 21:23:11: Starting zigbee-herdsman...
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: zigbee2mqtt:error 2020-03-03 21:23:18: Error while starting zigbee-herdsman
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: zigbee2mqtt:error 2020-03-03 21:23:18: Failed to start zigbee
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: zigbee2mqtt:error 2020-03-03 21:23:18: Exiting...
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: zigbee2mqtt:error 2020-03-03 21:23:18: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: at ZStackAdapter.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:72:23)
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: at Generator.throw (<anonymous>)
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: at rejected (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:6:65)
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! code ELIFECYCLE
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! errno 1
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! [email protected] start: `node index.js`
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! Exit status 1
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR!
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! Failed at the [email protected] start script.
Mar 03 21:23:18 Zigbee2MQTT npm[1550]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
My configuration.yaml
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.178.95'
user: ****
password: ****
serial:
port: /dev/ttyUSB0
baudrate: 115200
@mibas74 so when switching back to zigbee2mqtt 1.10.0 it works again?
could You provide a link how to downgrade to one of previous versions please?
Hi, i've reflashed CC2531 USB dongle with latest coordinator source routing firmware and it seems that it started properly and works OK.
I thought it was me. I had to do a reinstall of my pi and after the new installation I run into the same issues. I'm not sure what version I ran before my crash of my SD card, but I haven't updated it in a while. I haven't flashed my dongle yet with the latest version so if there is anything I can do to test please let me know.
I was having the very same issue with CC2530 and external antena after updating from 1.4 (very old, I know).. Here are the things I've done, I don't know which one solved the problem :
- uninstall modemManager
- unplug and plugging the stick again
- rebooting the pc
- making sure rtscts is set to false
- making sure disable_led entry is deleted
I updated the CC2531 USB stick and it's working again.
I reflashed the stick and tried it again with success. This is odd as I had the same version on the stick already. But at least it's working again.
maybe it's this https://github.com/home-assistant/supervisor/issues/1569
Maybe a silly suggestion. I just received my CC26x2R today and put in the a 3d printed enclosure and had the same error. I just figured out that the reset button was pressed by the enclosure. Snapped the part of that pushes against the reset button and it's running now.
I have the same problem wiht cc2538 on 1.11.0 ver of z2m. i can't reflash my stick. what can I do? thnx
i foung some warning in "hassio_supervisor" container - might be it could help: 20-03-11 21:31:43 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt-edge/config.json: does not match regular expression for dictionary value @ data['schema']['experimental']['transmit_power']. Got 'int(-22,19)?'
Yesterday, my Zigbee network was working fine and suddenly failed completely. I got the same problem (cannot set dtr/rts in dmesg, Error: SRSP - SYS - ping after 6s). Power cycling / restarting z2m had no effect.
Short story: I had to reflash the CC2531 to get it working again. I don't know which version was on the stick (bought it pre-programmed), but I believe I wrote the same version 20190619.
However, I'm 100% sure it happened exactly when I touched an Ikea ICTC-G-1 dimmer.
I had the same error. I'm running docker version of zigbee2mqtt and I was trying to reflash stick but no effect. After connecting stick green led light turns off. zigbee2mqtt version 1.11.0
The green light also turned off when my CC2531 was still failing. I retried at least 5 times (power on/off, press button, reload serial driver, restart z2m).
After I re-flashed using cc-tool it worked immediately again on first attempt.