Smart Home Assistant
Sensors
Aqara Door and Window Sensor P2

Aqara

Aqara Door and Window Sensor P2

Works with HALocal control
  • Thread
  • Matter
See more sensors picks on our Amazon storefront →

Verified September 2026

One of the few contact sensors officially certified Works with Home Assistant (Matter over Thread), so pairing and long-term support are as safe as it gets. At £24 it still costs roughly double Aqara's own Zigbee door sensor and over three times IKEA's £7 MYGGBETT, which runs the same Matter-over-Thread stack — pick the P2 for the certification and slimmer 77×22×22mm build, not raw capability. It runs on a single CR123A battery rather than the coin cells most rivals use — bulkier in the frame, but fewer battery changes. You'll still need a Thread border router such as HA's Connect ZBT-1 or an Apple/Google hub.

In Home Assistant

ControlTypeWhat it does
ContactBinary sensorDoor/window open-closed state, pushed locally over Matter/Thread with no cloud round-trip.
BatterySensor (%)Battery level reported as a percentage via the Matter power-source cluster, not just a low-battery boolean.
IdentifyButtonTriggers the sensor's Matter identify function to help locate the physical device during setup or troubleshooting.
Firmware updateUpdateSurfaces Matter OTA firmware availability/install status for features Aqara has flagged for future rollout.

The P2's spec sheet lists no built-in temperature sensor, so don't expect a bonus temperature entity here — contact state and battery only. The Works with Home Assistant badge is a device-specific certification plus a signed manufacturer agreement to keep compatibility working, not a different Matter data model, so the sensor rides through HA's generic Matter integration the same way an uncertified device does; the practical payoff is Aqara's commitment to fix breakage, not richer entities. One pairing gotcha specific to this sensor: adding it to a second Matter controller after Home Assistant requires generating a fresh pairing code from whichever app it's already commissioned into, since rescanning the original box QR code fails. Because it's a sleepy Thread end device, a door genuinely left ajar can still show a few extra seconds of state lag beyond the open event itself — worth padding any door-left-open alert threshold rather than trusting the state-change timestamp precisely.

Specs

Battery
1x CR123A (3V), user-replaceable
IP rating
None listed (indoor use only)
Dimensions
Main unit 77 x 22 x 22mm; magnet accessory 36 x 11.5 x 7.3mm
Connectivity
Matter over Thread, BLE for setup (models DW-S02E/DW-S02D)
Detection gap
Sensitivity adjustable 1-3cm between sensor and magnet
Operating humidity
0-95% RH, no condensation
Operating temperature
-10°C to 50°C
Affiliate disclosure: Some links in this article are affiliate links. If you buy via one of these links, we may earn a small commission at no extra cost to you. This never affects our editorial decisions — see our affiliate policy.