indoor security motion sensor mounted on wall

Motion Sensor Automation Ideas: A Beginner’s Guide to Presence Detection, Lighting & Energy Savings

Introduction – Why Motion Sensors Are the Backbone of Smart Home Automation

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 ideas go far beyond simple on/off. With mmWave presence sensors, you can detect someone sitting perfectly still at a desk or sleeping in 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 typeTechnologyDetectsBest forExample price
PIR (Passive Infrared)Heat changesMovementHallways, bathrooms, closets, garages$10–25
mmWave (millimeter wave)Radar reflectionsBreathing, micro‑movements, even stationary peopleOffices, living rooms, bedrooms, home 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. That’s frustrating.

The solution: mmWave presence sensors (e.g., Aqara FP2, Tuya mmWave, HiTrend) keep the lights on as long as you’re in the room – even if you don’t move.

Pro tip for 2026: Use PIR for transient areas (hallways, bathrooms, 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 rules

  • Avoid direct sunlight and heat sources (radiators, vents) – they trigger false positives.
  • Corner mounting gives the widest coverage (usually 90°–120°).
  • Height: 6–8 feet is optimal for PIR. mmWave can be lower or even on a desk.
  • Don’t point at a doorway if you want to detect entry into a room – put it so it sees the door opening, not movement in the hall.

Room‑by‑room placement

RoomSensor typePlacementCoverage goal
BathroomPIR or mmWaveOn ceiling or wall facing the entrance and showerTurn lights/fan on; keep on during shower
Hallway/stairsPIRAt the top and bottom of stairs, or midpointTurn on pathway lights for 1–2 minutes
Living roommmWave (e.g., Aqara FP2)On a wall or TV stand, facing seating areaKeep lights/AV on while watching TV
Home officemmWaveOn desk or wall near workspacePrevent lights/AC from turning off while you work
KitchenPIR + mmWave comboPIR for entrance; mmWave for cooking zonePIR triggers lights; mmWave keeps them on
GaragePIROverhead facing the car entryTurn on lights when door opens

12 Great Motion Sensor Automation Ideas (For 2026)

These are tested, practical automations you can build today with smart hubs like Home Assistant, Hubitat, or even Alexa/Google plus a hub that supports triggers.

1. Lights that follow you – without turning off while you’re still there (mmWave needed)

  • Trigger: mmWave presence sensor detects someone in the living room.
  • Action: Turn on lights to a scene (e.g., evening: 60% warm dim).
  • Stay on as long as presence is detected. No timeout.
  • When no presence for 2 minutes → turn lights off.

💡 This solves the classic “reading a book in the dark” problem.

2. Hallway nightlight (time‑aware motion)

  • Trigger: PIR motion + time between 10pm and 6am.
  • Action: Turn on a low‑wattage LED strip or sconce at 15% brightness.
  • After 2 minutes of no motion → fade off over 10 seconds.
  • Bonus: Use a lux sensor to skip if moonlight is already bright.

3. Bathroom exhaust fan that actually works

  • Trigger: Humidity sensor > 60% AND motion detected in bathroom.
  • Action: Turn on exhaust fan.
  • When humidity drops below 55% AND no motion for 5 minutes → fan off.
  • Why it’s better: Stale timers either run too short (mold) or too long (waste).

4. “Good night” automation – no more lights left on

  • Trigger: Bedroom mmWave sensor detects no presence after 11pm + all exterior doors closed.
  • Action: Turn off all lights, lower thermostat, lock doors, close garage.
  • Confirmation: Send a notification: “House is asleep. Good night.”

5. Motion‑activated music in the shower

  • Trigger: Motion in bathroom + time between 6am–9am.
  • Action: Start your favorite morning playlist on a bathroom smart speaker.
  • When no motion for 5 minutes → pause music.

6. Driveway alert with false‑alarm reduction

  • Trigger: Outdoor PIR or mmWave + AI person detection (e.g., Reolink, Frigate).
  • Action: Send a mobile notification with snapshot, turn on porch light.
  • Avoid: Waking you up for a cat. Use person‑detection‑capable cameras or a camera + motion sensor combo.

7. Home theater setup – pause = lights up

  • Trigger: Plex/Apple TV/Kodi input changes to “paused” (via Home Assistant).
  • Action: Bring lights up to 30% over 3 seconds.
  • Trigger: Media resumes → dim lights back to 5% over 5 seconds.
  • Alternative with motion: If no motion in theater for 20 minutes → turn off projector and receiver.

8. Under‑cabinet lighting that knows when you’re cooking

  • Trigger: Motion in kitchen + time after sunset OR lux < threshold.
  • Action: Turn on under‑cabinet LED strips at 80%.
  • Keep on while presence detected (mmWave). No annoying turn‑off while chopping vegetables.

9. Pet‑friendly motion (ignore animals under 40 lbs)

  • Use a sensor with pet immunity (many PIR sensors have a setting) or pair with a camera that ignores pets.
  • Automation: Only trigger security alerts for human‑sized motion.
  • For lights: Small pets should not turn on lights at 3am. Place PIR sensors above 4ft facing downward to skip floor level.

10. Office “do not disturb” indicator

  • Trigger: mmWave presence sensor detects someone in home office.
  • Action: Turn a smart LED strip outside the office door to red.
  • When no presence → change to green.
  • Integrate with calendar: If a meeting is active, also mute doorbell chimes.

11. Closet and pantry lights – instant on/off

  • Trigger: Door contact sensor (opens) OR motion inside (PIR).
  • Action: Turn on LED strip lights at 100%.
  • Off trigger: Door closes OR no motion for 30 seconds.
  • Why this works: No fumbling for switches. Also works for wine cellars, gun safes, etc.

12. Presence‑based climate control (HVAC savings)

  • 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 winter, 85°F summer).
  • When any room detects presence → resume normal schedule.
  • Potential savings: 10–20% on heating/cooling.

