Alarm Sensor · Intrusion

Door/Window Contact Sensors & PIR Motion Detectors: Building Reliable Home Intrusion Alerts

Published 2026-10-11 · 7 min read · By Shenan Yangguang engineering

Two low-cost sensors do most of the real work in a home alarm system: a magnetic door/window contact sensor watches every opening, and a PIR motion detector watches the rooms behind them. This guide explains what each device is, why they are paired, and what radio and battery choices mean when you build or source a security product line.

What a door/window contact sensor actually is

A door/window contact sensor (also called a door magnet or magnetic reed-switch sensor) is a two-part security device that detects when a door or window is opened by monitoring the break of a magnetic circuit between a small magnet mounted on the moving leaf and a reed switch mounted on the fixed frame. When the gap opens beyond a few centimetres, the circuit breaks and the sensor reports an "open" event. It is the simplest, most reliable perimeter device in any alarm system, and it draws almost no power while idle.

Because the principle is purely mechanical magnetism, a contact sensor is cheap, robust, and agnostic to what trips it — a hand, a pet, or a draft will not false-trigger it the way a motion sensor might. The trade-off is coverage: it only knows about the specific opening it is mounted on, so a complete perimeter needs one sensor per door and window you care about.

Where contacts fit in a layered defense

Security engineers think in layers. Contacts form the outer layer — they tell you the boundary was crossed at the exact opening. That precision is useful for both alerts ("back door, 02:14") and for automating other devices, such as turning on a camera or a light when a specific door opens.

What a PIR motion detector actually is

A PIR (passive infrared) motion detector is a sensor that detects human movement by measuring changes in the infrared heat a body emits as it moves through the sensor's field of view. It senses heat, not images, which is why PIR remains the default choice for privacy-respecting indoor motion sensing: there is no camera, no recording, and nothing to leak.

Modern PIR elements are paired with signal processing that distinguishes a walking person from slow heat drift (a radiator warming up) or a small pet. The result is a low-false-alarm interior sensor. Its limitation is coverage geometry: a PIR sees a cone or fan, so furniture, curtains, and mounting height all change what it actually catches.

PIR vs other motion technologies

PIR is the baseline. Some products add a microwave or mmWave channel to confirm motion and reject pets more reliably (dual-tech sensors), and mmWave radar is gaining ground for fine presence detection. For a mainstream alarm line, PIR — often dual-tech — is the pragmatic, cost-effective core, with radar reserved for premium "occupancy" use cases.

Why pair door contacts with PIR motion

A contact sensor secures the perimeter; a PIR covers the interior. Together they catch both a forced entry and an intruder already inside. More importantly, cross-checking the two cuts nuisance alarms: a single sensor type will occasionally false-trigger, but a rule such as "door contact open AND PIR active in the next 30 seconds" is a much stronger signal of a real event.

For a brand, this pairing is also the natural SKU ladder: sell contacts as the entry product, add PIR for rooms, then compose both with a siren and strobe into a single certified security device. The building blocks are the same sensors — only the enclosure and firmware differ.

Battery life and radio choice

Contacts and PIRs are usually battery powered and idle for most of their life, waking only on an event or a heartbeat ping. That duty cycle makes the radio choice decisive for battery life.

  • Matter-over-Thread — a low-power mesh that sips current between events; ideal for battery sensors where a year-plus of life matters. Needs a Thread border router in the home.
  • Matter-over-WiFi — connects straight to 2.4 GHz WiFi, simplest to deploy, but the radio draw shortens battery life for always-watching sensors.
  • Zigbee / BLE bridges — mature low-power options that can be brought into a Matter fabric through a bridge.

For battery door and PIR sensors, low-power mesh (Matter-over-Thread) is the better engineering fit; WiFi suits mains-powered devices such as a camera alarm or a smart plug.

Reducing false alarms

False alarms are the enemy of trust in any alarm brand. Practical levers:

  • Mounting discipline — PIR at the right height and angle, contacts with the correct gap tolerance.
  • Dual-tech PIR — require both infrared and a second channel to agree before alerting.
  • Event logic — combine sensors ("contact + motion") rather than acting on one alone.
  • Tamper reporting — report enclosure opening so a removed sensor is itself an alarm, not a silent gap.

Where Matter changes the picture

Contacts and PIRs are the "decision" layer. What Matter changes is what that decision is able to drive: because both device types are modelled as standard Matter clusters, an occupancy or contact event can be bound to any certified device in the same fabric — a light, a siren, something not yet invented — with no proprietary hub and no vendor-specific app in between. The sensor does not change. Only what it is bound to does.

What a manufacturer actually delivers

Shenan Yangguang is the factory behind these devices. We own the hardware end to end: schematic and PCB design (画板), prototyping and board bring-up (打板), firmware and product R&D (研发), certification cooperation (配合认证), and mass production (大面积出货). Connectivity is integrated as a standard CSA-certified Matter connectivity module — a purchased component, exactly like an MCU or a PIR element — so the finished sensor carries our design, our enclosure, and our brand program, not a re-badged third party's product.

That vertical ownership is what lets us tune battery life, tune false-alarm logic, and package a contact + PIR + siren into one composed, certifiable device rather than shipping three loose boxes.

Frequently asked

What is a door/window contact sensor?

A door/window contact sensor is a two-part security device that detects when a door or window is opened by monitoring the break of a magnetic circuit between a magnet on the moving part and a reed switch on the frame.

What is a PIR motion detector?

A PIR (passive infrared) motion detector is a sensor that detects human movement by measuring changes in the infrared heat a body emits as it moves through the sensor's field of view. It senses heat, not images, so it preserves privacy.

Why pair door contacts with PIR motion?

Door contacts secure the perimeter (every opening), while PIR covers interior movement. Together they catch both a forced entry and an intruder already inside, and cross-checking the two reduces false alarms from a single sensor type.

Which wireless radio is best for battery door and PIR sensors?

Low-power options such as Matter-over-Thread suit battery sensors because the mesh sips power between events. WiFi is simpler to deploy but draws more current, which shortens battery life for always-watching sensors.

Building a contact + PIR alarm line?

Talk to our engineering team about in-house design, Matter connectivity, and certification cooperation.

Request a Quote