Hallo liebe Community,
ich muss mich hier als blutiger Anfänger outen, der scheinbar ohne das geballte Schwarmwissen nicht weiter kommt ...
Ich habe bereits zwei Jahre ioBroker unter meinem Raspberry Pi 4 genutzt, unteranderem mit einem Conbee2-Zigbee-Stick und bin damit grundsätzlich sehr glücklich. Da jedoch der Pi sich regelmäßig aufgehangen hat (SD-Karten sind scheinbar nicht für den Dauereinsatz geeignet) und auch weitere Anwendungsfälle folgen sollen (NAS, AdGuard, ...) und ich auch mit der Backupstrategie unter RP nicht glücklich war habe ich das System auf einem Homeserver mit Proxmox (Linux proxmox 6.8.12-2-pve) neu aufgesetzt und umgezogen. Hierzu nutzte ich einen LXC-Container.
Ich stehe jetzt schon seit dem Sommer vor dem Problem, dass ich den Zigbee-Adapter nicht wieder zum laufen bekomme.
Für das Durchreichen an den Container habe ich diese Anleitung "Proxmox - LXC (Linux Containers) -> USB Geräte durchreichen" genutzt, einschließlich des Punktes 5. Troubleshooting.
https://github.com/ioBroker/ioBroker.docs/blob/master/docs/de/install/proxmox.md
Anfänglich blieb der Adapter Gelb, bis ich die dauerhafte Zugriffsberechtigung vergeben habe. Seitdem ist der Adapter (meistens) grün, scheint jedoch keine Geräte zu finden, weder bestehende noch neu gematchte. Ich habe keine Ahnung mehr was ich noch machen oder wo ich suchen kann.
Vor ein paar Tagen war der Adapter auch wieder gelb und hatte folgenden Log-Eintrag gegeben:
Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0
Nach einem Neustart ist jedoch wieder alles grün, allerdings weiterhin ohne Funktion.
Meine letzte Hoffnung seit nun ihr, da ich eigentlich ungern auf den instabilen RP zurückkehren will aber gleichzeitig auf Zigbee angewiesen bin für meine Steuerung.
Hier nun die ersten Informationen. Wenn ihr etwas benötigt, lasst es mich wissen (gerne mit konkreten Befehlen).
Proxmox-Host:
root@proxmox:~# lsusb
Bus 002 Device 003: ID 0bda:0415 Realtek Semiconductor Corp. 2-Port USB 3.0 Hub
Bus 002 Device 004: ID 05dc:a838 Lexar Media, Inc. JumpDrive Tough
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 003: ID 0bda:5415 Realtek Semiconductor Corp. 2-Port USB 2.0 Hub
Bus 001 Device 048: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@proxmox:/etc/pve/lxc# ls -l /dev/bus/usb/001/048
crw-rw-rw- 1 root users 189, 47 Oct 29 09:28 /dev/bus/usb/001/048
root@proxmox:~# ls /dev/serial/by-id/
usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2669636-if00
root@proxmox:~# ls -l /dev/ttyACM*
crw-rw-rw- 1 root dialout 166, 0 Oct 29 09:28 /dev/ttyACM0
root@proxmox:/etc/pve/lxc# ls
101.conf 102.conf 102.conf.backup
root@proxmox:/etc/pve/lxc# nano 102.conf
GNU nano 7.2 102.conf
arch: amd64
cores: 4
features: nesting=1
hostname: iobroker
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.178.1,hwaddr=6A:6B:45:A1:4B:90,ip=192.168.178.102/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-102-disk-0,size=18G
swap: 4096
unprivileged: 1
lxc.cgroup.devices.allow: c 166:* rwm
lxc.mount.entry: /dev/ttyZIGBEE0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /var/lib/lxc/102/devices/ttyACM0 dev/ttyACM0 none bind,optional,create=file
ioBroker auf LXC-Container
root@iobroker:~# lsusb
Bus 002 Device 003: ID 0bda:0415 Realtek Semiconductor Corp. 2-Port USB 3.0 Hub
Bus 002 Device 004: ID 05dc:a838 Lexar Media, Inc. JumpDrive Tough
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 003: ID 0bda:5415 Realtek Semiconductor Corp. 2-Port USB 2.0 Hub
Bus 001 Device 004: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@iobroker:~# ls -l /dev
total 0
crw------- 1 root tty 136, 0 Oct 29 10:12 console
lrwxrwxrwx 1 root root 11 Oct 29 10:12 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Oct 29 10:12 fd -> /proc/self/fd
crw-rw-rw- 1 nobody nogroup 1, 7 Oct 29 10:12 full
lrwxrwxrwx 1 root root 12 Oct 29 10:12 initctl -> /run/initctl
lrwxrwxrwx 1 root root 28 Oct 29 10:12 log -> /run/systemd/journal/dev-log
drwxrwxrwt 2 nobody nogroup 40 Oct 29 10:12 mqueue
crw-rw-rw- 1 nobody nogroup 1, 3 Oct 29 10:12 null
crw-rw-rw- 1 root root 5, 2 Oct 29 10:16 ptmx
drwxr-xr-x 2 root root 0 Oct 29 10:12 pts
crw-rw-rw- 1 nobody nogroup 1, 8 Oct 29 10:12 random
drwxrwxrwt 2 root root 40 Oct 29 10:12 shm
lrwxrwxrwx 1 root root 15 Oct 29 10:12 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Oct 29 10:12 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Oct 29 10:12 stdout -> /proc/self/fd/1
crw-rw-rw- 1 nobody nogroup 5, 0 Oct 29 10:12 tty
crw------- 1 root tty 136, 1 Oct 29 10:16 tty1
crw--w---- 1 root tty 136, 2 Oct 29 10:12 tty2
crw-rw-rw- 1 nobody nogroup 166, 0 Oct 29 10:16 ttyACM0
crw-rw-rw- 1 nobody nogroup 1, 9 Oct 29 10:12 urandom
crw-rw-rw- 1 nobody nogroup 1, 5 Oct 29 10:12 zero



