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 quantumobject/docker-domoticz
$ docker run -d -p xxxxx:8080 –device /dev/ttyUSB1 quantumobject/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
For additional info about us and our projects check our site www.quantumobject.com
Please try to give a substantial answer. If you wanted to comment on the question or answer, justuse the commenting tool. Please remember that you can alwaysrevise your answers - no need to answer the same question twice. Also, pleasedon't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/23/15, 1:41 AM|
|Seen: 2077 times|
|Last updated: 11/23/15, 1:45 AM|