Added a Sonoff Zigbee 3.0 USB dongle to my USB 2.0 hub. Using HAOS. The new dongle joins an existing Sonoff Zigbee 3.0 dongle and a Z-Wave dongle. Lots of Zigbee devices successfully attached to 1st Sonoff dongle. Want to experiment with Z2M but having trouble getting the addon to start without errors.
[13:54:48] INFO: Preparing to start...
[13:54:48] INFO: Socat not enabled
[13:54:49] ERROR: Got unexpected response from the API: Service not enabled
[13:54:49] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-06-07 13:54:52: Logging to console and directory: '/config/zigbee2mqtt/log/2023-06-07.13-54-52' filename: log.txt
Zigbee2MQTT:info 2023-06-07 13:54:52: Starting Zigbee2MQTT version 1.31.1 (commit #unknown)
Zigbee2MQTT:info 2023-06-07 13:54:52: Starting zigbee-herdsman (0.14.117)
Zigbee2MQTT:error 2023-06-07 13:55:12: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-06-07 13:55:12: Failed to start zigbee
Zigbee2MQTT:error 2023-06-07 13:55:12: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-06-07 13:55:12: Exiting...
Zigbee2MQTT:error 2023-06-07 13:55:12: 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)
The error message has changed, it may have elimiated the port confusion, but still a lot of errors.
@harryfine
Have you tried enabling the zigbee2mqtt debug on?
Enabling zigbee-herdsman debug logging
If you want to troubleshoot in more depth problems with your zigbee devices, sometimes you must enable DEBUG option on Zigbee2MQTT startup. To do this you must set zigbee_herdsman_debug to true.
zigbee_herdsman_debug: true
It is on I think. It’s in the configuration file in the last line. Take a look.
But I also have an underlying problem that sounds hardware based, because once I try to run the add-on a few times, give up due to errors, shut down, remove second Sonoff controller dongle and re-boot, my Zigbee home automation doesn’t work, I have to refresh it. I read that there was no issue using two of the same, but the second one seems to be trying to connect to my Zigbee devices.
So I think figuring out why that happens is likely a prerequisite for dealing with the errors. Unless they are related.
From what I’ve seen, I believe you are correct. Serial/by-id is a new concept for me. I did some searching in the shell, looking for /dev/serial/by-id* dmesg | grep USB* and ha hw info | grep USB, and I found that there were two identical serial by id. Being new to the concept, I didn’t understand that, I thought perhaps one wasn’t showing up, I didn’t understand how they could be the same. People kept saying don’t use /tty/USBx or /dev/tty/ACM0, so I went with the advice.
Also not sure if I needed the adapter: deconz, or if my Sonoff needed something different.
So if they have the same ID, is there a solution, or will buying someone else’s adapter be necessary?
The reason i asked is because i used to run my HA on HyperV along with a CC2531 zigbee usb.
The issue there was, HyperV doesn’t support USB, so i looked for a different solution, i used the usb port of the hosting machine, and a ser2net to set up the connection with zigbee2mqtt…
serial:
port: tcp://10.0.0.250:5656
That worked fine, until my cc2531 broke down, and i replaced it with a ConbeeII, and since it requires decons it didn’t work over tcp anymore😕
Two zigbee controllers because I thought a second one was needed to get z2m up and running. I read that you couldn’t run both z2a and z2m off the same stick, but you could use 2 sticks, and they could be the same brand. What should I have purchased?
It’s running on an Intel NUC, running HAOS, with an external powered USB 2.0 hub for the sticks.
Except for the first line, I didn’t understand a word of the following:
The reason i asked is because i used to run my HA on HyperV along with a CC2531 zigbee usb.
The issue there was, HyperV doesn’t support USB, so i looked for a different solution, i used the usb port of the hosting machine, and a [ser2net](https://community.home-assistant.io/t/hassos-in-hyper-v-is-it-possible-to-install-usb-rediector-or-something-similar-for-usb-support/212136/2) to set up the connection with zigbee2mqtt…
serial:
port: tcp://10.0.0.250:5656
That worked fine, until my cc2531 broke down, and i replaced it with a ConbeeII, and since it requires decons it didn’t work over tcp anymore😕
So i moved to VMware, which does support usb