Sensors: motion, contact, temperature, leak and air quality

Every sensor decision is the same trade made in different clothes: how often it speaks against how long it lives.

Motion is not occupancy#

The two words are used interchangeably on packaging and they describe different physics.

Passive infrared (PIR) watches for changes in infrared energy across a lens that splits its field of view into zones. When a warm body crosses from one zone into another, the signal changes and the sensor fires. Consequences fall straight out of that:

mmWave radar transmits a radio signal and measures the phase shift of the reflection. Motion as small as breathing changes that reflection, so the sensor keeps reporting occupied while you sit perfectly still. The costs are equally structural:

The pattern that works in practice is both: a PIR for fast turn-on, an mmWave for hold-on, combined in the automation. Turn on when motion fires, stay on while presence is true, turn off on a timer after presence clears.

What Matter does not model#

The same limitation shapes what a fancy sensor is worth to you. Aqara's FP2, for instance, divides a room of up to about 40 square meters, roughly 430 square feet, into as many as 30 zones and tracks up to five people, with a built-in light sensor and an IPX5 rating. All of that lives in Aqara's app and its own integrations. Through a generic Matter path you get "occupied" or "not occupied".

There is also no vibration sensor and no tilt sensor device type, and no standard way to configure sensitivity or cooldown. Every one of those settings is vendor territory.

The other sensor classes, briefly#

Contact sensors are a reed switch and a magnet. They are cheap, reliable and boring, which is the highest compliment in this category. Two things go wrong: the published maximum gap between the halves is smaller than people assume, and steel doors and frames detune the antenna, so a sensor that works on a wooden door drops off a metal one. Mount the radio half on the frame rather than the moving door where you can.

Temperature and humidity sensors are wrong more often than they are broken. Placement dominates: an exterior wall, direct sun, a supply register or a spot above a warm appliance will all skew a reading by more than the sensor's own error. Combined sensors housed with mains electronics also self-heat. Most platforms let you apply a calibration offset, which is worth doing once against a reference thermometer.

Leak sensors are two probes or a rope-style extension cable. Placement is the whole product: put them at the low point where water will actually collect, not touching the appliance, because water runs downhill before it pools. Buy one with a local siren, because a push notification is worthless if your phone is on silent, and understand that a sensor does not stop water. Stopping water requires a valve. Note the version detail: water leak, freeze and rain detection arrived in Matter 1.3, not 1.2.

Air quality sensors are the least comparable category on the shelf. Particulate (PM2.5) sensors, volatile organic compound sensors and carbon dioxide sensors measure entirely different things, and many devices that display "CO2" are estimating it from a VOC reading rather than measuring it with an NDIR sensor. Chemical sensors need warm-up time, drift over months, and often self-calibrate against the cleanest air they have recently seen, which produces odd readings in a room that is never well ventilated. Air quality is a Matter 1.2 device type, and the certified population is small.

Battery life is the reporting interval#

This is the section that changes purchasing decisions.

A battery sensor is normally a sleepy end device: its radio is off most of the time, it wakes on a schedule to poll its parent, and everything addressed to it queues at the parent until it wakes. Matter formalizes this as the intermittently connected device model, with a short idle mode polling at most every 15 seconds and a long idle mode, added in Matter 1.3, that can stretch far further. Idle periods can run up to 18 hours.

Layered on top, controllers use subscriptions, not polling. A subscription has a minimum and a maximum interval, and the device must report at least once per maximum interval even if nothing has changed. That heartbeat is how a controller decides a device is offline.

So the dial has two ends and you cannot have both:

Shorter intervalLonger interval
Faster automationsSlower automations
A dead device is noticed in minutesA dead device may go unnoticed for hours
More radio traffic, more congestionQuieter network
Months of batteryYears of battery

Sensible sensors report on change plus a heartbeat: temperature when it moves past a threshold, contact the instant it opens, plus a periodic "still here" message. The threshold is usually a vendor setting and rarely exposed through Matter.

Why "Thread battery sensors" sometimes disappoint#

