Skip to content

mhaack/home-assistant-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JaMa Villa Home Assistant Configuration

Project Maintenance Home Assistant esphome.io

License

Circle CI GitHub Activity GitHub Last Commit

Twitter

Here's our JaMa Villa Home Assistant configuration, running our home automation. Home Assistant (HA) is an open-source home automation platform which allows you to control devices easily, track multiple sensors and integrate with a wide variety of commercial & DIY solutions. I currently run it via Hass.io on a single ODROID-N2. My HA configuration structure is heavily inspired by the work done by Franck Nijhof

HA

I try regularly update my configuration files, there is always something to tweak or improve πŸ˜‰. This repository is to inspire others, be free to use the code from this repo for your own HA setup. If you think it is helpful and like anything here, Be sure to 🌟 the GitHub repo.

System Overview

Setup

House Automation Hardware

Host System

My Home Assistant system currently runs on a ODROID-N2. All is managed by hass.io and the following add-ons are currently used:

Hubs

Device Home Assistant Notes
Homematic CCU3 Homematic Used to control all Homematic devices
deCONZ Conbee II deCONZ The main ZigBee Hub
Arlo Hub Aarlo custom component Arlo camera system integration

Network

Device Quantity Home Assistant Notes
Ubiquiti Networks UniFi Switch - 16 Ports (US-16-150W) 1 Ubiquiti Unifi Primary network switch
Ubiquiti Networks USW Flex Mini Swicth (USW-Flex-Mini) 1 Ubiquiti Unifi Office desk mini switch
Ubiquiti Networks Unifi AP Lite (UAP-AC-LITE) 2 Ubiquiti Unifi Wireless Access Point for interior use.
Ubiquiti Unifi Security Gateway (USG) 1 Ubiquiti Unifi Main router & firewall device
Draytek Vigor 130 ADSL/VDSL modem 1 n/a Main DSL device fot the connection to the outside world

On network gear we are all-in for Unifi devices, they provide a reliable and stable network for our house. Many of the devices have been in service for years. The Draytek modem is connected to the DSL line of the internet provider. The Unifi network equipment is also used as one of the presence detection methods.

Lighting

Device Quantity Home Assistant Notes
Philips Hue White and Color Ambiance 3 Philips Hue Light Color-changing smart bulbs
Philips Hue White and Color Ambiance LightStrip 2 Philips Hue Light Ambiante lights in kitchen and for TV wall
Paulman RGBW Controller ZigBee 1 deCONZ Light Driver for old reused classic LED strip
Sonoff S20 Smart Socket 11 The main Christmas season light driver
ESP8266 with WLED 3 WLED Controlling outdoor fairy lights

Outlets & Switches

Device Quantity Home Assistant Notes
Wireless Switch Actuator 1-channel with power metering (HM-ES-PMSw1-Pl-DN-R1) 3 Homematic Switch Indoor outlet for selected devices, mainly for power metering
Wireless Switch Actuator 1-channel, flush-mount (HM-LC-Sw1-FM) 1 Homematic Switch Hallway light switch
Wireless Switch Actuator 1-channel, DIN-rail mount (HM-LC-Sw1-DR) 2 Homematic Switch Used to control outdoor
Wireless Switch Actuator 2-channel with power metering, DIN-rail mount (HM-ES-PMSw1-DR) 3 Homematic Switch Used to control pumps of the pool and water tank
Sonoff S20 Smart Socket 11 Tasmota The main Christmas season light driver
Sonoff 4CH Pro R2 1 Tasmota Used to control outdoor garden low power lighting
Sonoff TH16 1 Tasmota Carport light and outdoor temperature & humidity with Si7021 sensor
Shelly 2.5 3 Shelly Used to control various outdoor, pond pumps and pool lighting

Switches and outlets are used in various capacities, most are for lighting and some are for pool & pump devices. For devices consuming more energy I prefer the Homematic devices, they give a good and secure overall impression. For seasonal Christmas lighting (most are low power LEDs) I mainly use Sonoff outlets flashed with Tasmota Firmware.

Sensors

Device Quantity Home Assistant Notes
Wireless Differential Temperature Sensor (HM-WDS30-OT2-SM) 2 Homematic Sensor Pool & solar temperature sensor for pool automation
Xiaomi Aqara Smart Temperature Humidity Sensor 6 deCONZ Sensor Main indoor temperature & humidity sensor
Xiaomi Aqara Smart Vibration Sensor 2 deCONZ Sensor Moving detection of our garden bench ;-)
Sonoff TH16 with Si7021 sensor 1 MQTT Sensor Garden & outdoor temperature & humidity sensor
luftdaten.info air quality sensor 1 REST Sensor DYI Fine dust & air quality sensor based on SDS011 board with additional BME280 sensor to measure temperature & air pressure and humidity

Most of the sensor got replaced with Xiaomi Aqara devices recently, they are small and very reliable, connected via ZigBee deCONZ. Unfortunately, they are only for indoor use, so I keep the Homematic HM-WDS30-OT2-SM for outdoor.

Security

Device Quantity Home Assistant Notes
Wireless Door/Window Sensor, optical (HM-Sec-SCo) 9 Homematic Binary Sensor Door sensors to detect if windows & exterior doors have been opened / closed
Wireless Shutter Contact (HM-Sec-SC-2) 1 Homematic Binary Sensor Door sensors to detect if windows have been opened / closed
Wireless Motion Detector (HM-Sec-MDIR-3) 3 Homematic Binary Sensor Indoor motion detection
Wireless Siren (HM-Sec-Sir-WM) 2 Homematic Switch Indoor alarm siren
Rademacher DuoFern Motor Actuator 9471-1 9 pyduofern (custom component) Flush-mounted actuator for roller shutter motors

Media & Voice Assistant

Device Quantity Home Assistant Notes
Sonos Move 1 Sonos This little thing has enough power to stream music into our livingroom and we take it outside very often.
Sonos Roam 1 Sonos Some music for my office
Sonos PlayBar 1 Sonos TV and livingroom sound
Sonos Sub 1 Sonos TV and livingroom sound
Amazon Echo 1 Via Nabu Casa Voice control

Cameras

Device Quantity Home Assistant Notes
Arlo HD 3 Aarlo Started with these, then added Arlo Pro 2 later
Arlo Pro 2 2 Aarlo Definitely much better quality then the 1st generation

The main argument for us to choose Arlo cameras were they are powered via a battery since we have them placed mainly in places without power supply. They only record if motion (or sound on the Arlo Pro 2) is detected. The original Arlo HD requires special batteries and last ~6 months on one set. The Arlo Pro 2 comes with a rechargeable battery pack or can be operated with USB power supply.

Car

Device Home Assistant Notes
Mercedes GLA mercedesme2020 Custom integration managed via HACS
Keba P30 Connect wallbox Keba Charging station connected via LAN and Unifi U6 using brigde mode

Other devices and virtual sensors

Device / Sensor Home Assistant Notes
Neato Botvac D7 Neato Robot number 1, not much to say, does the job. Actually so good, we now have two of them ;-)
Worx Landroid S REST Robot number 2, we call it "Shaun". This little guy is integrated via Landroid cloud API
Hunter Pro-HC Hunter Hydrawise Controls watering of the lawn and plants around the house.
Mailbox via 2 Xiaomi Aqara Window Door Sensor deCONZ Detect opening of the mailbox flap or door
ESPHome Watertank Sensor ESPHome To measure the water level of our garden cistern to ensure that our plants always get enough water.
Waste Collection Sensor Waste Collection Schedule Waste collection integration reminds us not to forget the garbage cans.Β Works well with the iCal Calender provided by our local garbage disposal company.