Hi.
Im trying to run deconz v2.13.01 in an LXC ubuntu 20.04 LTS container in proxmox, deconz starts and i can access it from browser but i cant seem to establish connection to my ConBee II.
I have passed my ConBee through to the cointainer and tried every solution i could find on the web, i’ve also tried installing docker in LXC and then deconz in that(because thats what was working on my Pi) also with no luck.
Can anyone point me in the right direction please, thanks
here is some of the log, let me know if i should be looking for something specific.
For deConz to be able to access the Conbee, the container must run in privilege mode and have full access to the machine HW.
An LXC container virtualizes this and commands cannot pass through the abstracted layers.
Try a Docker container instead of an LXC.
Thanks for the reply
Iam running privileged mode, full access to machine hardware? should it not be enough to pass the Conbee stick through to the container?
Are you saying there is absolutely no way of running deconz in a LXC container?
When i install home assistant OS in a VM there is no problem passing the stick through to the deconz add-on in HA
I managed to get around by creating a new startup script for DECONZ, it works perfectly for me.
Add the user who runs the process to /etc/sudoers
deconz ALL=(ALL) NOPASSWD:ALL
Create a new startup file for deconz:
nano /lib/systemd/system/deconz-lxc.service
Thanks man, i already have a startup service, its not exactly same as your but should do the same thing?
i’ve made it following a guide i found. whats your setup? maybe ill try clean install and do it your way
So i never got it to work in the LXC container i feel like i have tried everything but somehow i must be missing something…
I gave up and installed it in a VM following the German guide, translated by google and it was surprisingly good, worked in first try.
for me the downside of running it in a VM is that it uses more resources and also more power, but for now it will have to do, maybe in the in the future ill try in a LXC container again.
Many thanks to both of you for taking the time to help!
i had the same hassel with LXC but with a VM installed headless it needs not that much more resources then the LXC Container. At least it runs super stable!
I’ve been trying to get deCONZ to work in a Proxmox LXC as well, with no luck.
Is the conclusion that it won’t work? And if so why is this different than for the Aeotec Z-stick for Z-wave?
I know this is a very old thread, but I’ve been trying for hours to get my Conbee II to be recognized by Deconz.
But, eventually i got it working and it needed only 2 little changes.
In the Proxmox host shell type ls -al /dev/serial/by-id and note the linked device after the conbeeII device (ttyACM0 or ttyACM1)
In my case the line looks like this and my ConbeeII is linked to ttyACM1
lrwxrwxrwx 1 root root 13 Oct 2 20:19 usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2129141-if00 → ../../ttyACM1
Now type chmod 777 /dev/ttyACM0 (or ttyACM1)
If you have not installed the Deconz LXC container, now it’s time to install it
Go to https://community-scripts.org/scripts/deconz and copy the installer URL and paste it in the Proxmox host shell and choose the standard install.
After installing, click in Proxmox on the Deconz container and click on “>_ console”
Now you need to edit the /usr/lib/systemd/system/deconz.service file.
Tyoe nano /usr/lib/systemd/system/deconz.service and look for the line “ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80” and add “–dev=/dev/ttyACM0” (or ttyACM1) at the end.
When done, the line should look like this: ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --dev=/dev/ttyACM0 (or ttyACM1)
Now exit the editor by CTRL+X and Y to save the file.
Now reboot the LXC container and go to the IP of Deconz with your browser shown in Proxmox after rebooting in the “>_ console” ( IP Address: xxx.xxx.xxx.xxx)
Now check if the ConbeeII stick is found by Deconz by going to Gateway in Deconz
There you should see something like this.