Zigbee2mqtt lxc usb passthrough issue

Hi,
my configuration is like the following: Proxmox VM for HA Supervised, mqtt broker in lxc. All is working well. I have spend many hours trying to get zigbee2mqtt working on proxmox lxc with no success. I have tried many different guides, including few from our community.
I am able to get everything installed and starting npm throws me different errors depending on the guide i use: problem with baudrate, ttyACM not detected.
My hardware is CC2531 with koenk’s Z-stack router firmware on.
I can run zigbee2mqtt as HA addon, but that’s not a solution. I think that the problem is in passing usb through to lxc and recognizing it as serial adapter. i can see CC2531 on lsusb list but none of ttyACM is available in dev list. Maybe there is a component responsible for recognizing it correctly missing?
Please help with that

Did you succeed in installing z2m on a Proxmox LXC? I ran into the same issues.

Have you seen the Zigbee2MQTT LXC allow device passthrough script at
Proxmox Helper Scripts | Proxmox Scripts For Home Automation

Please use tteck’s lxc template. Works like a charm

1 Like