2025-11-28

My Home Automation Story

The story of how I built my home automation system from 2021 to today. Decisions, discoveries, and learnings about home automation.

By ~12 min read home-automation, strategy, decisions

In 2021, I decided to automate my home. Not because it was necessary, but because as an engineer, the idea of having a system that responded to my needs without constant intervention fascinated me. What started as a weekend project became a multi-year obsession, with multiple iterations, costly mistakes, and valuable learnings.

This is not a tutorial about how to install Home Assistant or configure Zigbee, there are hundreds of those. This is about the strategic decisions that matter when you build a home automation system you actually want to use every day, not just when it works. It covers how I got to the current state, from those first steps in 2021 to today.

I'm going to tell you what worked, what didn't, and why. After years of experimenting, some principles emerge once you set aside the marketing.

1. The Central Hub: Why I Chose Home Assistant

I considered SmartThings and Hubitat, but never got around to implementing them. For me the deciding factor was control, not features.

SmartThings and Hubitat are easier to set up, but they tie you to their ecosystems. It's not your fault when Samsung changes its business model or Hubitat drops support for a protocol, but it's your problem: your system breaks and you are the one fixing it on a Sunday.

Home Assistant is harder to configure, but once it works, it's yours. It runs on your hardware, under your control. There are no cloud servers that can disappear. No forced updates that break everything. No third-party dependencies that change the rules of the game.

The learning curve is real. I spent an entire weekend configuring my first installation. But that initial investment pays off when, two years later, your system still works exactly as you configured it, with no surprises. If you can't run it locally, it isn't really yours.

2. Protocols: Zigbee vs. WiFi, and How ESPHome Changed Everything

I started with Zigbee. It's cheaper, has better range, and the mesh network is solid if you configure it well. Temperature, motion, and door sensors are affordable and work well. The problem: standard fragmentation. Not all Zigbee devices are compatible with each other, and some manufacturers implement the protocol questionably. For Zigbee I use the SONOFF Zigbee 3.0 USB Dongle Plus (ZBDongle-P) connected to the Raspberry Pi. It works very well and is stable.

I considered Z-Wave, but being more expensive and somewhat less widespread, I decided not to get into it. It might be more predictable and reliable, but the cost and lower availability of devices didn't justify the investment for my case.

WiFi didn't seem like a good idea at first. It consumes more energy, can saturate your network, and depends on your router working perfectly. Then ESPHome came along and changed how I think about all of it.

ESPHome, which is now partnered with Home Assistant, completely transformed my perspective on WiFi. It's no longer just a protocol for generic devices that depend on proprietary apps. With ESP8266 (super cheap) and ESP32, you can build super specific devices that work completely locally, with no cloud dependencies.

The ESPHome ecosystem keeps growing and improving. You have total control over the firmware, you can customize every aspect of the device, and everything works locally with Home Assistant. I've built custom sensors, switches with specific logic, and devices that simply don't exist in the commercial market.

Now it's almost my favorite. The flexibility to build exactly what you need, at the price you want, with the total control you want, is unmatched. Zigbee is still useful for standard devices that work well out of the box, but for specific projects, ESPHome with WiFi is unbeatable.

3. Automations: Simple, Not Smart

The most common mistake in home automation is trying to make the system "guess" what you want. Machine learning, AI, complex algorithms. Everything sounds great until your system decides that 3 AM is a good time to turn on all the lights because it detected "patterns".

The best automations are the simplest: "If the door opens after 10 PM, turn on the hallway light at 20%". "If the temperature drops below 18°C, turn on the heating". "If there's no movement in the living room for 30 minutes, turn off the lights".

Each automation must have a clear purpose and an obvious trigger. If you need to explain why it activated, it's poorly designed. If your partner or family don't understand why something happened, the system failed. My rule now is that if I can't explain an automation in one sentence, it's too complex.

I tried Node-RED for complex automations. It's powerful, but after a month I realized I was building a system so complex that even I didn't understand what it did. I went back to Home Assistant's native automations, which are more limited and completely predictable, and I have not missed Node-RED once.

