Docker container for Domoticz
"Domoticz is a very light weight home automation system that lets you monitor and configure various devices like: lights, switches, various sensors/meters like temperature, rainfall, wind, Ultraviolet (UV) radiation, electricity usage/production, gas consumption, water consumption and much more. Notifications/alerts can be sent to any mobile device. The best of all, is that Domoticz is open source and completely free! You only need to invest in hardware."
To install docker in Ubuntu 15.04 use the commands:
$ sudo apt-get update $ wget -qO- https://get.docker.com/ | sh
To install docker in other operating systems check docker online documentation
To run container use the command below:
$ docker run -d -p 8080 –device /dev/ttyUSB1 -v scripts:/scripts cyrilix/docker-domoticz
$ docker run -d -p xxxxx:8080 –device /dev/ttyUSB1 cyrilix/docker-domoticz
Where xxxxx is the port assigned by you for the container if not docker will assigned one for it.
Accessing the Domoticz applications:
After that check with your browser at addresses plus the port assigined by docker or you:
To access the container from the server that the container is running :
$ docker exec -it container_id /bin/bash $ export TERM=xterm #needed to execute some command correctly (nano,top)
About Domoticz: www.domoticz.com
To help improve this container [docker-domoticz]