Smart home
Smart Door and Window Sensors: Simple, Cheap Home Security
A smart door or window sensor is a two-part device: a sensor and a magnet. When the door opens and the magnet moves away, the sensor sends an alert to your phone and can trigger a siren, light or routine. Wi-Fi versions need no hub; Zigbee versions need a gateway but run longer on their batteries.
Door and window sensors are the most useful cheap smart-home device there is. For less than the price of a takeaway, you get an alert whenever a door opens.
How they work
Each sensor has two parts: the sensor with a battery and a reed switch, and a small magnet. Mount one on the frame and the other on the door. When the door opens, the magnet moves away and the sensor reports "open".
Wi-Fi or Zigbee?
| Wi-Fi sensor | Zigbee sensor | |
|---|---|---|
| Hub needed | No | Yes, a Zigbee gateway |
| Battery life | Good | Usually longer |
| Best for | One to a few sensors | Many sensors around the home |
Our Zigbee vs Wi-Fi guide explains the difference in depth.
Where to put them
- Front and back doors: know when someone comes in or out.
- Garage door or side gate.
- Ground-floor windows.
- Medicine or cleaning cupboards to keep an eye on curious children.
- The fridge door if it is often left ajar.
Fitting one in five minutes
- Pair the sensor in its app first, next to the router.
- Clean the frame and door with an alcohol wipe.
- Stick the sensor on the fixed frame and the magnet on the moving door, lined up and close together, following the gap shown in the instructions.
- Open and close the door to test before pressing the adhesive firmly.
Tuya Wi-Fi Door SensorPhone alerts, battery level and Alexa or Google Assistant support.Watch the reel โ
Wi-Fi Door Alarm with App PushRuns on two AAA batteries with about 30 m Wi-Fi range listed.Watch the reel โ
Sound & Light Door AlarmA contact sensor with a built-in sound and light alarm.Watch the reel โ
Wi-Fi Sound & Light AlarmA siren that can be triggered by your sensors.Watch the reel โIdeas for automations
- Hallway light on when the front door opens after dark.
- Siren if a door opens while "away" mode is on.
- Reminder if the back door stays open for more than 10 minutes.
- Check-in alert when a child gets home from school.
Limits to know
Sensors alert you; they do not stop anyone. Phone alerts depend on your internet connection, and a DIY setup is not a monitored alarm. For a fuller setup, add water leak detectors and see smart home for renters for no-drill installation.
Frequently asked questions
How do smart door sensors work?
A reed switch in the sensor detects the magnet. When the door or window opens, the magnet moves away, the switch changes state and the sensor reports 'open' to the app.
Do door sensors need Wi-Fi?
Wi-Fi sensors connect directly to your router on 2.4 GHz. Zigbee sensors connect to a Zigbee gateway instead. Either way, phone alerts need your home internet to be working.
How long do the batteries last?
It depends on the model and how often the door opens; many contact sensors last months on a set of batteries, and Zigbee models typically last longer than Wi-Fi ones. The app usually shows battery level.
Can a door sensor replace a burglar alarm?
Sensors plus a siren make a useful DIY alert system, but they are not a monitored alarm. For insurance or high-risk homes, a professionally monitored system may be required.

