Configuration¶
I use Home Assistant as my primary smart home software. It allows me to tied down every separate ecosystem, every device, and every service together.
This is a very powerful tool, allowing to built complex and smart automation based on multiple triggers and conditions, performing different actions.
So far, I'm happy with Home Assistant and strongly recommend trying it if you are a smart home enthusiast.
Prior Art¶
I began my smart home journey with an Aqara Hub and a few bulbs.
In the beginning, I was hoping to consolidate my smart home over HomeKit, because I'd already had a few Apple devices. Shortly after, I run into multiple limitations. After a year of using Aqara setup, I decided to switch to the more universal and powerful solution β Home Assistant.
Now I easily pass my devices to the HomeKit as well as to the Google Home app.
How I make my automations¶
Tip
I highly suggest reading a blog post called Perfect Home Automation written by Home Assistant creator Paulus Schoutsen.
This article contains valid points about developing home automation. This will help you develop the right mindset while building your smart home.
There are a few rules I use while building my smart home:
- You should not adapt to technologies. Things should just work. You shouldn't break your own daily routines in order to adapt to your home. Home automation should blend with your current workflow, not replace it.
- You are not the only user of your home automation. Even when you live alone, you may have guests. Think about how they're going to use your home.
- Limit the impact of failures. Smart homes are complex: eventually, things will go wrong. Make sure things will have a limited impact when they fail. Ideally, devices should fall back to a pre-smart home experience.
- Automations must be seamless. Nobody controls lights from the phone except for showing off. This means that everything you automate has to work flawlessly. Even when automation works perfectly 90% of the time, the rest 10% will ruin the whole positive experience.
That's what I keep in mind. This helps a lot.
Automations¶
Here you can discover all of the automations powering my home. The list is automatically and regularly updated.
- π¨ Alarm (2 automation)
- π Alert (10 automation)
- π‘οΈ Climate (8 automation)
- π‘ Light (6 automation)
- π΅ Media (4 automation)
- π¦ Mode (4 automation)
- π Presence (2 automation)
- π₯οΈ System (10 automation)
- π§Ή Vacuum (8 automation)
- π¦ Water (2 automation)
Total number of automations: 56οΈ
π¨ Alarm¶
- Notification for Triggered β Make an announcement when Alarm is getting triggered
- Triggering Alarm
π Alert¶
- Air Siren in Kyiv β Air Alert announcement when we are in Kyiv. Sends critical notifications and announces on speakers.
- Bad Air Quality β Notify when the air quality is bad
- Car Washing β Notify when itβs okay or not okay to wash a car
- Danger in Kyiv β Danger of missile/drone strike in Kyiv RIGHT NOW. Critical alert to hide immediately.
- Denys left the Office β Notify when Denys is leaving the office
- Electricity Outage Notification β Notify everyone when there is no electricity at home.
- Humidifier No Water β Notify when humidifier's water tank is empty
- Imminent Attack by Strategic Bombers β Send a notification when Tu-95 strategic bombers take off from Russian airfields. This means attack by cruise missiles is imminent. Prepare a hideout.
- Low Battery Notification β Notify when battery is low on devices, so we could buy a replacements.
- Snow/Winter Tires β Notify when it's time to change car tires
π‘οΈ Climate¶
- Preheat Balcony for a Workday β When Denys wakes up, ask if he is going to work on balcony, start heating and notify when temperature is comfortable.
- Suggest turning on AC when it's hot β When temperature raises over certain level, send an actionable notification for turning on ACs
- Switch Heaters during Heating Season β Turn on/off heaters when Heating Season in on
- Sync Bedroom TRV temperature
- Sync Living Room TRV temperature
- Turn off Balcony Heater β Turn off Balcony Heater when the working display or desk lamp are off for some time
- Turn on Balcony Heater β Turn on Balcony Heater when it's cold and Desk Lamp or Working Display are turned on
- Turn on Humidifier only during sleep time
π‘ Light¶
- Presence Simulation in Away Mode β Toggle Presence Simulation during Night in Away Mode
- Toggle Desk Lamp with Working Display β Sync Desk lamp with Working Display
- Turn off Corridor Light When Door is Closed β Turn off Corridor Light when Front Door closes. If the light is still on, then send a notification with an action to turn off the light.
- Turn on Corridor Light when Door is open β Turn on Corridor Light when Front Door opens and then turn it off after a few minutes
- Turn on lights on Sunset β Turn on lights when sun goes below the horizon
- Turn on lights on low illuminance β Turn on lights on low illuminance
π΅ Media¶
- Plex Disk Optimization β Optimise disk operations by enabling Turtle mode on Transmission when someone is watching Plex.
- Turn off Samsung TV when PlayStation turns off β Turn off Samsung TV when PS5 goes to sleep mode
- Turn on Apple TV when Samsung TV turns on β Turn on Apple TV when Samsung TV turns on and PS5 is off
- Turn on Apple TV when Samsung TV turns on β Turn on Apple TV when Samsung TV turns on and PS5 is off
π¦ Mode¶
- Away Flow β Toggle Away mode depending on the Away input boolean
- Away on Leaving City β Toggle Away mode depending on proximity to the Kyiv city
- Do Not Disturb Activation β Adjust devices to Do Not Disturb mode
- Do Not Disturb on Focus β Switch Do Not Disturb while camera, mic or focus are on
π Presence¶
- Everyone is Arriving β Turn on things when people are arriving
- Everyone is Leaving β Turn off things when people are leaving
π₯οΈ System¶
- Home Assistant Release β Notify Denys about new Home Assistant releases
- Home Assistant Start β Notify Denys when Home Assistant starts
- Magic Cube Actions
- Notify about HACS updates β Notify when new HACS components are released
- Notify about high CPU usage β Send alert when HA has a high CPU usage
- Notify about high RAM usage β Notify when RAM usage is high for some time.
- Notify when Media disk is full β Notify when Media drive is 90% full for some time.
- Notify when System disk is full β Send a notification when system disk is 90% full.
- Power Outage Recovery
- Run chores in config folder β Run scripts for generating README, commiting regular updated, etc
π§Ή Vacuum¶
- Ask Regular Cleaning β Regular vacuum cleaning every two days
- Ask for Maintenance β Send vacuum near trash bin and ask for maintenance
- Clean Counting β Count cleanings via counter
- Error Alert β Notify when error with vacuum occured
- Finish Alert β Notify when vacuum finished cleaning and we are not home.
- Replacements Alert β Notify when vacuum parts need to be replaced
- Stop cleaning when we return home β Send vacuum home when somebody comes home
- iOS Actions β Handle iOS actions for vacuum cleaner
π¦ Water¶
- Keep Water Heater turned On β When Water Heater was accidentally turned off, automatically turn in on
- Notify when water is heated β When we ask to let us know when the boiler has done heating, it should notify about that.
Addons¶
These addons provide additional functionality for my Home Assistant instance.
- Advanced SSH & Web Terminal
v18.0.0
β A supercharged SSH & Web Terminal access to your Home Assistant instance - File editor
v5.8.0
β Simple browser-based file editor for Home Assistant - ESPHome
v2024.5.5
β ESPHome add-on for intelligently managing all your ESP8266/ESP32 devices - PS5 MQTT
v1.3.3
β Control Sony PlayStation 5 devices via MQTT - AirCast
v4.2.1
β AirPlay capabilities for your Chromecast devices. - Home Assistant Google Drive Backup
v0.112.1
β Automatically manage backups between Home Assistant and Google Drive - Samba share
v12.3.1
β Expose Home Assistant folders with SMB/CIFS - Mosquitto broker
v6.4.1
β An Open Source MQTT broker - Zigbee2MQTT
v1.38.0-1
β Use your ZigBee devices without the vendor's bridge or gateway