Home Assistant Config
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6b8ff3b Oct 18, 2018

README.md

Home Assistant

Home Assistant configuration with home automations.

Home Assistant Version: 0.80.2

Overview

I utilize Home Assistant to bridge and automate all my home automation products. It was quickly realized as I expanded beyond some smart bulbs and a Wink hub, that nothing integrated into a single system for control, automation, and communication. Home Assistant originally was run on a Raspberry Pi 3 but I have since moved it to run as a docker container leveraging a MySQL docker backend. Those looking to start out with Home Assistant should leverage a Raspberry Pi 3 and hass.io image to get started very simply.

My configuration started from an early version of geekofweek's configuration and much of the automation and config is pulled from examples in his configuration. Home Assistant has many example configurations to leverage and I have published my configuration to share or reference for others.

Automation Overview

Typical Automations in use include

  • Turn on / off outside lights at sunset
  • Turn on / off pantry light when door opens / closes
  • Turn off lights after no activity / motion
  • Grouping of lights for use with Alexa for commands
  • Perform actions based on people leaving home / arriving home
  • Update location for user based on geolocation zones (Work, School, Church, Home)
  • Enable holiday color lights on outside lights via scenes
  • Turn on lights based on motion / ring front door and return to previous theme after
  • Send Text notification and flash lights if water detected in basement
  • Send Text notification and flash lights if water detected by washing machine
  • Cut power to washing machine if water detected by washing machine
  • Send Text notification and flash lights if CO / Smoke detectors go off
  • Send alert if Eth miner hashrate drops
  • Send alert if power is lost at the house
  • Enhance security system through extra sensors and motion reading
  • Send alert if auxiliary / emergency heat is activated
  • Send long term data to InfluxDB for Grafana configuration

Devices

Hubs

Device Quantity Connection Home Assistant Notes
Phillips Hue Hub v2 1 Ethernet Philips Hue Used to control Phillips Hue Color, Lux, and White bulbs
Wink Hub v1 1 Wi-Fi Wink Used as a dumb hub to connect various Z-Wave and Lutron devices. No Wink Robots or schedules being utilized

Relevant hub configurations can be found within configuration.yaml Phillips Hue hub connected via home-assistant integrations. Wink hub connected with developer API account.

Lighting

Device Quantity Connection Home Assistant Notes
Philips Hue White and Color Ambiance v1/v2 8 Ethernet Philips Hue Light Color changing smart bulbs
Philips Hue White / Lux White 6 Hue Hub (Zigbee) Philips Hue Light Non color changing smart bulbs / Lux changes shades of white
Lutron Caseta Wireless Dimmer 1 Wink Hub (Z-Wave) Wink Light Smart dimmer switches that do not require a neutral wire
Leviton Decora Smart Switch 1 Wink Hub (Z-Wave) Wink Light Smart switches that require a neutral wire. No dimming but classic rocker decora style.

Lights are grouped via light_group.yaml

Climate

Device Quantity Connection Home Assistant Notes
Ecobee 3 1 Wi-Fi ecobee / Ecobee Thermostat Used as primary thermostat for Waterfurnace geothermal system with Auxilary Heat System
Ecobee Room Sensor 3 Ecobee3 Ecobee Binary Sensor Provides room temperature and room occupancy.

Security

Device Quantity Connection Home Assistant Notes
GoControl Door/Window/Motion Sensor 3 Wink Hub (Z-Wave) Wink Binary Sensor Door sensors to detect if doors have been opened / closed. Motion sensor reports temperature and motion.
Eyez-On Envisalink Security Interface 1 Ethernet Envisalink Security Inteface to connect DSC wired alarm panel to Home Assistant.

Media

Device Quantity Connection Home Assistant Notes
Apple TV 4 1 Wi-Fi Apple TV Used for media playback on TVs
Apple TV 3 1 Wi-Fi Apple TV Used for media playback on TVs
Sonos Play:1 1 Wi-Fi Sonos Audio playback
Logitech Harmony Hub 1 Wi-Fi Harmony Hub Remote Controls various AV equipment and other devices that utilize infrared remotes
Plex Media Server 1 Ethernet Plex / Plex Activity Monitor Media Server

Sensors

Device Quantity Connection Home Assistant Notes
Aeon Labs Water Sensor 1 Wink Hub (Z-Wave) Wink Binary Sensor Water sensors used to detect water in basement as a preventive measure
Dome Leak Sensor 1 Wink Hub (Z-Wave) Wink Binary Sensor Water sensor used to detect water in near washing machine as a preventive measure
WeMo Insight Smart Plug with Energy Monitoring 1 WeMo WeMo Componant WeMo Smart Outlet with Energy Monitoring
Nest Protect v2 Wired 2 Wi-Fi Nest Smoke Alarm and CO Alarm.

Vacuum

Device Quantity Connection Home Assistant Notes
iRobot Roomba 980 1 Wi-Fi iRobot Roomba Working to automate schedule based on presence detection

All Roomba related automations can be found in roomba.yaml

Cameras

Device Quantity Connection Home Assistant Notes
Ring Video Doorbell 1 Wi-Fi Ring / Ring Binary Sensor Automated around binary sensors via motion or doorbell button press
Ubiquiti UVC-G3 UniFi Video Camera 2 Ethernet UniFi Video Camera 1080p POE Camera. NVR storage on QNAP NAS. New camera system replacing QT analog system.

Network

Device Quantity Connection Home Assistant Notes
Ubiquiti Networks Unifi Security Gateway (USG) 1 Ethernet Ubiquiti Unifi WAP Primary Router. Presence detection for devices
Ubiquiti Networks UniFi Switch - 24 Ports (US-24-250W) 1 Ethernet Ubiquiti Unifi WAP Primary Switch. Presence detection devices
Ubiquiti Networks Unifi AP PRO (UAP-AC-PRO-US) 3 Ethernet Ubiquiti Unifi WAP Wireless Access Point for interior coverage. Presence detection for devices.

Other Hardware

Device Quantity Connection Home Assistant Notes
QNAP TS-451+ 1 Ethernet QNAP Sensor Main storage array. Docker Containers and Plex media server run off this device. Configured with 3x WD Red Pro 3TB NAS Hard Disk Drives
CyberPower CP1350AVRLCD Intelligent LCD UPS System, 1350VA/815W 1 USB / Ethernet NUT Sensor Primary Uninterruptible Power Supply (UPS). Connected via the NUT component utlizing the QNAP NAS native UPS server component

Software

Device Quantity Connection Home Assistant Notes
iOS App 2 NA iOS Used as Home Assistant interface on mobile devices, not actively using for presence detection
Locative iOS App 2 NA Locative Primary method of presence detection. App is no longer under active development but has been the most reliable solution with no battery impact
AWS SNS 2 NA AWS SNS Primary method of text notification for emergency alerting. SNS queues are subscribed by phones that require notification.
Docker 1 Ethernet Installation on Docker Home Assistant install runs as a Docker Container utilizing MySQL docker database
Pi-hole 2 Ethernet Pi-Hole Sensor Ad blocking. Primary instance runs within a Docker container and the secondary runs on a Raspberry-pi 3
InFluxDB 1 Ethernet InFluxDB Componant Long Term data retention for select metrics. Instance runs within a Docker container with Grafana.
Grafana 1 Ethernet Generic Camera Display of long term data from InfluxDB feeds. Instance runs within a Docker container with InfluxDB.
Home Assistant Management Tool 1 Ethernet NA Custom Shell script for managing Home Assistant. Modified from geekofweek version found here.

##Screenshots UI UI UI UI UI UI