Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem merging ZigBee2MQTT from Pi to UnRAID

Featured Replies

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.

Solved by Flemming

  • 5 weeks later...
  • Author
  • Solution

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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.