Public | Automated Build

Last pushed: a month ago
Short Description
Home Automation System that lets you monitor and configure various devices
Full Description

docker-domoticz

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."

Install dependencies

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

Usage

To run container use the command below:

$ docker run -d -p 8080 –device /dev/ttyUSB1 -v scripts:/scripts cyrilix/docker-domoticz

or

$ 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)

More Info

About Domoticz: www.domoticz.com

To help improve this container [docker-domoticz][5]

Docker Pull Command
Owner
cyrilix
Source Repository

Comments (1)
dudock2000
8 months ago

Hi there,
I habe a question: in the Dockerfile I see three volumes being mentioned:
VOLUME ["/opt/domoticz/scripts", "/opt/domoticz/backups", "/opt/domoticz/db"]
However, I don't see domoticz using the /db directory. Now the default seems to be for domotics to use the same directory as the executable. In this case /opt/domoticz.
When I look in an other docker image, the db-directory is specified by starting domoticz with a '-dbase' parameter:

ENTRYPOINT ["/src/domoticz/domoticz", "-dbase", "/config/domoticz.db"]
CMD ["-www", "8080"]

Is this an oversight in your dockerfile, or am I missing something?