Hardware Matrix

Is Door and Window Sensor P2 Compatible with Home Assistant (Matter / Thread)?

Verdict Badge
VERDICT: [ NATIVELY SUPPORTED ]
Protocol: Matter over Thread
Bridge Needed: NO

Hardware Safety & Verification Specs

Electrical parameters & logic voltage safety limits before powering ICs

๐ŸŸข 3.3V Native Direct Hookup ๐Ÿงช Verified in Lab
Logic Voltage 3.3V Low-Power CMOS
Voltage Rating 3.0V - 3.3V DC Rail
Current Profile Peak Tx Current: ~180mA to ~250mA @ 3.3V
Environment Rating IP20 Indoor Climate Control

## 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

VCC
3.3V Power
GND
Ground Common
SDA / TX
Data Line (GPIO 21)
SCL / RX
Clock Line (GPIO 22)
CS / INT
Chip Select (GPIO 19)

## 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

1

Factory Reset Device

Press and hold the reset button for 10 seconds until the blue LED flashes three times.

2

Initialize Pairing Mode on Home Assistant (Matter / Thread)

Open Home Assistant (Matter / Thread) administration console, navigate to Integrations / Add Device, and start pairing scanner.

3

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

Test in Wokwi Simulator โ†—
   
๐Ÿ‘ฅ Community Verified Database Continuous hardware testing updates

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.

## Frequently Asked Questions

Does this device operate in Offline Mode?
Operates 100% offline via local Thread IPv6 mesh network even if your home WAN connection drops.
What is the expected Battery Life & Power specification?
Powered by 1x CR123A battery lasting up to 18 months under standard residential usage.
How does Signal Mesh & Range Extension function?
Acts as an end-device node on the Thread mesh; requires a powered Thread router (such as a smart plug) to extend range.

Related Compatibility Matrix Guides