
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?
| Control | Type | What it does |
|---|---|---|
| Contact | Binary sensor | Door/window open-closed state, pushed locally over Matter/Thread with no cloud round-trip. |
| Battery | Sensor (%) | Battery level reported as a percentage via the Matter power-source cluster, not just a low-battery boolean. |
| Identify | Button | Triggers the sensor's Matter identify function to help locate the physical device during setup or troubleshooting. |
| Firmware update | Update | Surfaces 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 |
How does the Aqara Door and Window Sensor P2 compare?
| Product | From | Protocol | Local control | Integration |
|---|---|---|---|---|
| Aqara Door and Window Sensor P2 (this product) | £23.99 | Matter, Thread | Yes | Works with HA |
| Aqara Motion Sensor P1 | £18.99 | Zigbee | Yes | Zigbee2MQTT / ZHA |
| Aqara Multi-State Sensor P100 | £25.49 | Zigbee, Thread, Matter | Yes | Zigbee2MQTT / ZHA |
| Aqara Presence Sensor FP1E | £37.98 | Zigbee | Yes | Zigbee2MQTT / 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.