A motion sensor is one of the most versatile tools in home automation. It turns a “dumb” room into one that responds to you. But the old approach—motion turns lights on for 5 minutes, then off—is only scratching the surface.
Modern motion sensor automation goes far beyond simple on/off commands. With mmWave presence sensors, you can detect someone sitting perfectly still at a desk or sleeping in a bed. You can create scenes that change based on time of day, occupancy, and natural light.
This guide will give you practical, ready-to-use automations for:
- Lighting that follows you (without turning off while you read)
- Energy savings that actually work
- Security and notifications that reduce false alarms
- Entertainment and comfort scenes that wow guests
- Smart climate control based on room occupancy
We’ll cover both PIR (motion) and mmWave (presence) sensors, plus when to use each. By the end, you’ll be able to build automations that feel like magic—not like a faulty timer.
New to home automation? Start with our Smart Plug Routines Guide to learn the basics before adding motion sensors.
Motion vs. Presence: What’s the Difference? (Critical for 2026)
This is the single most important concept in motion sensor automation.
| Sensor Type | Technology | Detects | Best For | Typical Price |
| PIR (Passive Infrared) | Heat changes | Large physical movement | Hallways, bathrooms, closets, garages | $10–$25 |
| mmWave (Radar) | Radar reflections | Breathing, micro-movements, stationary people | Offices, living rooms, bedrooms, theaters | $30–$70 |
- The problem with PIR: If you sit still reading or typing for 10 minutes, a PIR sensor will declare the room vacant and turn off the lights.
- The solution: mmWave presence sensors (e.g., Aqara FP2, Tuya mmWave) keep the lights on as long as you’re in the room—even if you don’t move a muscle.
Pro Tip: Use PIR for transient areas (hallways, pantries). Use mmWave for occupied spaces (living rooms, offices, bedrooms).
Where to Place Motion Sensors for Best Results
Poor placement is the #1 cause of bad automations.
General Placement Rules
- Avoid heat sources: Direct sunlight and radiators trigger false positives for PIR sensors.
- Embrace corners: Corner mounting gives the widest coverage (usually 90°–120°).
- Mind the height: 6–8 feet is optimal for PIR. mmWave can be mounted lower, or even sit directly on a desk.
- Watch the doors: Don’t point a sensor directly at an open doorway if you only want to detect entry into a specific room.
Room-by-Room Strategy
| Room | Sensor Type | Ideal Placement | Automation Goal |
| Bathroom | PIR or mmWave | Ceiling or wall facing the shower | Turn lights/fan on; keep them on during a shower. |
| Hallway / Stairs | PIR | Top/bottom of stairs, or midpoint | Turn on pathway lights for 1–2 minutes. |
| Living Room | mmWave | Wall or TV stand, facing seating | Keep lights/AV active while watching TV. |
| Home Office | mmWave | On a desk or wall near workspace | Prevent lights/AC from turning off while working. |
| Kitchen | PIR + mmWave | PIR for entry; mmWave for prep area | PIR triggers lights instantly; mmWave keeps them on. |
| Garage | PIR | Overhead, facing the car entry | Turn on overhead lights when the door opens. |
12 Great Motion Sensor Automation Ideas
These are tested, practical automations you can build today with smart hubs like Home Assistant, Hubitat, or even Alexa/Google (with a compatible hub).
1. Lights That Follow You (mmWave)
- Trigger: mmWave sensor detects someone in the living room.
- Action: Turn on lights to a specific scene (e.g., 60% warm dim). Stay on as long as presence is detected with no timeout.
- Off: When no presence is detected for 2 minutes → turn lights off. (This solves the classic “reading a book in the dark” problem).
2. Time-Aware Hallway Nightlight
- Trigger: PIR motion + time is between 10 PM and 6 AM.
- Action: Turn on a low-wattage LED strip or sconce at 15% brightness.
- Off: After 2 minutes of no motion → fade off over 10 seconds. (Bonus: Use a lux sensor to skip this if moonlight is already bright enough).
3. The Smart Bathroom Exhaust Fan
- Trigger: Humidity sensor > 60% AND motion detected in bathroom.
- Action: Turn on the exhaust fan.
- Off: When humidity drops below 55% AND no motion for 5 minutes → fan off. (Why it’s better: “Dumb” timers either run too short, causing mold, or too long, wasting energy).
4. “Good Night” Automation
- Trigger: Bedroom mmWave sensor detects no presence after 11 PM + all exterior doors are closed.
- Action: Turn off all lights, lower thermostat, lock doors, close garage.
- Confirmation: Send a mobile notification: “House is asleep. Good night.”
5. Motion-Activated Shower Music
- Trigger: Motion in bathroom + time is between 6 AM–9 AM.
- Action: Start your morning playlist on a bathroom smart speaker.
- Off: When no motion is detected for 5 minutes → pause music.
6. Driveway Alert (Without the False Alarms)
- Trigger: Outdoor PIR + AI person detection (e.g., Reolink, Frigate).
- Action: Send a mobile notification with a snapshot, turn on porch light. (Avoid waking up for a stray cat by using person-detection-capable cameras).
7. Home Theater: Pause = Lights Up
- Trigger: Media input (Plex/Apple TV) changes to “paused”.
- Action: Bring lights up to 30% over 3 seconds.
- Off: Media resumes → dim lights back to 5% over 5 seconds.
8. Cooking-Aware Under-Cabinet Lighting
- Trigger: Motion in kitchen + time after sunset (or lux is below threshold).
- Action: Turn on under-cabinet LED strips at 80%.
- Off: Keep on while presence is detected via mmWave. No annoying shut-offs while chopping vegetables.
9. Pet-Friendly Security Motion
- Setup: Use a sensor with pet immunity, or place PIR sensors above 4ft facing downward to skip floor-level movement.
- Action: Small pets should not trigger security alerts or turn on the main lights at 3 AM.
10. Office “Do Not Disturb” Indicator
- Trigger: mmWave presence sensor detects someone in the home office.
- Action: Turn a smart LED strip outside the office door to red.
- Off: When no presence is detected → change to green. (Pro move: If a calendar meeting is active, automatically mute doorbell chimes).
11. Instant-On Closet & Pantry Lights
- Trigger: Door contact sensor opens OR PIR motion inside.
- Action: Turn on LED strip lights at 100%.
- Off: Door closes OR no motion for 30 seconds. (No fumbling for switches; perfect for wine cellars and safes).
12. Presence-Based Climate Control
- Trigger: mmWave sensors in all major rooms show no occupancy for 30 minutes.
- Action: Set thermostat to an energy-saving setback (e.g., 58°F in winter, 85°F in summer).
- Off: When any room detects presence → resume normal schedule.
Automation Setup Example (Home Assistant & Aqara FP2)
Here’s the raw logic for a living room that works flawlessly without timers, using an Aqara FP2 and Zigbee bulbs in Home Assistant.
YAML
alias: Living Room Presence Lighting
trigger:
- platform: state
entity_id: binary_sensor.living_room_presence
to: "on"
- platform: state
entity_id: binary_sensor.living_room_presence
to: "off"
condition:
- condition: time
after: "16:00:00"
before: "23:00:00"
action:
- choose:
- conditions: "{{ trigger.to_state.state == 'on' }}"
sequence:
- service: light.turn_on
target:
entity_id: light.living_room_lamp
data:
brightness: 200
color_temp: 370
- conditions: "{{ trigger.to_state.state == 'off' }}"
sequence:
- delay: "00:02:00"
- condition: state
entity_id: binary_sensor.living_room_presence
state: "off"
- service: light.turn_off
target:
entity_id: light.living_room_lamp
mode: single
Key point: The presence sensor is always updating. When it goes “off”, we wait 2 minutes, then double-check the state before turning off the lights to ensure you haven’t just stepped out for a glass of water.
2026 Buying Guide: Best Motion & Presence Sensors
| Model | Type | Hub Needed | Battery/Power | Features | Price |
| Aqara FP2 | mmWave | No (Wi-Fi) | Mains / USB | Zones, fall detection, multi-person | $80 |
| Aqara P1 | PIR | Aqara or Zigbee | 2 years | Compact, 170° field of view | $20 |
| ThirdReality | PIR | Zigbee | 2 years | Works directly with Echo | $18 |
| Hue Motion | PIR | Hue Hub | 3 years | Temperature & lux sensor built-in | $40 |
| Tuya mmWave | mmWave | Zigbee/Wi-Fi | USB | Small, highly affordable | $25–$35 |
| Zooz ZSE40 | PIR | Z-Wave Hub | 2 years | 4-in-1 (motion, temp, humidity, light) | $40 |
| Shelly Motion 2 | PIR | No (Wi-Fi) | 1 year (Recharge) | IP55 outdoor, local API | $35 |
Recommendations:
- Best mmWave for most: Aqara FP2 (No hub required; works with Home Assistant and Alexa via Matter).
- Best budget mmWave: Tuya mmWave (Needs a Zigbee coordinator).
- Best PIR value: ThirdReality (for Echo users) or Aqara P1 (for Zigbee stick users).
Common Mistakes & How to Avoid Them
| Mistake | The Fix |
| Using PIR where people sit still | Use mmWave for offices, living rooms, and bedrooms. |
| No time-based conditions | Lights turning on during the daytime is annoying. Always add a sunrise/sunset or lux sensor condition. |
| Short timeouts in bathrooms | Set a 10–15 minute timeout for shower areas to avoid sudden darkness. |
| Sensor pointed at a window | Direct sunlight or moving cars will trigger false alerts. Re-aim or digitally mask the sensor. |
| Forgetting auto-off for HVAC | Always add a “vacant for 30 min” buffer condition before triggering an HVAC setback. |
| Placing sensor behind glass | PIR cannot see through glass. mmWave can, but it may reflect improperly. |
Privacy Note: Where NOT to Put Motion Sensors
- Bedrooms: Only use mmWave sensors that do not record or process video. The Aqara FP2 uses radar point clouds, not a camera lens, making it completely safe for private spaces.
- Bathrooms: Avoid cameras at all costs. Again, mmWave radar is fine because it cannot generate an image.
- Children’s Rooms: Use basic PIR if possible. If using mmWave, disable extra features like zone logging or fall detection.
- Outdoors: If using a camera/motion combo, ensure you mask out your neighbor’s property to avoid recording their movements.
From Ideas to Reality: What You Need
Option A: Simple (Alexa/Google + Hub)
Buy an Echo (4th gen) with Zigbee built-in. Get a ThirdReality motion sensor and a smart plug. Use Alexa Routines to trigger the plug when motion is detected. It’s completely plug-and-play, though you won’t have complex mmWave presence detection.
Option B: Advanced (Home Assistant + Zigbee/Z-Wave)
Install Home Assistant. Add a Zigbee dongle and buy an Aqara FP2 (mmWave) for your main room, paired with cheaper Aqara P1s for hallways. This allows for unlimited automations using presence, time, lux, and humidity data.
Conclusion
Motion sensor automation is no longer about “lights on for 5 minutes.” With modern mmWave presence sensors, you can create a zero-wiring environment that intrinsically knows when you’re in a room, when you’re sitting still, and even when you’re sleeping.
Start small: Put a renter-friendly, battery-powered PIR sensor in your hallway. Set a simple routine. Once you trust it, add time conditions and lux. Then, upgrade your main room with an mmWave sensor. Once you experience true presence detection, you’ll never want to touch a physical light switch again.

