Domoticz Home Automation Workbook
Posted: Wednesday 06 February 2019 15:15
To share my Domoticz Home Automation Workbook (PDF, ~790 pages) Changelog.
Objectives
(full list see the workbook)
To the developers of Domoticz and to all sharing information about Domoticz. Without these, it would not be possible to build this project and write the workbook.
Objectives
- Explore & learn Domoticz & Scripting.
- Build a Home Automation & Information System.
- Write up & share experiences during development.
- Use as a supplemental reference.
- This is a working document, solution changes, idea’s & to-do’s will probably never cease to exist.
- There might be better solutions for what is shared = updates or changes made as progressing.
- Source code for the scripts & flows not fully shared in this document or have changed … check GitHub src folder for latest source codes.
- Automation scripts mainly developed with dzVents Lua.
- Domoticz Hardware Plugin development in Python.
- Some functions make use of Node-RED.
- Functions that have been replaced by another solution are kept in this document as reference – might be of use.
- Screenshots shared might not be update as functionality is evolving.
- To-do’s tagged with <TODO>. The To-do list, with prefix, i.e. NEW, UPD …, are captured in the file TODO.md.
- Ideas logged in IDEAS.md.
(full list see the workbook)
- Air Quality monitor .
- Ambient light (from ESP8266 running ESP Easy) with threshold.
- Battery Status - Daily check & notify for all devices (Domoticz & External Systems) the battery level against a threshold set via user variable.
- Charts for selective weather items, room temperature & humidity.
- Climate Environment - UV Index & Category, Pollen Index.
- Coffee machine monitor – start and end time, info message.
- Control Somfy roller shutters with RTS motors in rooms.
- Control Volumio music player whilst listening to web radio.
- Custom icons.
- Custom Pages - simple to more complex examples.
- Custom Settings - Custom page to change the value of selective user variables.
- Device Status - Custom page to quickly view all device properties of a used device.
- Display temperature & humidity measured in rooms.
- Electricity power & energy for selected devices / rooms (washer, MakeLab etc.).
- Electricity power & energy for the house from “volkszaehler” with charts.
- Event monitor for selected devices.
- Garage door monitor.
- Hardware Monitor for the Raspberry Pi's used (see HardwareMonitor.zip).
- HomematicIP support selective devices using RaspberryMatic. Developed plugins HmIP-eTRV, HmIP-PSM or Python scripts (triggered via dzVents Lua).
- Hue Light controlled via ESP8266 with slide potentiometer & 4-digit-7-segment-display.
- Indoor Air Quality - Measure in regular intervals, the IAQ Index VOC, assign to a custom sensor (VOC) and set the color of a Hue White & Color Ambiance bulb accordingly.
- Key Dates management and information organised in a roomplan.
- MQTT Logger (Node-RED)
- MQTT subscribe & publish messages to trigger actions or information.
- Monitor stock quotes.
- Music Player using LibreELEC with Kodi and another test with Volumio.
- Key Dates management and information organised in a roomplan.
- Notes with a subject & content and save, copy or notify.
- Philips Hue Lighting System control via Hue Bridge for ZigBee devices.
- Postbox Notifier.
- RaspberryMatic DutyCycle monitor.
- RaspberryMatic Statelist with devices and data points (Node-RED).
- Raspberry Pi system information with charts and threshold email notification.
- Remote Control via Homematic IP device (HmIP-RC8) for 8 specific functions.
- Remote Control Domoticz devices using Email client - includes a simple Android test app
- Security door & window wireless contact detectors.
- Soil Moisture monitor for plants (Info).
- Time Control to track & control the time spent in hours, per activity block (with start- & end-time) and total/day, on a generic task.
- Timers for single devices or complex tasks (Automation events dzVents).
- Utility Dashboard Heating, Power, Water dashboard using Grafana & FlowCharting plugin. This is a process engineering prototype (SCADA).
- Weather 9-DAYS forecast from Norwegian Meteorological Institute (Meteorologisk) as a Custom Page with Highcharts Custom Chart.
- Web UI Domoticz Quick Access Mobile - customized web frontend to control dedicated functions mainly accessed from mobile devices.
- Web UI Web App Site Control - Node-RED alternative to the standard Domoticz Web UI (Note: Not developed further as replaced by Domoticz Quick Access Mobile).
- Domoticz running on a Raspberry Pi (setup, configure).
- Scripting Python, Lua, dzVents, JavaScript.
- Python Plugin Development (mainly with Tinkerforge Building Blocks)
- API interaction
- MQTT messaging
- Custom Pages with Highcharts & Google Charts for single & multiple devices.
- Node-RED as an alternative script engine and User Interface.
- SQLite
- ESP8266
- ESP Easy for sensors.
- RFXCOM RFXtrx433E USB RF Transceiver for Temperature & Humidity devices, External Wind device (only for RFXCOM tests), Other 433Mhz devices, i.e. door & window contacts.
- Philips Hue Light Control.
- External services
- Domoticz Android App (native client, to be determined).
- Advanced User Interfaces, i.e. Node-RED, Bootstrap …
To the developers of Domoticz and to all sharing information about Domoticz. Without these, it would not be possible to build this project and write the workbook.