I've been automating my home office with Home Assistant for a while now, and I'm going to share how it works in a short series of posts. From the very basic stuff to the part where an LLM runs parts of my house and I can talk with it from my phone.
Quick look at the setup first:
- @home-assistant
- Zigbee devices through Zigbee2MQTT (lights, remotes, sensors)
- a few DIY sensors on ESP32 with ESPHome
- an MQTT broker in the middle of all that
- some custom integrations: Adaptive Lighting, Awtrix, Bambu Lab, Dashie, ...
- OpenAI behind HA's ai_task for the AI parts
Nothing exotic. Most of it is stuff you can buy or build for cheap, and the YAML is the interesting part.
Before building anything I set myself four rules. Everything in this series comes back to them at some point:
- zero maintenance. The system runs on its own. I don't want to check anything, babysit anything, or find out a week later that something silently stopped working
- one place for everything. Every device is controlled from Home Assistant, whatever the brand or protocol. No device lives in its own little world
- no apps. I don't want to open an app to do anything, but everything still has to be within reach. Buttons, screens, automations, notifications, whatever fits
- resilience. It has to be stable, and when something does go wrong (a device drops, HA restarts, a sensor goes crazy) it has to recover by itself
Day to day it looks like this: I walk in, the office is ready. I walk out, everything turns off. I come back, it's exactly how I left it. I don't touch a switch or open an app for any of that.
Easier said than done, and some of these rules took me a few iterations to actually respect. That's what the next posts are about.
commit fdced95