Aqara FP300 โ Home Assistant Blueprint
Automated light and climate control powered by the Aqara FP300 mmWave presence sensor.
Features
Light Control
- Turns light on when presence is detected and illuminance is below a configurable threshold
- 3 time-of-day profiles (Morning / Day / Evening) with individual brightness and color temperature settings
- Optional scene support โ call a Home Assistant scene instead of setting brightness/color temp directly
- Weekday vs. Weekend profiles โ separate timing and light settings for Saturday/Sunday
- Minimum on-duration โ prevents flickering on/off for brief walk-throughs
- Configurable turn-off delay after the room is vacated
Climate Control (optional)
- Sets comfort temperature when presence is detected
- Separate comfort temperature for weekends
- Setback temperature after a short absence (configurable delay)
- Eco temperature after extended absence (configurable delay)
Requirements
| Component | Details |
|---|---|
| Aqara FP300 | Integrated via Zigbee2MQTT, ZHA, or Aqara Hub |
| Presence entity | binary_sensor with device_class: occupancy |
| Illuminance entity | sensor with device_class: illuminance (optional) |
| Lights | Any light entity or group |
| Thermostat | Any climate entity (optional) |
| Home Assistant | 2023.6 or newer (Blueprint section input support) |
Installation
Option A โ One-Click Import
Click the Import Blueprint badge above.
Option B โ Manual
- Copy
blueprints/aqara_fp300_automation.yamlto your HA config folder:config/blueprints/automation/pictus87/aqara_fp300_automation.yaml - Restart Home Assistant or reload blueprints.
- Go to Settings โ Automations โ Blueprints and create a new automation from this blueprint.
Configuration Overview
| Section | Key Settings |
|---|---|
| 1 ยท Sensors | Presence sensor, illuminance sensor, lux threshold |
| 2 ยท Light โ General | Light target, turn-off delay, minimum on-duration, scene toggle |
| 3 ยท Weekday Profiles | Morning / Day / Evening: start time, brightness, color temp, scene |
| 4 ยท Weekend Profiles | Same as weekday, applied on Saturday & Sunday |
| 5 ยท Climate | Enable toggle, thermostat entity, comfort/setback/eco temperatures and delays |
Automation Logic
Presence ON
โโ Lux below threshold?
โ โโ YES โ Turn on light (scene or brightness/color temp based on time + weekday/weekend)
โ โโ NO โ Skip light
โโ Climate enabled? โ Set comfort temperature
Presence OFF
โโ Wait: minimum on-duration (if configured)
โโ Wait: turn-off delay
โโ Still empty? โ Turn off light
โโ Climate enabled?
โโ Wait: setback delay โ Set setback temperature
โโ Wait: eco delay โ Set eco temperature
Automation mode: parallel (max 4) โ zones run independently.
If presence returns during any delay, restart logic re-triggers the ON sequence.
License
MIT License โ free to use, modify, and share.
Contributing
Pull requests and issues are welcome! If you have ideas for additional features, open an issue or submit a PR.