
Aqara Motion and Light Sensor P2 is a Matter over Thread motion sensor with a built-in light sensor that pairs natively over Matter, no Aqara hub required.
Entities in Home Assistant
12 entities via Matter
Primary entities 2 What automations and dashboards use.
| Entity | Type | Device class | Unit |
|---|---|---|---|
| Occupancy | binary_sensor | occupancy | — |
| Illuminance | sensor | illuminance | lx |
Configuration 2 Settings exposed as entities, tunable from Home Assistant.
| Entity | Type | Device class | Unit |
|---|---|---|---|
| Hold time | number | — | s |
| Sensitivity | number | — | — |
Diagnostics 8 Health and troubleshooting values, hidden from dashboards by default.
| Entity | Type | Device class | Unit |
|---|---|---|---|
| Identify (1) | button | identify | — |
| Identify (2) | button | identify | — |
| Battery | sensor | battery | % |
| Battery type | sensor | — | — |
| Battery voltage | sensor | voltage | V |
| Boot reason | sensor | enum | — |
| Reboot count | sensor | — | — |
| Uptime | sensor | uptime | — |
Verified against Home Assistant 2026.8.3: this is the entity list Home Assistant creates for this device, taken from core's own test snapshots rather than written by hand. Entity IDs depend on the name you give the device during commissioning, so only the entity names and types are shown here.
Recipes using this device
Away Motion Camera Alert
Installs Home Assistant automations that watch for motion while the house is armed and send you a notification with the camera view attached. Add presence sensors to arm and disarm on their own, a siren to sound off, and lights to flash.
Motion Hallway Light
Installs a Home Assistant automation that turns a hallway or landing light on when motion is seen and off again once the space has been still for a grace period you set. Add a light sensor and it only runs after dark, add a presence sensor and it holds the light while someone lingers.
Recipes that can use it
These recipes are built around other hardware, and pick this device up as an optional extra.
Circadian Adaptive Lighting
Installs a Home Assistant automation that walks the colour and brightness of your dimmable lights through the day, cool and bright around midday and warm and low in the evening. It only ever changes lights that are already on, so it never switches a light on by itself.
Presence Room Lighting
Installs a Home Assistant automation that keeps a room's lights on for as long as an mmWave presence sensor sees someone in it, and switches them off shortly after the room empties. Add a light sensor to run only after dark, and dimmable lights that come up softly.
Shades by Sun and Heat
Installs a Home Assistant automation that closes your shades when the sun climbs high and the day is hot, and opens them again as the sun drops, using Home Assistant's own sun position. Add a light and temperature sensor to hold it to genuinely bright, hot afternoons.