Thread defines several end device types, and only a sleepy end device gets multi-year coin cell life. Several shipping battery sensors certify as full end devices with the radio always on, which is the real explanation for a sensor that should last two years and lasts four months. Aqara's own specification for one sensor claims about two years on Thread against three on Zigbee, which is the vendor acknowledging the cost.

Other documented drains:

Cold kills coin cells#

Sensors in a garage, a freezer or an outbuilding fail on a different timescale. In one independent freezer test, a generic CR2032 lasted about two days, cold-formula CR2032 cells lasted between a week and two months, and an 18650 lithium cell on the same sensor ran for over a year at -20 C. Both chemistries are around 3.2 V nominal. If a sensor is going somewhere cold, the cell type matters more than the sensor.

Living with sleepy devices#

Sleepy behavior explains a whole class of "broken" sensors that are working exactly as designed.

Placement and false triggers#

Platform quirks worth knowing before you buy#

Alexa splits composed devices. A single sensor reporting temperature and humidity appears as two separate devices, because Amazon maps temperature measurement and relative humidity measurement onto separate capability interfaces. More awkwardly, Alexa silently drops endpoints carrying a cluster outside its expectation for that device type, so a multifunction sensor can lose one of its functions with no error message anywhere. If a sensor's third reading never appears, that is the mechanism, not a pairing failure.

Alexa also caps at 50 bridged devices per connection, and exceeding it makes devices vanish from the app rather than producing an error. A large Zigbee fleet behind one bridge hits that quickly.

Elsewhere, Home Assistant exposes the most sensor detail, including the diagnostics that make the battery and heartbeat behavior above visible rather than mysterious. Matter 1.6 added security sensor event history, which starts to close the gap between "the sensor fired" and "here is when it fired", though controller support is another question. What Matter still cannot do has the wider list.

How to choose#

What is the difference between a motion sensor and an occupancy sensor?

Motion sensors, almost always PIR, detect movement and stop detecting the moment you hold still. Occupancy sensors, usually mmWave radar, detect the tiny movements of a stationary person and keep reporting occupied. PIR runs on a coin cell for a year or more; mmWave needs mains power. Using both, PIR to trigger and radar to hold, is the arrangement that actually works.

How long should smart home sensor batteries last?

A genuinely sleepy Zigbee or Thread sensor reporting on change plus a heartbeat can run a year or more on a coin cell, and some contact sensors go longer. If yours dies in months, the likely causes are a sensor that certifies as a full end device with its radio always on, an unstable mesh forcing constant re-attachment, several ecosystems each holding a subscription, or cold.

Why is my motion sensor slow to turn on the lights?

Usually the sensor's own cooldown or blind time, which suppresses detection for a period after each trigger. After that, the hop count from sensor to hub to light, and whether the controller sends a group command or a command per light. Radio congestion adds retries on every hop. It is rarely the automation engine.

Do mmWave sensors work through walls?

Yes, which is a problem more often than a feature. Radar passes through drywall and glass, so a sensor mounted on an interior partition can detect someone in the next room and hold your lights on. Mount it against an exterior wall or a solid surface, and use the vendor app's zone settings if it has them, because zones do not cross Matter.

Why does Alexa show my sensor as two devices?

Because Alexa maps temperature measurement and relative humidity measurement to separate capability interfaces, so a combined sensor becomes two entries. Alexa also silently ignores endpoints carrying a cluster it does not expect for that device type, which is why a multifunction sensor sometimes loses a reading entirely with no error shown.

Do smart sensors work without the internet?

Zigbee, Z-Wave and Thread sensors report to a local hub and keep working, provided the automations that consume them also run locally. Wi-Fi sensors that report to a vendor cloud stop being useful the moment the connection drops. What still works in an outage is device by device.

Where should I put a water leak sensor?

At the lowest point water will reach, not directly under the appliance. Water travels before it pools, so behind or beside a washer, at the base of a water heater's pan, under a sink at the back corner, and near the floor drain. Add a second sensor where the water would go next, and choose a model with an audible alarm on the device itself.

Primary sources

Specification and vendor documentation we checked while writing this page. Where a claim depends on firmware behaviour rather than a published spec, the page says so inline.