Turris Omnia and Home Assistant in LXC Container
Turris Omnia hosting Homeassistant in LXC Container In the Turris Omnia I have installed the AEOTEC ZWave Dongle, in the front USB port. This is largely inspired by [1] and [2] and all credits belog to the author. Assume we have the containers stored in /srv/lxc and the container is called homeassistant. Install the kernel module # opkg update && opkg install kmod-usb-acm or # opkg update && opkg install kmod-usb-uhci Now I don't remember :( Expose the USB to the LXC container Edit the /srv/lxc/homeassistant/config file and put there: # Give an access to the USB with the Aeotec dongle lxc.mount.entry = /dev/bus/usb dev/bus/usb none bind,optional,create=dir 0 0 lxc.mount.entry = /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file 0 0 Setup the host system to expose the ttyACM0 device Modify the device permission access using the hotplug system. Just create the following script: # cat /etc/hotplug.d/usb/10-zwav...