I am trying to get the Conbee II to work with Zigbee2MQTT in a Home Assistant VM. When trying to set up the add-on the logs show the device can’t be opened. I’ve passed through the usb device to the point where Home Assistant can see it as ttyACM0:
Setting up Zigbee2MQTT I then update the configuration.yml
with:
serial:
adapter: deconz
and add:
port: /dev/ttyACM0
to the serial value in the configuration.
With all of that done, when starting the add-on the below logs occur:
[12:11:00] INFO: Preparing to start...
[12:11:00] INFO: Socat not enabled
[12:11:01] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-04-17 12:11:04: Logging to console and directory: '/config/zigbee2mqtt/log/2023-04-17.12-11-04' filename: log.txt
Zigbee2MQTT:info 2023-04-17 12:11:04: Starting Zigbee2MQTT version 1.30.3 (commit #unknown)
Zigbee2MQTT:info 2023-04-17 12:11:04: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-17 12:11:04: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-17 12:11:04: Failed to start zigbee
Zigbee2MQTT:error 2023-04-17 12:11:04: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-04-17 12:11:04: Exiting...
Zigbee2MQTT:error 2023-04-17 12:11:04: Error: Error while opening serialport 'Error: Error: I/O error, cannot open /dev/ttyACM0'
at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:200:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:76:22)
at /app/node_modules/@serialport/stream/dist/index.js:112:18
Any thoughts on what could be causing the device from being usable?
I will say I did try the Conbee II with the Deconz add-on but it also was having issues fully seeing the device so I removed it, restarted HA and re-plugged in the Conbee II.