A door and window sensor tells your Smart Home when an opening is actually open. It is a two-part device: a small magnet goes on the door or sash, the sensor body on the frame. When the two separate by roughly a centimetre, the contact breaks and the sensor reports “open” to the hub or straight to your router. That single piece of information is what turns a house from a collection of gadgets into a system that reacts.
How contact sensors work
Inside the body is either a reed switch or a Hall effect sensor. A reed switch is a mechanical contact closed by the magnet’s field: simple, cheap and reliable. A Hall effect sensor measures the field strength instead, which makes it slightly more tolerant of misalignment and lets some models report the gap more precisely. Both are battery Powered, typically on a coin cell that lasts One to two years in normal use. Solar Lights for Garden: Complete Buying Guide for 2026
Tuya ZigBee or Wi-Fi: which to choose
Zigbee Sensors talk to a gateway and are the better choice when you are fitting out a whole property. They use very little power, so batteries last longer, they form a mesh that extends coverage, and local automations keep running when the internet drops. Wi-Fi sensors connect to the router directly, which suits a single door or a small setup where you do not want to buy a hub. We supply both on the Tuya and Smart Life platform, so the app experience is the same either way. Visiter le site — guide complet Smart Doorbell Camera Wholesale: B2B Guide to Sourcing and Selling Video Doorbells
What people actually use them for
- Entry alerts: a phone notification when the front door or a child’s bedroom window opens.
- Energy saving: Turn off the Air conditioning automatically when a window is left open.
- Lighting: switch on the hallway Light when the door opens after dark.
- Away mode: arm the alarm and get a log of every opening while the property is empty.
- Cabinet and safe monitoring: the same sensor on a cupboard, medicine Box or server cabinet.
The automations are where the value is. A sensor on its own is a notification; a sensor wired into scenes, cameras and alarms is a security system. 4-in-1 Defroster: The Smart Kitchen Solution for Thawing, Washing & Sterilizing
Installation notes
Peel the adhesive pad, stick the magnet on the moving part and the body on the frame, keeping the gap under about 10 mm and aligning the marks on both parts. Avoid metal door frames where possible because they distort the magnetic field; if the frame is steel, use a spacer or move the sensor to the top edge. Test the open and closed state in the app before fixing it permanently. Portable UV Toothbrush Sterilizer Box USB Type-C Charging Review
Pairing sensors with the rest of the system
Contact sensors cover openings, but they do not see movement inside a room. For that you add a PIR motion sensor, and for leaks under a sink or near a water heater you add a water leak sensor. Both live in our sensors and alarms range, run on the same app and can be branded together as one product family. Add a video doorbell camera at the front door and you have visual confirmation of whatever the sensor reported. Tuya 4MP HD Smart WiFi Camera: Your Ideal Partner for 24/7 Indoor Home Security
Related product guides
- water leak detectors
- smart switch boards
- motion sensors
Guides for this product
Sensors that cover doors and windows today
- Tuya Zigbee Vibration and Tilt Sensor — Sticks to a door, window or shutter and reports opening, tilt and impact in real time – the closest fit we currently build for open/close detection.
- Tuya Zigbee PIR Motion Sensor — Covers the room behind the door or window when motion, not contact, is the trigger you need.
- Tuya Zigbee Temperature and Humidity Sensor — Pairs with the tilt sensor for greenhouse, garage and window-side monitoring.
Frequently Asked Questions
How long does the battery last?
Typically one to two years on a coin cell with normal use. The app shows battery level and sends a low-battery reminder, so you Replace it before it dies.
Do I need a hub?
Tuya ZigBee models need a gateway. Wi-Fi models connect to your router directly and are the simpler option for one or two doors.
Will it work on a sliding door or a window?
Yes. Any opening where the two parts can be mounted within about 10 mm of each other works, including sliding doors, casement windows and skylights.
Does it work when the internet is down?
The sensor still reports to a local hub, so Tuya ZigBee automations keep running. Phone notifications need an internet connection.
Can it be used as part of an alarm?
Yes. Combine door and window sensors with motion sensors and a siren in the app, and arm or disarm the whole set from your phone or a schedule.
Can we brand these sensors ourselves?
Yes. We offer OEM and ODM service including housing colour, logo printing, packaging, manuals and preset app configuration.
See the full sensor and alarm range, or contact us for wholesale pricing, samples and OEM/ODM terms.