operating-system: Zigbee2MQTT Add-on - Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
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:
- Made sure that the correct USB device is selected
- Only have the ZigBee stick plugged in
- Made sure that ZHA is not running and disabled
- Tried to use the /dev/serial/by-id path of the stick
- Re-installed the add-on
- Re-flashed the stick (multiple times) with the above firmware
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
homeassistant: true
advanced:
network_key:
- 187
- 79
- 204
- 129
- 36
- 29
- 218
- 28
- 247
- 110
- 84
- 13
- 243
- 81
- 50
- 83
pan_id: 24677
ext_pan_id:
- 174
- 156
- 24
- 139
- 7
- 219
- 131
- 237
mqtt:
server: mqtt://core-mosquitto:1883
user: addons
password: xxx
serial:
port: /dev/ttyUSB1
frontend:
port: 8099
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
- Plug-in Zigbee stick
- Try to start the add-on
- Look at log files
- Observe error
Anything in the Supervisor logs that might be useful for us?
No
Anything in the Host logs that might be useful for us?
No
System information
System Information
version | core-2023.11.3 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.6 |
os_name | Linux |
os_version | 6.1.59 |
arch | x86_64 |
timezone | Europe/Berlin |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 4999 |
Installed Version | 1.33.0 |
Stage | running |
Available Repositories | 1347 |
Downloaded Repositories | 29 |
Home Assistant Cloud
logged_in | true |
---|---|
subscription_expiration | 27. Dezember 2023 um 01:00 |
relayer_connected | true |
relayer_region | eu-central-1 |
remote_enabled | true |
remote_connected | true |
alexa_enabled | true |
google_enabled | true |
remote_server | eu-central-1-11.ui.nabu.casa |
certificate_status | ready |
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 11.1 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.11.6 |
agent_version | 1.6.0 |
docker_version | 24.0.6 |
disk_total | 234.0 GB |
disk_used | 12.6 GB |
healthy | true |
supported | true |
board | generic-x86-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Studio Code Server (5.14.2), ESPHome (2023.11.4), Node-RED (16.0.2), Terminal & SSH (9.8.1), RaspberryMatic CCU (3.71.12.20231020), InfluxDB (4.8.0), Mosquitto broker (6.4.0), Grafana (9.1.1), Zigbee2MQTT (1.33.2-1) |
Dashboards
dashboards | 2 |
---|---|
resources | 21 |
views | 19 |
mode | storage |
Recorder
oldest_recorder_run | 20. November 2023 um 10:52 |
---|---|
current_recorder_run | 27. November 2023 um 20:11 |
estimated_db_size | 659.36 MiB |
database_engine | sqlite |
database_version | 3.41.2 |
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Reactions: 1
- Comments: 17 (1 by maintainers)
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… https://github.com/jens-maus/RaspberryMatic/discussions/2226
The issue was that the CUxD part of RaspberryMatic somehow blocked the USB port and prevented from Zigbee2MQTT getting access to the port. After putting in the TTYPARAM=NONE and using a backup to restore my old system, it works now everytime!
Thanks again for your help!
Hi Ernest, since I have the same hardware here twice (Dell OptiPlex 3040), I have installed another, fresh Home Assistant instance on the second OptiPlex. There, the stick gets instantly recognized and Zigbee2MQTT starts properly! Then, I have swapped the SSDs of the two OptiPlex PCs and the stick still gets recognized by the fresh install (this was to make sure there wasn’t any BIOS setting messing with HAOS).
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!
@maulwurf01
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.
Setup now looks like this:
Logs
Note that there are two version of the Zigbee Stick:
The Dongle-E is the one with the EZSP protocol. I use the Dongle-P.
Hi,
With ezsp
Without the line:
Have you tried changing the
adapter
line in yourserial
configuration? I’d try setting it toezsp
(as per this comment) or removing the whole line.Hi, here is the herdmans debug log:
Herdsman Log