Is Door and Window Sensor P2 Compatible with Home Assistant (Matter / Thread)?
Hardware Safety & Verification Specs
Electrical parameters & logic voltage safety limits before powering ICs
## Compatibility Overview
The Aqara Door and Window Sensor P2 is natively supported in Home Assistant via Matter over Thread with zero bridge required when an OpenThread Border Router is present. It provides instantaneous state triggers with zero cloud latency.
Interactive Pinout & Wiring Diagram
Hover over any pin to view voltage limits and pull-up specifications
## Technical Specification Matrix
| Feature / Attribute | Specification / Status |
|---|---|
| Hardware Protocol | Matter over Thread |
| Bridge Required | NO |
| Border Router Needed | OpenThread Border Router (SkyConnect / HomePod) |
| Exposed Entities | Binary Sensor (Contact) Tamper Sensor Battery Percentage |
| Pairing Complexity | Plug-and-Play |
| Factory Reset Instruction | Press and hold the reset button for 10 seconds until the blue LED flashes three times. |
## Step-by-Step Pairing Guide
Factory Reset Device
Press and hold the reset button for 10 seconds until the blue LED flashes three times.
Initialize Pairing Mode on Home Assistant (Matter / Thread)
Open Home Assistant (Matter / Thread) administration console, navigate to Integrations / Add Device, and start pairing scanner.
Confirm Entity Binding & State Verification
Verify that primary entities (Binary Sensor (Contact), Tamper Sensor, Battery Percentage) report live state changes inside Home Assistant (Matter / Thread).
Production Code Generator & Preset Toolkit
Pre-configured pinouts & drivers for Door and Window Sensor P2
Report a Pinout Error or Submit Tested Code Snippets
Found a pin mapping quirk or built a custom ESPHome YAML driver for Door and Window Sensor P2? Help us keep this matrix 100% accurate.