Hi All! I’m having a bit of a brainstorm about automations, and I’d like suggestions.
I have an aqara motion sensor and an aqara door sensor in both my bathroom and toilet. Currently, it just turns the light on when there’s motion and leaves it on for an extra 5 minutes.
Ideally, I’d like to calculate my own binary_sensor.bathroom_occupied entity that is set on when the door is closed, then movement is detected. I can use this to hold the light on without detecting any more motion. (and also have a red LED that shows someone is in there)
The issue is that motion is normally detected shortly before the door is closed, meaning that the Aqara motion sensor remains in sleep mode for 60 seconds and I have to wait for it for a full minute to wake up and detect more motion which, normally by that time someone is settled in their bath or behind the shower curtain.
I could solder the test circuit in the motion sensor and modify my ZHA to ensure it checks every 5 seconds, but I’m just considering alternatives.
Is it possible that there is some kind of message that I can send out to the motion sensor to start or stop sleeping? That way I can detect movement the moment the door is closed, then sleep it permanently until the door is re-opened.
Feel free to suggest other thought bubbles
1 post - 1 participant