homeassistant
homeassistant copied to clipboard
Example Home Assistant Configs
Home Assistant Config by ntalekt
Be sure to :star: my repo so you can keep up to date on the progress!
This is my Home Assistant configuration which is running on Docker. When starting with home automation I found many well documented configurations and drew inspiration from them in order to achieve my automation goals. I wanted to share my success with the community and hopefully help others on their journey.Platform
- Hardware
- [HP Z620 - E5-2650 8C, 64GB ECC]
- QNAP TS-251+
- Aeotec Z-Stick Gen5
- Sonoff Zigbee 3.0 USB CC2652P
- Software
-
homeassistant/home-assistant
- Home Assistant Version: 2022.8.6
- vSphere 7.x
- Docker v20.10.17
- Traefik v2.2.1 proxy
- SSL via Let's Encrypt
-
homeassistant/home-assistant
Interface
Devices
Lighting
- Yeelight WIFI RGB Strip x2
- GE Z-Wave Plus Dimmer 14294 x3
- LE LampUX RGB Lamp
- Goldwin Wifi Controller
- Pentair IntelliBrite
- Govee Outdoor Patio LED
- Govee RGBIC Flood Lights
Climate
Outlets / Switches
- Xiaomi Aqara Smart Wireless Switch x4
- Wemo Mini Smart Plug
- Wemo Insight Smart Plug
- Tuya Compatible Smart Plug
- Wyze Plug Outdoor
Sensors
- Ecolink Z-wave Plus Garage Door Tilt Sensor
- Xiaomi Aqara Motion Sensor x2 (Office/Living)
- Xiaomi Aqara Temperature Humidity Sensor x5
- Xiaomi Aqara Leak Sensor x4
- Xiaomi Aqara Window Door Sensor
Camera
Media
- Amazon Echo Dot x2 (via Emulated Hue Bridge)
- Sonos PLAY:1 x3
- Sonos One
- Harmony Hub x2
- NVIDIA SHIELD TV
- LG 65UH8500 65" TV
Irrigation
Cover
Network
- Ubiquiti Unifi Security Gateway (USG)
- Ubiquiti UniFi Switch 8 60W (US-8-60W)
- Ubiquiti UniFi Access Point (UAP-AC-PRO-US) x2
Other Hardware
Software
- Life360 Location Tracking App
- Pi-hole
- zwavejs/zwavejs2mqtt
- [Frigate NVR](https://docs.frigate.video/
- double-take
Example Automations
Notification Audio
- TTS notification when User arrives at specific Zones.
- TTS notification when User leaves specific zones which includes travel time home.
- TTS notification if the garage door has been open for 30 minutes with no motion in garage.
- TTS school bell notification (if remote schooling mode enabled)
- TTS test notification
- TTS ring ding & motion events
Notification Text
- Slack notification when new Home Assistant version is available on PyPI.
- Slack notification when critical network devices go offline.
- Slack notification if the garage door is left open after we left the house.
- Slack notification if the garage door is opened and no one is home.
- Slack notification if the garage door has been open for 30 minutes with no motion in garage.
- Slack notification test.
- Slack when any battery sensor falls below 20%
- Slack for a failed login attempt.
- Slack if new network device is detected.
Lights
- Exterior lights (porch, side entrance, pool, landscape) (GE Z-Wave Plus Dimmer 14294, [Pentair IntelliBrite] (https://www.pentair.com/en-us/products/residential/pool-spa-equipment/pool-lighting/intellibrite_5g_underwatercolor-changingledpoolandspalights.html), Wyze Plug Outdoor) on 5 minutes before sunset.
- Exterior lights (GE Z-Wave Plus Dimmer 14294) off 30 minutes after sunrise.
- Exterior lights (GE Z-Wave Plus Dimmer 14294) dim to 35% at 9:00pm
- Exterior pool lights (Pentair IntelliBrite) off if no motion after 10pm
- Interior under cabinet transition during sunset (Goldwin Wifi Controller)
- Interior lights off if no motion
- Interior lights on if motion
Doorbell
- Exterior lights to 100% if Ring Pro Doorbell detects motion or is pressed after 9:00pm.
- Exterior lights back to 35% after 30 minutes after doorbell motion or press.
Media
- Start Harmony Hub activity if user selects from HA UI
input_select
. - Update
input_select
status if physical Harmony Hub remote is used to start activity. - Start playing music on Sonos PLAY:1 speakers if user selects music station from
input_select
. - Start playing music on Sonos PLAY:1 speakers if user starts music station using Amazon Echo Dot via Emulated Hue Bridge.
- Start Harmony Hub activity using Amazon Echo Dot via Emulated Hue Bridge.
- Power off Harmony Hub activity using Amazon Echo Dot via Emulated Hue Bridge.
- Turn on SleepTime mode if Xiaomi Aqara Smart Wireless Switch is pressed.
- Pause Deluge if internet data usage > 90%.
Sonos
- Reset/Regroup all Sonos PLAY:1 speakers at 6:00am every morning.
- Group all Sonos' button.
Occupancy
- If motion is detected via Aquara Motion or Tapo cameras, Frigate object detection turn on
input_boolean
(used inbinary_sensor
for occupancy tracking). - If no motion is detected after certain period of time turn off
input_boolean
.
Sleep time
- Turn off master TV after 30 minutes via Harmony Hub.
System
- Run script to collect Cox Internet usage hourly.
- Clean the TTS cache weekly.
Vacation/Climate
- Turn vacation mode on when household is gone for 24 hours.
- Toggle office fan on/off based on occupancy using * Wemo Insight Smart Plug.