Problem merging ZigBee2MQTT from Pi to UnRAID


Go to solution Solved by Flemming,

Recommended Posts

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

image.thumb.png.9b122b8a1bf98789480a3e2b02f7402f.pngimage.thumb.png.8ebde6af05c50138075644ff22bd878d.png

 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.

Link to comment
  • 5 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.