-
Hi, I'm trying to run zwave-js-ui inside an debian LXC container with docker on pimox on an raspberry pi. I know, complicated setup... When running zjs-ui in docker baremetal, I'm able to passthrough my Z-Pi7 gpio controller. So it works in general. However, when I run debian in an LXC container, with docker installed, the device is not detected anymore. But running But when I try to mount this device through docker compose, the zjs-ui container doesn't start due to "no such file or directory" Any ideas, what could be the issue? I want to run Pimox to join the RPI into my existing proxmox cluster Following is the section in my docker compose file
and the dmesg output from the lxc container
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Does this happens on boot or also on runtime? Did you also tried to check the |
Beta Was this translation helpful? Give feedback.
-
Success! Thanks @robertsLando for pointing me to the same issue for zigbee, however this was for USB devices as well, so it took some time for me to finally solve it. The Aeotec guide for the Z-Pi7 is helpful to get the gpio board available on the raspberry pi baremetal, passing it through to an LXC container needs the following steps:
(I think by allowing
All guides were just discussing USB devices and using So now I'm able to have my Z-Wave-Js-UI container running inside an LXC container on Pimox, while passing through the Aeotec Z-Pi 7 GPIO board, with Homeassistant now inside a VM on another host and connected over LAN. Thanks again for the help and hopefully this will help someone in the future :) |
Beta Was this translation helpful? Give feedback.
Success!
Thanks @robertsLando for pointing me to the same issue for zigbee, however this was for USB devices as well, so it took some time for me to finally solve it.
The Aeotec guide for the Z-Pi7 is helpful to get the gpio board available on the raspberry pi baremetal, passing it through to an LXC container needs the following steps:
/etc/udev/rules.d
to persist write access and passthrough the user group. Mine looks as follows to passthrough thettyAMA0
port/etc/pve/lxc/[VM-ID].conf
file needs the mount po…