Flemming Posted March 15, 2023 Share Posted March 15, 2023 Hi. I have used Zigbee2MQTT on a Pi for the last 1-2 years using this method: https://flemmingss.com/how-to-set-up-zigbee2mqtt-on-a-raspberry-pi-and-integrate-it-with-home-assistant/ But I want to migrate ZigBee2mqtt to UnRAID så I don't have to have a Pi just for this. I have: Stopped the zigbee2mqtt service on Pi. Copyd the content of the data folder from the Pi /opt/zigbee2mqtt/ using winSCP on to UnRAID \\10.0.24.10\appdata\zigbee2mqtt Used the "New Permissions" on the appdata folder used the cli to change the config of configuration.yaml and configuration.yaml.save using nano root@UnRAID:/mnt/user0/appdata/zigbee2mqtt# nano configuration.yaml root@UnRAID:/mnt/user0/appdata/zigbee2mqtt# nano configuration.yaml.save root@UnRAID:/mnt/user0/appdata/zigbee2mqtt# nano configuration.yaml root@UnRAID:/mnt/user0/appdata/zigbee2mqtt# nano configuration.yaml.save inserted ConBee II in the UnRAID server and tried both ZigBee2MQTT dockers available in the appstore (koenkk/zigbee2mqtt and koenkk/zigbee2mqtt). No mather what I do, if I map by path or id, I get this: Zigbee2MQTT:info 2023-03-11 11:39:17: Logging to console and directory: '/config/log/2023-03-11.11-39-17' filename: log.txt Zigbee2MQTT:info 2023-03-11 11:39:17: Starting Zigbee2MQTT version 1.30.2 (commit #unknown) Zigbee2MQTT:info 2023-03-11 11:39:17: Starting zigbee-herdsman (0.14.96) Zigbee2MQTT:error 2023-03-11 11:39:38: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-03-11 11:39:38: Failed to start zigbee Zigbee2MQTT:error 2023-03-11 11:39:38: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-03-11 11:39:38: Exiting... have Tried both available dockers for zigbee2mqtt in the appstore. They fail in the same way. The device is /dev/ttyACM1 or /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2445271-if00 root@UnRAID:~# ls -l /dev/ttyACM* crw-rw---- 1 root dialout 166, 0 Feb 20 20:04 /dev/ttyACM0 crw-rw---- 1 root dialout 166, 1 Mar 11 10:37 /dev/ttyACM1 root@UnRAID:~# ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 Feb 20 20:04 usb-0658_0200_12345678-9012-3456-7890-123456789012-if00 -> ../../ttyACM0 lrwxrwxrwx 1 root root 13 Mar 11 11:27 usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2445271-if00 -> ../../ttyACM1 I have tested access: root@UnRAID:~# test -w /dev/ttyACM1 && echo success || echo failure success have tried all kinds of mapping, isk why it is not working, because i have Zwave JS UI up an running 0 problem using /dev/ttyACM0:/dev/zwave For Zigbee2MQTT I have tried all kind of configurations /dev/ttyACM1 /dev/ttyACM1:/dev/ttyACM1 /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2445271-if00 /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2445271-if00:/dev/ttyACM1 /dev/ttyACM1/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2445271-if00 I have also tried both variant on port. serial: port: /dev/ttyACM1 Can anyone explain why this is failing? I have my stick back in the Pi now and the network is up and running. Quote Link to comment
Solution Flemming Posted April 13, 2023 Author Solution Share Posted April 13, 2023 I solved this today by adding "adapter: deconz" to the configuration.yaml, this is required for ConBee and ConBee II (and RaspBee and RaspBee II, but they are likely not used in a UnRAID setup) serial: adapter: deconz port: /dev/ttyACM1 https://www.zigbee2mqtt.io/guide/adapters/#recommended Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.