Skip to content
master
Go to file
Code

README.md

Home Assistant

Home Assistant configuration with home automations.

Featured on Example page from https://www.home-assistant.io/cookbook/

Home Assistant Version: 0.114.0

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.

I have expanded my home automation practices to the ESPHome platform to allow power monitoring automations as well as added controls for my Biocube Salt Water Aquarium.

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
  • Alarm notifications when away from home
  • 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 notification and flash lights if water detected in basement
  • Send notification and flash lights if water detected by washing machine / Kitchen Sink
  • Cut power to washing machine if water detected by washing machine
  • Send notification and flash lights if CO / Smoke detectors go off
  • 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
  • Use Lutron Pico Remotes to enable Hue Lights and other automations
  • Use ESPHome device to energy monitor circuits in the house
  • Use EPSHome device for Garage Door Open/Close and state sensors
  • Monitor Fish Aquarium (Biocube) power usage
  • Alert for aquarium problems (heater running long / pump not running)
  • Change Ecobee mode when fireplace running

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
VeraPlus 1 Ethernet Vera Vera smart hub for controlling z-wave devices.
Lutron Caseta Pro 1 Ethernet CUSTOM - Lutron Caseta Pro Lutron Smart bridge Pro 2for controlling local access to Lutron dimmers and devices
Wink Hub v1 1 Wi-Fi Wink Decommissioned as a device for smart controls. Replaced with Vera for zwave and Lutron Caseta for Lutron Switches

Relevant hub configurations can be found within configuration.yaml Phillips Hue hub connected via home-assistant integrations. Lutron connected via local controls on Custom Componant

Lighting

Device Quantity Connection Home Assistant Notes
Philips Hue White and Color Ambiance v1/v2 9 Ethernet Philips Hue Light Color changing smart bulbs
Philips Hue White / Lux White 7 Hue Hub (Zigbee) Philips Hue Light Non color changing smart bulbs / Lux changes shades of white
Philips Hue White & Color Ambiance Outdoor 7 Hue Hub (Zigbee) Philips Hue Light 2 Starter Sets of Lily Outdoor Spots
Lutron Caseta Wireless Dimmer 4 Lutron Caseta (Z-Wave) Lutron Caseta Smart dimmer switches that do not require a neutral wire
Lutron Caseta Fan Control 1 Lutron Caseta Lutron Caseta Fan control via Custom Componant
Leviton Decora Smart Switch 1 Vera (Z-Wave) Vera Smart switches that require a neutral wire. No dimming but classic rocker decora style.
Zooz Switch ZEN27 S2 Dimmer 3 Vera (Z-Wave) Vera Smart switches as z-wave plus. Allow for dimming.

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 Vera (Z-Wave) Vera 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 2 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 2 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 Vera (Z-Wave) Vera Water sensors used to detect water in basement as a preventive measure
Dome Leak Sensor 4 Vera (Z-Wave) Vera Water sensor used to detect water in near washing machine and kitchen sink as a preventive measure
WeMo Insight Smart Plug with Energy Monitoring 3 WeMo WeMo Componant WeMo Smart Outlet with Energy Monitoring
WeMo Mini Smart Plug 4 WeMo WeMo Componant WeMo Smart Outlet
TP-Link Kasa Outdoor Outlet - KP400 2 TP-Link TP-Link Componant TPLink Smart Outlet
Tuya Compatible Plug 1 Tuya Tuya Componant Tuya Smart Outlet
Zooz Power Strip ZEN20 v2 1 Vera (Z-Wave) Vera Smart power strip allowing for power controls and energy monitoring.
Zooz Power Switch ZEN15 1 Vera (Z-Wave) Vera Smart outlet utilized to monitor fireplace status
Nest Protect v2 Wired 4 Wi-Fi Nest Smoke Alarm and CO Alarm.
ESPHome - ESP32 1 Wi-Fi ESPHome 6 Channel Energy Monitor
ESPHome - ESP32 1 Wi-Fi ESPHome Temperature Sensor for Aquarium

Cover

Device Quantity Connection Home Assistant Notes
ESPHome - ESP32 1 Wi-Fi ESPHome 4 Relay / 4 Inputs for control of 2 Garage Doors

Vacuum

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

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 4 Ethernet Camera FFMPEG 1080p POE Camera. Unifi Protect on Cloud Key 2 Plus. New camera system replacing QT analog system.
Ubiquiti UniFi Video G3 Flex Camera 1 Ethernet Camera FFMPEG 1080p POE Camera. Unifi Protect on Cloud Key 2 Plus.

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.
Ubiquiti Networks Unifi Cloud Key 2 Plus 1 Ethernet Ubiquiti Unifi WAP Unifi Controller and Unifi Protect NVR. Cameras feed via RTSP to HA https://amzn.to/2VzjW1s.

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 and for presence detection
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 UI

You can’t perform that action at this time.