Motion-Triggered Lights That Turn Off When Someone Is Still in the Room

When motion lights turn off while you are still in the room, the PIR sensor has stopped detecting you. Here is how to extend the visibility timeout intelligently.

Motion-Triggered Lights That Turn Off When Someone Is Still in the Room
Difficulty Beginner
Estimated time 20 minutes
Last tested May 2026
Verified on HomeKit, Alexa, SmartThings

You walk into a room. The motion-activated lights turn on. You sit down on the couch. You stay still for a few minutes. The lights turn off, leaving you in the dark. You wave your arms. The lights come back. You sit still again. The lights turn off again. This is one of the most common motion-light frustrations and the cause is fundamental to how PIR sensors work.

How PIR sensors detect motion

Passive infrared sensors detect changes in heat patterns in their field of view. A warm body moving across the sensor’s view causes the heat pattern to shift, which the sensor reads as motion.

A warm body sitting still in the field of view does not change the heat pattern. After a short period (typically 30-60 seconds), the sensor’s internal logic decides motion has stopped, even though you are still there.

This is not a sensor defect. It is the fundamental limitation of PIR technology.

The timeout that controls it

Your motion automation has a timeout: “turn off lights X minutes after motion stops”. The default is often too short for activities where you sit still (reading, watching TV, working at a desk).

Extend the timeout. For a living room, 20-30 minutes is reasonable. For a bedroom where you might lie still, 60 minutes. The sensor will still detect periodic movement (turning a page, shifting position) and reset the timer.

The hand-wave workaround

If your timeout is short and you find yourself in the dark, a brief hand wave resets the motion sensor. The sensor sees the wave, registers new motion, and the timeout restarts.

This is a workaround, not a fix. The right solution is a longer timeout.

Multiple sensors for coverage

For a large room, one motion sensor cannot cover everywhere. Add multiple sensors:

  • One near the entrance to detect arrival
  • One pointing at the seating area to detect occupancy
  • One in alternative-use zones (desk, reading chair)

The automation triggers on motion from any sensor and stays on as long as any sensor sees motion in the last X minutes.

Use mmWave sensors for presence

Millimeter-wave (mmWave) sensors detect presence rather than motion. They can sense a stationary person by their breathing micro-motion. Unlike PIR, they continue to register presence as long as someone is in the room.

mmWave sensors have become more affordable. The Aqara FP2 is popular. The cost is higher than PIR and the false-positive rate for inanimate objects (curtains moving in airflow) can be higher.

For rooms where the PIR keeps turning off the lights inappropriately, mmWave is the cleanest upgrade.

Combine PIR with door contacts

If you can track whether someone has entered or exited the room, you can keep lights on while occupied even if PIR sees no motion.

Logic: turn on lights on motion. Keep lights on until door is opened (suggesting someone left). Turn off lights with a delay after door open if no further motion detected.

This combination handles the still-person case well. Implementation depends on your automation engine.

The lux sensor backup

Some setups combine motion with an ambient light sensor. If motion-triggered lights are about to turn off but the ambient light is still low (dark outside), keep them on.

This is a workaround for the still-person case. It assumes someone is probably still there if the room is still dark.

Different timeouts for different times

You might want a short timeout during the day (just for transient passage) and a long timeout in the evening (when you settle in for hours).

Set up two motion automations:

  • Daytime: motion triggers lights, timeout 5 minutes
  • Evening: motion triggers lights, timeout 60 minutes

The condition that distinguishes them is the time of day (or whether ambient light is below a threshold).

The TV exception

If your TV is in the room, watching TV often involves long stretches of stillness. The motion sensor sees no motion and turns off the lights mid-show.

Solution 1: detect TV state. If the TV is on, do not turn off the lights regardless of motion.

Solution 2: use mmWave or another presence sensor that handles stillness.

Solution 3: have a button or voice command to disable the motion timeout for the current viewing session.

Reduce the trigger sensitivity

If your PIR is too sensitive and triggers on small movements (a pet, a curtain), it may also be reporting motion when there is no real activity. Reducing sensitivity helps with false triggers but can also reduce real motion detection.

This is a balance. For rooms with pets, reducing sensitivity is usually worth it. For rooms with quiet adults who sit still, sensitivity should be at maximum.

Position the sensor for the use case

A PIR mounted high on a wall, pointing down at a seating area, will see large movements (someone standing up). It will miss small movements (someone shifting on the couch). Adjust mounting angle to point at the area you want covered, at the height people sit or stand.

For a TV-watching room, mounting at TV height so the sensor sees the whole couch helps capture small movements.

The minimum manual override

For any motion-controlled room, provide an easy manual override. A wall switch, a smart button, a voice command. When someone needs the lights to stay on regardless of motion, they can override.

The override should turn off automatically after some long timeout (4 hours) so it does not stay engaged indefinitely.

The mmWave upgrade path

If you keep fighting the still-person problem with PIR sensors, consider replacing the offending sensor with an mmWave (millimeter-wave) sensor. Devices like the Aqara FP2 detect presence through micro-motion rather than larger movement, so a person sitting still on the couch is still detected.

The cost is higher and false positives from pets or moving curtains are more common, but for living rooms where stillness is normal, mmWave eliminates the most common motion-light frustration. The broader topic of motion sensor placement is in our Aqara sensor guide.

The bedroom-specific tuning

Bedroom motion sensors need different timeout settings than hallways. Hallway sensors should reset quickly (1-2 minutes); bedrooms benefit from 10-15 minute timeouts because people often sit still while reading or watching shows. Use room-specific timeout values rather than a global setting. The wider topic of motion sensor patterns is in our Aqara sensor guide.

Works with
HomeKitAlexaSmartThings

Frequently asked questions

Why does my PIR work fine when I am walking but not when I am sitting?

PIR detects movement in the heat pattern. Walking changes the pattern continuously. Sitting still does not. The sensor's algorithm correctly reports no motion in the still case.

Will mmWave sensors trigger on my pet?

Yes, mmWave detects any movement including pets. Some advanced sensors distinguish human-sized presence from smaller, but most do not.

How long should my motion timeout be?

For passage areas (hallways), 2-5 minutes. For seating areas, 20-60 minutes. For bedrooms, 60-90 minutes. Tune based on observed false-off events.

Can I use multiple motion sensors in one automation?

Yes. Most engines support "any of these sensors detects motion" as a trigger. Combine sensors to cover an area better than a single sensor can.

Does PIR detection range extend further at night?

Slightly. Cooler ambient temperatures make the contrast between body heat and surroundings sharper. Daytime detection range is reduced when the surroundings are also warm.

What about radar sensors?

Microwave radar sensors detect movement at longer ranges and through some materials. They can detect a person in an adjacent room, which is sometimes too sensitive. For room-bounded detection, mmWave at the right power level is better.