Complete Automation Setup Example (with Home Assistant & Aqara FP2)

Here’s a step‑by‑step for a living room that works without timers:

Hardware

  • Aqara FP2 mmWave presence sensor (also has light sensor)
  • Philips Hue or Zigbee bulbs
  • Home Assistant (or Hubitat)

Automation logic

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 points: The presence sensor is always updating. When it goes “off”, we wait 2 minutes then double‑check before turning off lights.


Buying Guide – Best Motion & Presence Sensors (2026)

ModelTypeHub neededBatteryFeaturesPrice
Aqara FP2mmWaveNo (WiFi)MainsZones, fall detection, light sensor, multi‑person$80
Aqara P1PIRAqara hub or Zigbee2 yearsCompact, 170° field$20
ThirdReality Motion SensorPIRZigbee2 yearsWorks with Echo (Zigbee)$18
Philips Hue Motion SensorPIRHue hub3 yearsTemperature & light sensor$40
Tuya mmWave (various brands)mmWaveZigbee or WiFiUSBSmall, cheap$25–35
Zooz ZSE40 (Z‑Wave)PIRZ‑Wave hub2 years4‑in‑1 (motion, temp, humidity, light)$40
Shelly Motion 2PIRWiFi1 yearIP55 outdoor, local API$35

Recommendations:

  • Best mmWave for most people: Aqara FP2 (no hub, works with Home Assistant and Alexa via Matter)
  • Best budget mmWave: Tuya mmWave (needs Zigbee hub like Sonoff)
  • Best PIR value: ThirdReality (for Echo users) or Aqara P1 (if you have a Zigbee stick)
  • Best for outdoor: Shelly Motion 2 (IP55) or Ring motion (with Ring Alarm)

Common Mistakes and How to Avoid Them

❌ Mistake✅ Fix
Using PIR where people sit stillUse mmWave for offices, living rooms, bedrooms
No time‑based conditionsLights turn on during daytime when not needed – add sunrise/sunset or lux sensor
Short timeout in bathroomsSet 10–15 minutes timeout for shower areas
Motion sensor pointed at a windowDirect sunlight or moving cars trigger false alerts – re‑aim or mask the sensor
Forgetting auto‑off for HVACAlways add a “vacant for 30 min” condition before setback
Placing sensor behind a TV or glassPIR cannot see through glass; mmWave is fine but may reflect

Privacy Note – Where NOT to Put Motion Sensors

  • Bedrooms (inside) only with mmWave that can be set to not record/process video – the Aqara FP2 does NOT contain a camera (radar only). That’s safe.
  • Bathrooms – avoid cameras at all costs. mmWave radar is fine because it returns only a point cloud, not an image.
  • Children’s rooms – use PIR if possible (less detailed). If mmWave, disable fall detection and zone logging.
  • Outdoor – if using a camera with motion detection, never point it at a neighbor’s property.

For a complete guide to smart home privacy, see our Smart Home Security section.


From Ideas to Reality – What You Need to Build These Automations

Option A: Simple (Alexa/Google + Zigbee hub)

  • Buy an Echo (4th gen) or Echo Show (Zigbee built‑in)
  • Get ThirdReality motion sensors and smart plugs
  • Use Alexa Routines: Trigger = Motion sensor “detects motion” → Action = turn on plug or light.
  • Limitation: No mmWave support, no presence detection, no complex conditions.

Option B: Advanced (Home Assistant + Zigbee/Thread)

  • Install Home Assistant on a Raspberry Pi 5 or older PC (free)
  • Add a Zigbee dongle (Sonoff, SkyConnect $25)
  • Buy Aqara FP2 (mmWave) + Aqara P1 for other areas
  • Build unlimited automations with presence detection, time, lux, and humidity.

Our recommendation for beginners: Start with Option A (Echo + cheap PIR). If you love it, invest in Home Assistant and one mmWave sensor for your main living space. The upgrade path is smooth.


Conclusion – Motion Sensors Make Your Home Responsive

Motion sensor automation is no longer about “lights on for 5 minutes.” With modern mmWave presence sensors, you can create an environment that knows when you’re in a room, when you’re sitting still, and even when you’re sleeping.

Start small:

  1. Put a PIR sensor in your hallway or pantry.
  2. Set a simple routine: motion → light on for 2 minutes.
  3. Once you trust it, add time conditions and lux.

Then upgrade one room with an mmWave sensor (Aqara FP2). You’ll never want to use a light switch again.

For more home automation ideas (updated for 2026). And don’t forget to pair motion sensors with smart plugs for even more control.