4. Hardware: Investment vs. Obsolescence

I spent more money than I should have on devices I ended up replacing. The lesson: don't buy the cheapest, don't buy the most expensive, buy whatever has active support and a community behind it, which is usually something in the middle.

I haven't found any particular brand that's key for Zigbee. Most of the devices I use are the simplest and cheapest I find on AliExpress. For custom projects, ESPHome with ESP8266 or ESP32 gives you total flexibility at minimal cost. I've built specific sensors, switches with custom logic, and devices that simply don't exist commercially.

The hub is the most important piece of hardware and the one you look at least. I started with a Raspberry Pi 4, which worked well for a year until the SD card failed (yes, the classic problem). The solution wasn't to migrate to a mini PC, but simply to use an external SSD instead of the SD card. I'm still using the Raspberry Pi 4 with SSD and the difference in reliability is notable. The hub is the brain of the system, I invested in reliable hardware.

One thing I learned late: don't buy devices that depend on proprietary apps. If a device needs the manufacturer's app to work, it will eventually stop working when the manufacturer decides it's no longer worth maintaining the service.

5. Security: The Elephant in the Room

Your home automation system has access to your home. If someone compromises it, they have access to your home. This is obvious but many ignore it.

Home Assistant by default doesn't expose anything to the internet, which is good. But if you want remote access (and you probably do), you have to expose it. The options: VPN, Cloudflare tunnel, or the Nabu Casa add-on. If you want to go all out, you can configure your own reverse proxy on your self-hosted network, but that's another story.

I have my own local network that gives me external access, I don't depend on third-party services. I use a reverse proxy (Traefik) that runs on Home Assistant for HTTPS access from the internet. This gives me total control over access and I don't depend on external services. It's important to enable two-factor authentication on everything to maintain security. The Cloudflare tunnel is another interesting option if you already use their services, and Nabu Casa is the simplest option if you don't want to configure anything.

The biggest security problem is a human one: updates. Home Assistant updates constantly, and each update can break something. But not updating is worse because security bugs accumulate. The solution: update regularly, but always at a time when you can dedicate time to fixing what breaks.

6. The Real Cost (Not Just Money)

Home automation costs time as much as money. Time configuring, time debugging, time maintaining. If you don't enjoy the process, it's not worth it.

In terms of money: it's impossible to estimate exact numbers, but I've invested in hardware over the years. That includes the hub, sensors, switches, and various devices I replaced. It's not cheap, but it's not prohibitive if you do it gradually.

In terms of time: it's many hours. Initial configuration, debugging, reconfiguration after updates, research when something didn't work. It's hard to quantify, but it's significant.

Is it worth it? For me yes, because I enjoy the process and the result. But if you just want the lights to turn on automatically, buy a basic smart switch and you're done. You don't need a complete system. Home automation is a hobby, and if you don't enjoy the hobby part, the result doesn't justify the cost.

7. Recommendations to Get Started

If you're thinking about automating your home, this is what I would do differently if I started over:

  1. Start small: Don't try to automate the entire house at once. Choose one room or one functionality (for example, lighting) and make it work perfectly before expanding.
  2. Invest in the hub first: Don't buy the cheapest hardware for the hub. It's the most important component and the one you'll change the least.
  3. Document everything: When you configure something, write down how you did it. In six months you won't remember why you chose that specific configuration.
  4. Test before committing: Buy one device of each type first, test it for a month, and only then buy more of the same type.
  5. Keep backups: Home Assistant has automatic backups. Configure them and test restoring one to make sure they work.
  6. Don't depend on the cloud: If a device needs the internet to work, it will eventually stop working. Prioritize devices that work locally.

Where I Am Now

After years of experimenting, the most important thing I learned is that the best automation is the one you don't notice. If you have to think about your home automation system, it's failing.

I'm still going to buy devices that don't work and configure automations that turn out to be more annoying than useful. That part doesn't stop.