Contact Sensor
A contact sensor is a small two-piece magnet-and-reed device that reports whether two surfaces are touching. Doors, windows, drawers, and cabinets are the typical targets.
Our top picks
The brands we reach for first, best to 3.
-
Aqara
3 modelsAqara devices that work with Selora and Home Assistant. Aqara products run on the Aqara cloud integration, ZHA, zigbee2mqtt, or Matter over Thread depending on the model; Aqara cameras pair locally via HomeKit or RTSP.
-
Zooz
1 modelZooz designs Z-Wave devices for North American smart home installations, with a focus on reliable local control and direct-to-consumer pricing.
-
Third Reality
1 modelThird Reality devices that work with Selora and Home Assistant. Third Reality builds affordable Zigbee sensors, plugs, and controls that pair directly with ZHA or zigbee2mqtt and run fully locally, with no cloud account required.
Every device in this role 9
Everything Selora deploys and supports in this role , plus 1 we no longer recommend. Those sort last and carry a not-recommended badge .

Door and Window Sensor P2
Aqara P2 is a Matter over Thread door and window sensor with battery state reporting, tilt detection, and tamper alerts.

Door and Window Sensor
Aqara Door and Window Sensor is a compact Zigbee contact sensor that reports open and closed instantly, with multi-year battery life at low cost.

Door and Window Sensor T1
Aqara Door and Window Sensor T1 is a Zigbee 3.0 contact sensor reporting open and closed state, with broad coordinator compatibility and multi-year battery life.
Recipes that need this role
Door or Window Left Open Alert
Installs a Home Assistant automation that watches your door and window sensors and pushes a notification to your phone when one is left open past a grace period while nobody is home. Add lights and it flashes the room, add a speaker and it announces the warning out loud.
Window Open HVAC Pause
Installs a Home Assistant automation that turns the thermostat off when a window is left open, so you are not heating or cooling the street, and turns it back to the mode it was in once every window is shut. Add door sensors and a temperature sensor for the full picture.





