Smart Home Assistant
← Sensors
Aqara Door and Window Sensor P2

Aqara

Aqara Door and Window Sensor P2

  • Works with HA
  • Local control
  • Thread
  • Matter

Prices verified September 2026

See more sensors picks on our Amazon storefront →

Our verdict

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.

What can Home Assistant control on the Aqara Door and Window Sensor P2?

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

Battery1x CR123A (3V), user-replaceable
IP ratingNone listed (indoor use only)
DimensionsMain unit 77 x 22 x 22mm; magnet accessory 36 x 11.5 x 7.3mm
ConnectivityMatter over Thread, BLE for setup (models DW-S02E/DW-S02D)
Detection gapSensitivity adjustable 1-3cm between sensor and magnet
Operating humidity0-95% RH, no condensation
Operating temperature-10°C to 50°C

How does the Aqara Door and Window Sensor P2 compare?

ProductFromProtocolLocal controlIntegration
Aqara Door and Window Sensor P2 (this product)£23.99Matter, ThreadYesWorks with HA
Aqara Motion Sensor P1£18.99ZigbeeYesZigbee2MQTT / ZHA
Aqara Multi-State Sensor P100£25.49Zigbee, Thread, MatterYesZigbee2MQTT / ZHA
Aqara Presence Sensor FP1E£37.98ZigbeeYesZigbee2MQTT / ZHA

Frequently asked questions

Does the Aqara Door and Window Sensor P2 work with Home Assistant locally?
Yes. The Aqara Door and Window Sensor P2 is controlled locally in Home Assistant through a certified "Works with Home Assistant" integration (matter), so it keeps working if your internet connection or the Aqara cloud goes down. Control and state updates stay on your own network.
Which protocol does the Aqara Door and Window Sensor P2 use, and do I need a hub?
The Aqara Door and Window Sensor P2 uses Matter and Thread. To pair it with Home Assistant you need a Thread border router if it is Matter-over-Thread, or just your Wi-Fi network if it is Matter-over-Wi-Fi; or a Thread border router (Home Assistant Connect ZBT-1, Apple TV 4K or a HomePod mini all work). Aqara's own hub is not required when you integrate through a certified "Works with Home Assistant" integration (matter).
How much does the Aqara Door and Window Sensor P2 cost in the UK?
The lowest price we have listed for the Aqara Door and Window Sensor P2 is £23.99 at Amazon UK, with other UK retailers at up to £26.99. Prices were last checked in September 2026 and change often, so confirm on the retailer's page before buying.
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.

Aqara

Aqara Door and Window Sensor P2

£23.99 at Amazon UK

Buy →