My Automated Home: Domoticz Powered Open Source Smart Home
Our latest “My Automated Home” story comes from Ian Gardner and his Domoticz powered smart home.
It was all thanks to a friend and work colleague (Steve L) who inspired me to give it all a try.
Over time I played with X10, used an original RFXCom receiver with xpl-perl and experimented with various HomeEasy devices. Over the years my setup has changed and evolved and currently looks like this…
- HP N36L Microserver running VMWare ESXi (The heart of the system)
- Several multi-purpose virtual machines running Ubuntu 14.04LTS
- VM running Domoticz and OpenZwave
- USB RFXCom (433MHz)
- USB connection from Cyberpower UPS
- USB Sound Card with USB powered speakers for notifications
- USB Aeotec Z-wave controller
- Philips Hue Controller
- 5x Philips Hue Lux bulbs
- Philips Hue Bloom lamp
- Owl Intuition Controller
- Owl Intuition-C – used to control my heating – I don’t bother controlling hot water
- Owl CM180 power clamp and display
- Billion Bipac 7800DXL router, various switches, powerline AV adapters
- Trendnet IP310TV cameras for security (PoE)
- Synology Diskstation DS115j (for CCTV archive footage)
- Another Cyberpower UPS for the cameras
- Z-wave Devices
- RFX controlled/detected devices
- Oregon Scientific Themo/Humidity sensors
- Oregon Scientific Rain Gauge
- Oregon Scientific Anemometer
- Byron PIRs
- Home Easy remote controlled sockets
- Home Easy light fittings
- Home Easy PIR
- X10 RF PIR
- LightwaveRF Remote Controls
- LightwaveRF Mood Switches
- Energenie LAN Power Strip
- Wunderground to enhance local weather information
- Sonos Play 1 – a fairly new addition and great device!
- Obi 110 VOIP Adaptor – this allows me to grab call history from my landline from a webpage and more…
- Logitech Harmony Hub/Remote
- Raspberry Pi and Camera
- The Trendnet IP cameras take great quality 3MP snapshots when motion is detected on the driveway (Byron PIR) or when the doorbell is pressed. While these IP cameras have built-in motion detection and continuous recording to the NAS it is actually useful to get the notifications provided from the PIRs. This is all triggered by a Domoticz lua script which in turn calls a shell script to grab the snapshots.
- The doorbell push plays an mp3 and sends a push message to my iPhone.
- Philips Hue is now providing my security lighting while I also use a LightwaveRF mood controller to switch them on and off via Domoticz.
- The Domoticz VM plays a dog-bark.mp3 on the USB sound card when motion is detected on the driveway – useful to know when planned or unplanned visitors arrive!
- Related to the above I have a shell script that checks if house power usage is high shortly before going to bed i.e. indicating a high power device has been left on – here I play an mp3 file as a warning but again could easily change to a push message.
- The UPS’s do a great job of handling minor power outages and one reports when power is lost and restored into a log file while the other protects the Synology.
So What’s Next?
- I may replace the ESXi host with a newer low power server running Ubuntu natively to simplify things
- Modify the script to power down the pumps instead of just telling me about them!
- Look into node.js and nodered (thanks to my friend and colleague Brian B. for the advice here)
- Implement Fibaro Binary sensor with beam / break sensors on drive as PIR can falsely detect motion
- Get the Aeon Labs PIR working – on battery power it isn’t reliable so I need to connect to a PSU
- Implement scripts on my router to find when our phones are home and connected to WiFi – presence detection!
- Integrate Owl Intuition-C – at present I can control only via the Owl application or website
- I have also started to play with Bluetooth Low Energy beacon devices to detect presence e.g. put one in the car
- Use Sonos Play 1 for notifications
- Implement BlinkStick for notifications
- Perhaps make use of Raspberry Pi and Camera
On a final note I’d like to say thanks to the Domoticz forum users and various other Internet resources for making this all possible.