Log-Eintrag Zigbee
zigbee.0
2024-10-29 10:27:32.133 info List of port: [{"path":"/dev/ttyACM0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS10"},{"path":"/dev/ttyS11"},{"path":"/dev/ttyS12"},{"path":"/dev/ttyS13"},{"path":"/dev/ttyS14"},{"path":"/dev/ttyS15"},{"path":"/dev/ttyS16"},{"path":"/dev/ttyS17"},{"path":"/dev/ttyS18"},{"path":"/dev/ttyS19"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS20"},{"path":"/dev/ttyS21"},{"path":"/dev/ttyS22"},{"path":"/dev/ttyS23"},{"path":"/dev/ttyS24"},{"path":"/dev/ttyS25"},{"path":"/dev/ttyS26"},{"path":"/dev/ttyS27"},{"path":"/dev/ttyS28"},{"path":"/dev/ttyS29"},{"path":"/dev/ttyS3"},{"path":"/dev/ttyS30"},{"path":"/dev/ttyS31"},{"path":"/dev/ttyS4"},{"path":"/dev/ttyS5"},{"path":"/dev/ttyS6"},{"path":"/dev/ttyS7"},{"path":"/dev/ttyS8"},{"path":"/dev/ttyS9"},{"path":"/dev/ttyS0"}]
zigbee.0
2024-10-29 10:25:28.679 info List of port: [{"path":"/dev/ttyACM0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS10"},{"path":"/dev/ttyS11"},{"path":"/dev/ttyS12"},{"path":"/dev/ttyS13"},{"path":"/dev/ttyS14"},{"path":"/dev/ttyS15"},{"path":"/dev/ttyS16"},{"path":"/dev/ttyS17"},{"path":"/dev/ttyS18"},{"path":"/dev/ttyS19"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS20"},{"path":"/dev/ttyS21"},{"path":"/dev/ttyS22"},{"path":"/dev/ttyS23"},{"path":"/dev/ttyS24"},{"path":"/dev/ttyS25"},{"path":"/dev/ttyS26"},{"path":"/dev/ttyS27"},{"path":"/dev/ttyS28"},{"path":"/dev/ttyS29"},{"path":"/dev/ttyS3"},{"path":"/dev/ttyS30"},{"path":"/dev/ttyS31"},{"path":"/dev/ttyS4"},{"path":"/dev/ttyS5"},{"path":"/dev/ttyS6"},{"path":"/dev/ttyS7"},{"path":"/dev/ttyS8"},{"path":"/dev/ttyS9"},{"path":"/dev/ttyS0"}]
zigbee.0
2024-10-29 10:21:09.987 info Zigbee: stop joining
zigbee.0
2024-10-29 10:20:08.668 info Zigbee: allowing new devices to join.
zigbee.0
2024-10-29 10:19:52.454 info Zigbee: stop joining
zigbee.0
2024-10-29 10:18:51.152 info Zigbee: allowing new devices to join.
zigbee.0
2024-10-29 10:18:13.904 info List of port: [{"path":"/dev/ttyACM0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS10"},{"path":"/dev/ttyS11"},{"path":"/dev/ttyS12"},{"path":"/dev/ttyS13"},{"path":"/dev/ttyS14"},{"path":"/dev/ttyS15"},{"path":"/dev/ttyS16"},{"path":"/dev/ttyS17"},{"path":"/dev/ttyS18"},{"path":"/dev/ttyS19"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS20"},{"path":"/dev/ttyS21"},{"path":"/dev/ttyS22"},{"path":"/dev/ttyS23"},{"path":"/dev/ttyS24"},{"path":"/dev/ttyS25"},{"path":"/dev/ttyS26"},{"path":"/dev/ttyS27"},{"path":"/dev/ttyS28"},{"path":"/dev/ttyS29"},{"path":"/dev/ttyS3"},{"path":"/dev/ttyS30"},{"path":"/dev/ttyS31"},{"path":"/dev/ttyS4"},{"path":"/dev/ttyS5"},{"path":"/dev/ttyS6"},{"path":"/dev/ttyS7"},{"path":"/dev/ttyS8"},{"path":"/dev/ttyS9"},{"path":"/dev/ttyS0"}]
zigbee.0
2024-10-29 10:13:56.021 warn DeviceAvailability:Failed to ping 0x70b3d52b6005e738 TS011F
zigbee.0
2024-10-29 10:13:56.021 warn DeviceAvailability:Failed to ping 0x70b3d52b6006bbde TS011F
zigbee.0
2024-10-29 10:13:56.021 warn DeviceAvailability:Failed to ping 0xa4c13888329304fb TS0004
zigbee.0
2024-10-29 10:13:56.020 warn DeviceAvailability:Failed to ping 0xa4c138bd4ca25b6d ZB-CL01
zigbee.0
2024-10-29 10:13:55.021 warn DeviceAvailability:Failed to ping 0xa4c1381fa40c0e09 TS0505B
zigbee.0
2024-10-29 10:13:55.021 warn DeviceAvailability:Failed to ping 0xa4c138ebdd7fe74d TS011F
zigbee.0
2024-10-29 10:13:55.020 warn DeviceAvailability:Failed to ping 0xa4c138ffcac6e2a6 TS011F
zigbee.0
2024-10-29 10:13:54.021 warn DeviceAvailability:Failed to ping 0xa4c1383da0ebe84c TS011F
zigbee.0
2024-10-29 10:13:54.021 warn DeviceAvailability:Failed to ping 0xa4c138225d2efc0b TS011F
zigbee.0
2024-10-29 10:13:45.029 warn DeviceAvailability:Failed to ping 0x003c84fffee26227 TS0601
zigbee.0
2024-10-29 10:13:44.022 warn DeviceAvailability:Failed to ping 0xa4c138d98898fa20 TS130F
zigbee.0
2024-10-29 10:13:43.110 warn DeviceConfigure: 0xa4c138878d1794a6 TS004F Failed to configure. When device works is all fine when not wake up the device and check again
zigbee.0
2024-10-29 10:13:32.545 info debug devices set to []
zigbee.0
2024-10-29 10:13:32.289 info Zigbee started
zigbee.0
2024-10-29 10:13:32.288 info 0x70b3d52b6005e738 (addr 19708): TS011F_plug_3 - TuYa Smart plug (with power monitoring by polling) (Router)
zigbee.0
2024-10-29 10:13:32.287 info 0xa4c138a10fd2a8fb (addr 27908): TS0044_1 - TuYa Zigbee 4 button remote - 12 scene (EndDevice)
zigbee.0
2024-10-29 10:13:32.287 info 0xa4c138878d1794a6 (addr 26768): ZG-101ZL - Loginovo Smart button (EndDevice)
zigbee.0
2024-10-29 10:13:32.286 info 0xa4c138f7c47f56f9 (addr 36390): ZTH05 - TuYa Temperature and humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.284 info 0x70b3d52b6006bbde (addr 55831): TS011F_plug_3 - TuYa Smart plug (with power monitoring by polling) (Router)
zigbee.0
2024-10-29 10:13:32.282 info 0xa4c138f6c9bc9a04 (addr 32416): SH-SC07 - TuYa Button scene switch (EndDevice)
zigbee.0
2024-10-29 10:13:32.281 info 0xa4c1385d3a047174 (addr 18507): WSD500A - TuYa Temperature & humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.281 info 0xa4c13888329304fb (addr 3456): TS0004 - TuYa Smart light switch - 4 gang with neutral wire (Router)
zigbee.0
2024-10-29 10:13:32.280 info 0xa4c138bd4ca25b6d (addr 46011): ZB-RGBCW - Lonsonho Zigbee 3.0 LED-bulb, RGBW LED (Router)
zigbee.0
2024-10-29 10:13:32.280 info 0xa4c1381c82b4c20a (addr 4376): ZSS-JM-GWM-C-MS - Moes Smart door and window sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.279 info 0xa4c13878d8706b01 (addr 52423): TS0201 - TuYa Temperature & humidity sensor with display (EndDevice)
zigbee.0
2024-10-29 10:13:32.276 info -> Configuring 0xa4c138878d1794a6 TS004F
zigbee.0
2024-10-29 10:13:32.275 info 0xa4c13868abbceff0 (addr 38112): TH02Z - TuYa Temperature and humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.274 info 0x003c84fffee26227 (addr 50599): BHT-002-GCLZB - Moes Moes BHT series Thermostat (Router)
zigbee.0
2024-10-29 10:13:32.272 info 0xa4c1381fa40c0e09 (addr 58812): TS0505B_2_2 - TuYa Zigbee GU10/E14 5W smart bulb (Router)
zigbee.0
2024-10-29 10:13:32.271 info 0xa4c138dd4c25e0fd (addr 31661): TS0203 - TuYa Door sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.270 info 0xa4c138d98898fa20 (addr 51982): QS-Zigbee-C03 - Lonsonho Curtain/blind motor controller (Router)
zigbee.0
2024-10-29 10:13:32.270 info 0xa4c138aca4a74557 (addr 34324): ZSS-JM-GWM-C-MS - Moes Smart door and window sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.269 info 0xa4c138cb776edefd (addr 62428): ZSS-JM-GWM-C-MS - Moes Smart door and window sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.268 info 0xa4c13854d0544315 (addr 1205): SW02 - Meian Water leak sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.267 info 0xa4c138806079462f (addr 14643): SW02 - Meian Water leak sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.266 info 0xa4c138b7215d0da0 (addr 9078): SW02 - Meian Water leak sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.266 info 0x84ba20fffee08b5d (addr 8023): BHT-002-GCLZB - Moes Moes BHT series Thermostat (Router)
zigbee.0
2024-10-29 10:13:32.259 info 0xa4c138d2699ace84 (addr 23238): TH02Z - TuYa Temperature and humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.258 info 0xa4c1386238af6b41 (addr 5140): TH02Z - TuYa Temperature and humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.257 info 0xa4c138eaf1cca353 (addr 22403): TH02Z - TuYa Temperature and humidity sensor (EndDevice)
zigbee.0
2024-10-29 10:13:32.256 info 0xa4c138ebdd7fe74d (addr 43667): A1Z - Nous Smart plug (with power monitoring) (Router)
zigbee.0
2024-10-29 10:13:32.254 info 0xa4c138ffcac6e2a6 (addr 20529): A1Z - Nous Smart plug (with power monitoring) (Router)
zigbee.0
2024-10-29 10:13:32.253 info 0xa4c1383da0ebe84c (addr 52919): A1Z - Nous Smart plug (with power monitoring) (Router)
zigbee.0
2024-10-29 10:13:32.249 info 0xa4c138225d2efc0b (addr 35366): A1Z - Nous Smart plug (with power monitoring) (Router)
zigbee.0
2024-10-29 10:13:32.147 info Currently 29 devices are joined:
zigbee.0
2024-10-29 10:13:32.143 info Unable to set transmit power, unsupported function.
zigbee.0
2024-10-29 10:13:32.086 info --> transmitPower : high
zigbee.0
2024-10-29 10:13:32.074 info Unable to disable LED, unsupported function.
zigbee.0
2024-10-29 10:13:32.051 info Coordinator firmware version: {"type":"ConBee2/RaspBee2","meta":{"transportrev":0,"product":0,"majorrel":38,"minorrel":114,"maintrel":0,"revision":"0x26720700"}}
zigbee.0
2024-10-29 10:13:31.669 info Installed Version: iobroker.zigbee@1.10.3
zigbee.0
2024-10-29 10:13:31.415 info Starting Zigbee npm ...
zigbee.0
2024-10-29 10:13:31.413 info delete old Backup files. keep only last 10
zigbee.0
2024-10-29 10:13:31.367 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.18.0, js-controller: 6.0.11