I did the update but I did not see the USB devices (USB or ACM) despite the use of the three commands I mentioned in my first message. Should I do something else to make them to appear ?
Thanks for the clarification. It explains why it does not work for me. It seems that my old USB zwave stick (Aeotec S2) is not recognized when running DSM 7.0. I read somewhere that the new one (GEN5) works. I will order one to test. (I should have done it months ago but moving from one USB zwave stick to another one seems a bit painful)
I confirm that the Aeotec Gen-5 is recognized when running DSM 7.0 providing you executed the three modprob commands mentioned earlier. Its device name is /dev/ttyACMx (x=1 for my setup since the Deconz USB stick appears as /dev/ttyACM0). The Aeotec S2 required extra modules that are not available today. They were available here: http://www.jadahl.com for DSM 6.2. Unfortunately, it seems that they will not be ported to DSM 7.0.
My setup: DS218+ running DSM 7.0. Openhab is hosted in a docker container with zigbee/zwave devices
But now I have to move all my zwave devices to the new USB stick…
Do you use “execute container using high privilege” when running the docker container ?
I can not get it to work unless I do that and I did not use to need that under DSM 6.2
I changed the permissions for the zwave and zigbee devices (/dev/ttyACMx) to allow the container to get access to the devices. But you have to do it each time you unplug/plug the USB sticks and after the boot. Not really optimal. But more secure than giving privilege mode to the container.
It looks like its is changed. I also tried setting the user and group to root with full premissions this does not work either.
To map the device into the container I use an docker import file with a modified json were I added
It looks like I go it working now. I am a bit unsure what made it work, I think there was something with the group that was wrong. I used your “sudo docker run …” command and that made the \dev\ttyACM0 work but because my openhab user does not have id 9001 I need set the -e “USER_ID=1042” -e “GROUP_ID=65539” also. When the container is created via the above commad it does
echo ‘Create user openhab with id 1042’
And a lot of other commands that I think it did not do that earlier and I think this is what makes the difference.
You can then plug and unplug the Aeotec Gen5 and you will see that the correct permissions have been applied. Moreover, it will always appear with the name ttyACM1 (this is important for me since I have also a zigbee USB stick and I am not sure at boot time, what will be its symbolic name: either ttyACM0 or ttyACM1. This can be done for other USB sticks but you will need to change the idVendor and the idProduct (use “lsusb -ciu” to get these ids).