Skip to content

cburbs/homeassistant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub stars GitHub last commit HA Version HA Version HA Community

Home Assistant

Home Assistant configuration with home automations.

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

Home Assistant Version: 2022.9.7

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 Postgresql docker backend. Those looking to start out with Home Assistant should leverage a Raspberry Pi 4 and hass.io image to get started very simply.

My configuration started from an early version of geekofweek's configuration. Much of the automation and config is pulled from examples in his configuration but customized for my family's needs. 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, Garage Door Controllers, and Power Metering. I am also utilizing ZWaveJS2MQTT for zwave control.

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

Menu

| Hubs | Lighting and Switches | Climate| Outlets | Security | Voice Assistant | Media | Sensors | Cameras | Garage | Vacuum | Shades | Network | Other Hardware| Software | Retired Devices | Screenshots |

Devices

Hubs

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Phillips Hue Hub v2 1 Ethernet Philips Hue Used to control Phillips Hue Color, Lux, and White bulbs
Aeotec Z‐Stick Gen5 USB Controller 1 USB ZWaveJS2MQTT ZWave Controller USB Connected to NUC Server running ZwaveJS2MQTT.
Lutron Caseta Pro 1 Ethernet CUSTOM - Lutron Caseta Pro Lutron Smart bridge Pro 2 for controlling local access to Lutron dimmers and devices
Ikea Tradfri Zigbee Hub 1 Ethernet Ikea Tradfri Hub to control automated shades for every room and shade remotes

Relevant hub configurations can be found within configuration.yaml Phillips Hue hub connected via home-assistant integrations. ZWaveJS2MQTT running on docker image using websocket to Home Assistant for integration. Lutron connected via local controls on Custom Componant

Lighting and Switches

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Philips Hue White and Color Ambiance v1/v2 10 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
Wiz Color and Tunable White Can Light 21 HACS - Wiz Wiz Custom Componant Basement can lights
Lutron Caseta Wireless Dimmer 5 Lutron Caseta Lutron Caseta Smart dimmer switches that do not require a neutral wire
Lutron Caseta Fan Control 5 Lutron Caseta Lutron Caseta Fan control via Custom Componant
Leviton Decora Smart Switch 1 Z-Wave ZWaveJS2MQTT Smart switches that require a neutral wire. No dimming but classic rocker decora style.
Zooz Switch ZEN26 S2 Dimmer 2 ZWaveJS2MQTT Smart switches as z-wave plus.

Lights are grouped via light_group.yaml Fans are defined in HACS custom componant and defined in configuration.yaml

Climate

| Go to Menu |

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.

Outlets

| Go to Menu |

Device Quantity Connection Home Assistant Notes
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
Zooz Power Switch ZEN15 1 Z-Wave ZWaveJS2MQTT Smart outlet utilized to monitor fireplace status

Security

| Go to Menu |

Device Quantity Connection Home Assistant Notes
GoControl Door/Window/Motion Sensor 3 Z-Wave ZWaveJS2MQTT 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.

Voice Control

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Amazon Polly 1 Integration Amazon Polly Text To Speech (TTS) for notifications and alerts
Echo Show 5 1 Home Assistant Cloud Home Assistant Cloud Voice Assistant integrated with Home Assistant Cloud
Echo Dot 3rd gen 5 Home Assistant Cloud Home Assistant Cloud Voice Assistant integrated with Home Assistant Cloud
Echo 1st gen 1 Home Assistant Cloud Home Assistant Cloud Voice Assistant integrated with Home Assistant Cloud

Media

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Apple TV 4 3 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

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Aeon Labs Water Sensor 1 Z-Wave ZWaveJS2MQTT Water sensors used to detect water in basement as a preventive measure
Dome Leak Sensor 6 Z-Wave ZWaveJS2MQTT Water sensor used to detect water in near washing machine and kitchen sink as a preventive measure
Zooz 4 in 1 Sensor 2 Z-Wave ZWaveJS2MQTT Motion, temperature, light, and humidity sensor
Go Control Door Sensor 3 Z-Wave ZWaveJS2MQTT Door sensor for closet and pantry doors
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 2 Wi-Fi ESPHome Temperature Sensor for Aquariums

Cameras

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Ring Video Doorbell - 3 Plus 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.
Ubiquiti UniFi Video G3 Instant Camera 2 Wi-Fi Camera FFMPEG 1080p Wireless Camera. Unifi Protect on Cloud Key 2 Plus.

Garage

| Go to Menu |

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

Vacuum

| Go to Menu |

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

Shades

| Go to Menu |

Device Quantity Connection Home Assistant Notes
Ikea Fyrtur Blackout Roller Blind 20 Zigbee - Ikea Ikea Tradfri Automated shades for every room
All grouped via cover.yaml

Network

| Go to Menu |

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
NUC 10 Performance Kit 1 Ethernet Main server running docker containers, plex, and zwavejs2mqtt

Software

Device Quantity Connection Home Assistant Notes
iOS App 4 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 Postgresql docker database
Pi-hole 2 Ethernet Pi-Hole Sensor Ad blocking. Primary instance runs within a Docker container and the secondary runs on a 2 docker containers
Home Assistant Management Tool 1 Ethernet NA Custom Shell script for managing Home Assistant. Modified from geekofweek version found here.

Retired Devices

Device Quantity Connection Home Assistant Notes
VeraPlus 1 Ethernet Vera Migrated to ZwaveJS2MQTT for Zwave control.
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
Tuya Compatible Plug 1 Tuya Tuya Componant Tuya Smart Outlet - retired for lack reliability and ease. Might revisit with Tuya updates
Zooz Power Strip ZEN20 v2 1 Vera (Z-Wave) Vera Smart power strip allowing for power controls and energy monitoring. Retired as it died within the first year. Stability issues and unreliable with load.

##Screenshots UI UI UI UI UI UI

About

Home Assistant Config

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%