The most important part of a home automation system is probably the controller. This is the place where all the data comes together, and where all the outputs are controlled. It manages the database with all the data, and handles the logic to control the outputs. In my case, Domoticz is used as the controller for my home automation setup.
Multiple gateways can be connected and used with Domoticz. There is build in support for many existing protocols. It is possible to connect to these gateways using usb, local network, and even over the internet. In my first setup, I’ve used the following gateways:
– RFXCOM (usb)
– MySensors (wifi)
– Philips Hue bridge (ethernet)
– OpenTherm (usb)
– WeatherUnderground (http)
After connecting the gateways, it is possible to add new sensors from a gateway. This could be a temperature sensor from MySensors, a light switch from RFXCOM or a Philips Hue bulb from the Hue bridge. Each sensors is grouped by a sensortype in Domoticz, and input changes for the sensors will be saved in the database.
Viewing sensor data and controlling devices that have been added to Domoticz is default functionality of the software. But if you want to add even more logic to your home automation system, it is possible using the Blocky editor in the browser, or by creating LUA scripts. For example, I’ve created a script that turned on a light (RFXCOM switch) when I arrived home and motion is detected in my hallway (MySensors motion sensor). By using those scripts, the software can be changed from a data logging and controlling tool, to a real home automation solution.
My current setup of Domoticz is running on a Mac Mini with Ubuntu installed as OS. But the footprint of Domoticz is small, it is build on Ruby and is able to run of a Raspberry Pi. The wiki page of Domoticz has a great guide on how to install it on your own server.
eryk October 24, 2015