After 2+ years of tweaking and testing smart lighting automations in my Home Assistant setup, I’ve learned there’s a huge difference between lights that technically work and lights that feel magical. You know what I mean — the difference between walking into a room and frantically waving your arms at a motion sensor versus lights that just know you’re there.
I’m Wayne, a Software Engineer at eBay, and I’ve spent way too much time (and money) figuring out smart lighting that actually makes life better instead of more frustrating. Here’s everything I’ve learned about building lighting automations that work reliably, feel natural, and won’t drive your family crazy.
This isn’t another generic “turn on lights with motion” tutorial. We’re talking about advanced presence detection, circadian lighting, room-aware automations, and the kind of setup that makes guests ask “how did your house know to do that?”
Why Most Smart Lighting Setups Suck (And How to Fix Yours)
Let me guess — you set up some motion sensors, created a basic automation, and now you’re dealing with:
- Lights turning off while you’re sitting still on the couch
- Bright white light blasting you at 2 AM when you stumble to the bathroom
- Lights taking forever to respond or not triggering at all
- Different rooms fighting each other with conflicting automations
- Your spouse threatening to go back to “dumb” switches
I’ve been there. I once spent three hours debugging why my living room lights kept turning on when nobody was home, only to discover our cat was triggering the motion sensor. The problem wasn’t the sensor — it was my oversimplified automation logic.
Here’s what I learned: good lighting automation isn’t about sensors and switches. It’s about understanding context. The same person in the same room might want different lighting based on time of day, what they’re doing, and what’s happening in other parts of the house.
The Foundation: Choosing the Right Smart Lighting Hardware
Before we dive into Home Assistant automations, let’s talk hardware. I’ve tested probably 20 different smart bulbs, switches, and sensors over the past two years. Here’s what actually works:
Smart Bulbs vs Smart Switches: What I Use Where
Smart bulbs are perfect for lamps and fixtures where you want full color and brightness control. I use Philips Hue bulbs in key areas like the living room floor lamps and bedroom reading lights. They’re expensive, but the color accuracy and Home Assistant integration are rock solid.
Smart switches work better for hardwired fixtures, especially if you have regular LED bulbs you’re happy with. I learned this the hard way when I tried putting smart bulbs in ceiling fixtures — family members kept using the wall switch, turning the “smart” bulbs into expensive dumb bulbs.
Pro tip: If someone in your house still instinctively reaches for wall switches (spoiler: they will), go with smart switches instead of smart bulbs.
Motion Sensors That Actually Work
After testing everything from cheap Zigbee sensors to fancy mmWave radar, here’s what I recommend:
For basic motion detection: Aqara Motion Sensor P1. Reliable, good battery life, and perfect for bathrooms and hallways where you just need “someone walked in” detection.
For presence detection: This is where it gets interesting. Regular motion sensors suck at knowing when someone is still in a room but not moving. I spent 00 on Everything Presence Lite sensors with mmWave radar, and honestly? Game-changer.
The mmWave sensors can detect when you’re sitting still on the couch, working at your desk, or even breathing while you sleep. No more lights turning off mid-Netflix session.
The Zigbee vs Wi-Fi Decision
Here’s my take after running both: Zigbee wins for reliability. Wi-Fi smart bulbs are cheaper upfront, but they bog down your network and drop offline randomly. I switched my entire setup to Zigbee using the Home Assistant SkyConnect USB dongle and haven’t looked back.
Zigbee devices create a mesh network, so each device actually strengthens your overall smart home connectivity. Plus, they work locally with Home Assistant — no cloud dependency or internet outages killing your lighting.
Setting Up Your Home Assistant Lighting Foundation
Alright, let’s get into the good stuff. I’m assuming you already have Home Assistant running (if not, check out my complete setup guide first). Here’s how to build lighting automations that actually feel intelligent.
Step 1: Install the Essential Integrations
Before creating any automations, make sure you have these integrations set up:
- Zigbee Home Automation (ZHA) – For your Zigbee devices
- Adaptive Lighting – Essential for circadian lighting
- Presence Simulation – For security when you’re away
The Adaptive Lighting integration alone will change how you think about smart lighting. It automatically adjusts color temperature and brightness based on the sun’s position, so your lights feel natural throughout the day.
Step 2: Create Lighting Groups and Areas
Organization is key. Group lights by room and function, not just by device type. Here’s how I structure mine:
light:
- platform: group
name: Living Room All
entities:
- light.living_room_ceiling
- light.floor_lamp_left
- light.floor_lamp_right
- light.tv_bias_lighting
- platform: group
name: Living Room Ambient
entities:
- light.floor_lamp_left
- light.floor_lamp_right
- light.tv_bias_lighting
This lets me control “all lights” for cleaning or “ambient lights” for movie time with a single automation.
Advanced Features: Voice Control and Dashboard Integration
Once your basic lighting automations are rock solid, here are some power-user features that are actually useful:
Voice Control That Doesn’t Suck
I use an Echo Dot connected to Home Assistant via the Alexa integration. The key is creating scenes with natural names:
- “Movie time” – Dims everything and turns on bias lighting
- “Reading mode” – Bright, cool light over the couch
- “Bedtime” – Turns off everything except low hallway lighting
- “Good morning” – Gradually brings up all lights to full brightness
Dashboard Control for Guests
I mounted a Fire HD 10 tablet in the main hallway with a simplified lighting dashboard. Guests can control lights without needing to understand our automation logic or find physical switches.
Energy Monitoring: The Hidden Benefit
One unexpected benefit of smart lighting: detailed energy monitoring. Using smart plugs with energy monitoring on lamps and the built-in monitoring on smart switches, I can see exactly how much each light costs to run.
Turns out our old incandescent hallway light was costing /month just for the hours it was accidentally left on. The smart LED replacement costs /usr/bin/bash.30/month and never gets left on.
Conclusion: Building Lighting That Feels Like Magic
Good smart lighting automation isn’t about having the most sensors or the fanciest bulbs. It’s about understanding how people actually use lighting and building systems that enhance that experience instead of complicating it.
The goal isn’t to impress your tech friends (though you will). The goal is to make lighting so natural and intuitive that your family forgets they’re using a “smart” system at all.
Start simple — get motion sensors working reliably in one room before expanding to the whole house. Focus on the automations that solve real problems (like bathroom lighting at night) before building elaborate multi-room sequences.
Most importantly, remember that the best smart home technology is invisible. When lights just work the way you expect them to, when they anticipate your needs without being creepy, when they make life a little bit easier every single day — that’s when you know you’ve built something worthwhile.
Have questions about specific lighting scenarios or want to see my actual Home Assistant configurations? Drop me a line — I love talking shop with fellow home automation enthusiasts who understand the difference between “technically working” and “actually useful.”
1 thought on “Smart Lighting Automation with Home Assistant: From Basic Motion to Advanced Presence Detection (2026)”
Pingback: Smart Garage Door Automation with Home Assistant: Complete ESP32 ratgdo Setup Guide (2026) - Home Automation Workshop
Comments are closed.