Presence detection is the set of techniques a smart home uses to determine whether people are at home, away, or in a particular room, so that automations can react to their arrival, departure or occupancy. In home automation, it is one of the most valuable triggers, because it lets the house act on actual presence instead of fixed schedules.
Presence detection works at two levels. Home-level presence, often implemented through geofencing on a smartphone, answers whether anyone is home. Room-level presence uses sensors to tell whether a specific space is occupied, even when people sit still.
How presence detection works
Presence detection works by collecting signals that correlate with a person’s location and converting them into a simple state such as home or away. Each signal has its own delay and error rate, so robust systems combine several sources and apply rules to reach a decision, a technique often called sensor fusion.
Geofencing uses the phone’s location services to detect when it crosses a virtual boundary around the home, typically with a radius of 100 to 300 m. Network-based methods check whether a phone is connected to the home Wi-Fi, while Bluetooth Low Energy beacons and millimeter-wave radar sensors provide room-level detail.
The table below compares the main presence detection methods.
| Method | Detects | Typical delay | Main weakness |
|---|---|---|---|
| Geofencing | Phone entering or leaving an area | Seconds to a few minutes | Battery saving delays location updates |
| Wi-Fi connection | Phone on the home network | Seconds to minutes | Phones sleep and drop Wi-Fi |
| Bluetooth beacon or tag | Phone or tag near a receiver | A few seconds | Range varies with walls and bodies |
| PIR motion sensor | Movement of warm bodies | Under one second | Misses people sitting still |
| mmWave radar sensor | Movement and micro-motion, such as breathing | Under one second | Can react to fans or curtains |
| Door and lock events | Entry and exit actions | Instant | Does not identify who is present |
Home-level and room-level presence
Home-level and room-level presence answer different questions and suit different automations. Home-level presence drives away mode, security arming and heating setbacks, while room-level presence controls lights, ventilation and media in the occupied space.
| Level | Question answered | Typical automations |
|---|---|---|
| Home level | Is anyone home | Away mode, alarm arming, heating setback |
| Person level | Which person is home | Personal scenes, notifications, welcome messages |
| Room level | Is this room occupied | Lights, fans, room heating |
| Zone level | Where in the room is someone | Desk lamp, sofa lighting, bed sensors |
Distinguishing motion from presence is the key technical point at room level. A passive infrared sensor detects motion, so lights switch off while someone reads quietly. Presence sensors based on 24 GHz or 60 GHz radar detect small movements such as breathing and keep the room marked as occupied.
Designing reliable presence rules
Reliable presence rules combine fast signals for arrival with conservative logic for departure. Arrival should be detected early, for example from geofencing or the front door opening, while departure should be confirmed by several signals and a delay of 5 to 15 minutes to avoid false away states when a phone briefly loses Wi-Fi.
- Use an “anyone home” group so the house enters away mode only when every tracked person has left.
- Add hysteresis: require a longer time to switch to away than to switch to home.
- Pair geofencing with a local signal such as Wi-Fi, Bluetooth or a door sensor.
- Handle guests and pets, who carry no phone and may trigger motion sensors.
The following decision table matches common goals with an appropriate detection strategy.
| Goal | Recommended method | Reason |
|---|---|---|
| Heat the home before arrival | Geofencing with a large radius | Gives time for the heating to respond |
| Arm the alarm on departure | Geofencing plus door and Wi-Fi checks | Avoids arming with people inside |
| Keep office lights on while seated | mmWave presence sensor | Detects stillness that PIR misses |
| Turn on hallway lights at night | PIR motion sensor | Fast, cheap and battery friendly |
Presence detection compared with related triggers
Presence detection is one type of trigger in an automation rule, alongside time-based, device-state and manual triggers. Compared with a time-based automation, it adapts to irregular routines; compared with a smart button, it requires no action from the user. Platforms such as Home Assistant, Apple Home, Google Home and Samsung SmartThings all expose presence as a trigger, but they differ in how they combine signals.
Presence-based rules are more efficient but less predictable than schedules. A heating schedule always runs at 06:30, while a presence-based setback saves energy on irregular days yet depends on the phone sharing its location correctly.
Presence detection also overlaps with away mode, but the two are not the same. Away mode is a state of the home that bundles several actions, such as arming the alarm, lowering heating and simulating occupancy with lights. Presence detection is the input that decides when to enter or leave that state. Many households combine both: presence switches the mode automatically, while a smart button or app toggle lets anyone override the decision manually when the detection is wrong.
Privacy and common failures
Presence data is highly sensitive personal information, because it records when each household member is home. Systems that process presence locally reduce exposure, while cloud platforms store location history that users should review. Every household member should agree to be tracked and know how to opt out.
| Symptom | Likely cause | Fix |
|---|---|---|
| House switches to away while occupied | Phone lost Wi-Fi or location | Add departure delay and a second signal |
| Arrival detected too late | Small geofence or delayed location updates | Enlarge radius, allow background location |
| Lights turn off during reading | PIR sensor sees no motion | Use a radar presence sensor |
| Phantom occupancy | Radar reacts to fans or pets | Reduce sensitivity, exclude zones |
The simple explanation
Presence detection is how a smart home knows whether someone is there. It may notice that your phone has come close to the house, that your phone has joined the home Wi-Fi, or that a sensor sees someone moving in the room.
With that knowledge, the home can act on its own: warm up before you arrive, switch off lights when everyone has left, or keep a reading lamp on while you sit still. It works like a thoughtful housemate who notices when you come and go.
How it is used in practice
A couple who work irregular shifts set up presence detection with geofencing on both phones, Wi-Fi checks and a door contact sensor. The heating drops to 17 degrees Celsius when both are away for more than ten minutes and returns to 21 degrees when either phone enters a 500 m geofence.
In the home office, a 60 GHz radar sensor keeps the lights on during long video calls, where a motion sensor previously switched them off every few minutes. Over the winter, the couple avoids heating an empty home on most workdays without ever touching the thermostat.