Hello everyone,
I’m experiencing an issue with my Home Assistant automation using the Aqara FP2 motion sensor. The automation works perfectly before midnight, but after midnight, it stops triggering the lights.
Setup Details:
- Home Assistant Version: 2025.3.3 (latest)
- Devices Involved:
- Aqara FP2 Motion Sensor (used in the bedroom)
- Philips Hue Bulbs (controlled via Hue Bridge)
- Google Nest Mini (for night mode command)
- Other Working Rooms:
- Bathroom & Toilet (using Philips Hue Motion Sensors) → These work fine after midnight.
Automation Logic:
- Trigger:
- Motion detected (occupied) on Aqara FP2
- Condition: After sunset
- Action: Turns on lights (all 3 lights or 1 light depending on “Night Mode”)
- Night Mode:
- Activated via Google Home “Good Night” routine
- When Night Mode is on, only 1 light turns on instead of 3
Problem:
- Before midnight: Everything works fine.
- After midnight: The automation no longer triggers when I enter the room.
- The same automation logic works fine in other rooms (toilet & bathroom) with Hue Motion Sensors.
- Google Home automation (separate test) successfully turns on the light after midnight, meaning the light itself is working fine.
What I’ve Checked So Far:
Aqara FP2 Detection (Developer Tools → States)
- Before midnight → Motion (
occupied
) detected - After midnight → Motion (
occupied
) detected
Manually Running the Automation (Automations & Scenes → “Run” button)
- Lights turn on manually
Checked for Conditions Blocking the Automation
- There are no time-based conditions stopping the automation.
- The automation should run anytime after sunset, including past midnight.
Checked Logs for Errors
- No obvious errors related to
light.turn_on
orAqara FP2
.
Possible Causes:
- Aqara FP2 stops detecting motion after midnight (or has a sleep mode I don’t know about?).
- Home Assistant or Zigbee network (if relevant) stops receiving updates from FP2.
- A hidden condition or bug in the automation preventing it from triggering.
Questions:
- Has anyone else experienced the Aqara FP2 stopping motion detection past midnight?
- Is there a known timeout, sleep mode, or inactivity reset that needs to be configured on the FP2?
- Could this be an issue with Home Assistant’s handling of motion sensors after a certain time?
Any help would be greatly appreciated! Thanks in advance.