Skip to content
Automation ideas for Door and Window Contact Sensors

Automation ideas for Door and Window Contact Sensors

Door and window contact sensors are hugely versatile and can be used in a number of home automation scenarios. These sensors often consume very little power and can run off of a single battery for many months.

A door contact sensor typically consists of two components: a magnet and a sensor. The magnet is attached to the door or window, while the sensor is mounted on the frame. When the door or window is closed, the magnet aligns with the sensor, completing a circuit. When the door or window is opened, the magnet moves away from the sensor, breaking the circuit. This change in circuit status triggers the sensor to send a signal to the home automation hub that controls the sensor

Contact Sensor Automation Ideas

Contact sensors can be used in so many different automation use cases, here are just a few ideas.

Security Alerts  receive notifications on your smartphone whenever a door or window is opened unexpectedly.

Lighting Automation — trigger lights to turn on automatically when a door is opened. Smarter automatons could also check if the curtains/blind are opened or closed to determine if turning on the lights is necessary.

Thermostat Control  adjust the thermostat settings for a room based on whether a window or door is open or closed.

Weather Alerts  if rain is forecast, have your smart home warn you if you've left any windows open.

Compatible Sensors

Looking to add door contact sensors to your home automation? Checkout the cheap and affordable Zigbee Door Sensor Contact Sensor which is compatible with Alexa, Google and Home Asisstant!

Previous article How Small is the Shelly Mini series?
Next article PIR vs. mmWave Sensors for Home Automation