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.

~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 on how to install Home Assistant or configure Zigbee. There are hundreds of those. This is a manifesto 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 talks about how I got to the current state, from those first steps in 2021 to today.

I'm going to be honest about what worked, what didn't, and why. Because after years of experimenting, there are principles that emerge when you set aside the marketing and focus on what really matters: a system that improves your life, not complicates it.

1. The Central Hub: Why I Chose Home Assistant

I considered SmartThings and Hubitat, but never got around to implementing them. The difference isn't in the features, it's in control.

SmartThings and Hubitat are easier to set up, but they tie you to their ecosystems. When Samsung decides to change its business model or when Hubitat stops supporting a certain protocol, your system breaks. It's not your fault, but it's your problem.

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.

Principle: If you can't run it locally, it's not really yours. The cloud is convenient until it isn't.

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 robust 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. But everything changed with ESPHome.

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.

Principle: The best protocol is the one that gives you the control you need. Sometimes that means buying standard devices, sometimes it means building them yourself.

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.

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. They're more limited, but they're predictable.

Principle: If you can't explain an automation in one sentence, it's too complex.

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, but don't buy the most expensive either. Buy what has active support and a community behind it.

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 most important hardware isn't the most visible: the hub. 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.

Principle: Cheap hardware is expensive when you have to replace it every year.

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 isn't technical, it's human: 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.

Principle: Security is a process, not a state. If you're not updating, you're going backwards.

6. The Real Cost (Not Just Money)

Home automation isn't just money. It's time. 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.

Principle: Home automation is a hobby, not an investment. If you don't enjoy the process, 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.

Conclusion: Simplicity Over Complexity

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

A successful home automation system isn't the one with the most features or the one using the most advanced technology. It's the one that improves your life without you having to think about it. The lights turn on when you need them. The temperature adjusts automatically. The doors close when you leave.

Everything else, the technology, the protocols, the hardware, are just means to that end. Don't fall in love with the technology. Fall in love with the result.

If you're starting out, remember: it's a journey, not a destination. You're going to make mistakes. You're going to buy devices that don't work. You're going to configure automations that are more annoying than useful. That's fine. What matters is learning from each mistake and building a system that truly improves your life.

And if after all this you decide that home automation isn't for you, that's fine too. Not everyone needs to automate their home. But if you decide to try it, I hope these principles help you avoid some of the mistakes I made.