
Goal: QNAP dockerbased Z-Wave and Zigbee appliance controlled by Domoticz
Hardware: QNAP 453be, AEOTEC Z-Stick Gen 5, Conbee Zigbee USB Stick.
Software: Domoticz (native support for open z-wave), DEconz (software from conbee stick), REST API bridge plugin for domoticz to interface with DEconz software)
QNAP Commands:
insmod /usr/local/modules/cdc-acm.ko (for AEOTEC Stick - will only work on my front USB Port)
insmod /usr/local/modules/ftdi_sio.ko (for Conbee)
ls /dev/tty* (check if devices are present - otherwise replug devices or try different USB port)
docker run -d --name=domoticz -p 8100:8080 -v /opt/domo:/config -v /opt/deconzplugin:/opt/domoticz/plugins/deconz -v /etc/localtime:/etc/localtime:ro --device=/dev/ttyACM0 cgatay/domoticz:master (create domoticz docker and mount Z-Stick)
docker run -d --name=deconz --privileged -v /opt/deconz:/root/.local/share/dresden-elektronik/deCONZ --device=/dev/ttyUSB0 marthoc/deconz (create deconz container and mount Conbee Stick)
Addtional info:
install REST API bridge (https://github.com/Smanar/Domoticz-deCONZ) to /opt/deconzplugin. instructions to setup API keys and domoticz configuration can be found on the github page.
check if ports are used by other services on QNAP. you will see errors on dockerterminal if something is wrong
on QNAP restart the kernel modules have to be remounted manually. maybe someone knows better way.