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.
Here’s some info.
Configuration File:
homeassistant: false
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
# Let new devices join our zigbee network
permit_join: true
mqtt:
server: 192.168.1.103:1883
user: harry1
password: Hidden
base_topic: zigbee2mqt
# Zigbee Adapter path
serial:
port: /dev/ttyUSB2
frontend:
port: 8080
zigbee_herdsman_debug: true
Error log:
[13:30:29] INFO: Preparing to start...
[13:30:29] INFO: Socat not enabled
[13:30:30] ERROR: Got unexpected response from the API: Service not enabled
[13:30:30] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-06-07 13:30:33: Logging to console and directory: '/config/zigbee2mqtt/log/2023-06-07.13-30-33' filename: log.txt
Zigbee2MQTT:info 2023-06-07 13:30:33: Starting Zigbee2MQTT version 1.31.1 (commit #unknown)
Zigbee2MQTT:info 2023-06-07 13:30:33: Starting zigbee-herdsman (0.14.117)
Zigbee2MQTT:error 2023-06-07 13:30:33: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-06-07 13:30:33: Failed to start zigbee
Zigbee2MQTT:error 2023-06-07 13:30:33: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-06-07 13:30:33: Exiting...
Zigbee2MQTT:error 2023-06-07 13:30:33: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:75:22)
at /app/node_modules/@serialport/stream/dist/index.js:111:18
Info on USB ports: