Is there any zigbee motion sensor, where I can configure it's cooldown?
What I want to do is to put door contact and motion to my bathroom. When door is left open (to let the moisture out or whatever reason), light is turned on/off by motion. At the moment when door is closed, light turns off when you closed it from outside, but stays on if you closed it from inside. That would be achieved pretty simply:
On door closed:
1/ reset motion to inactive
2/ wait 5 secs
3/ if motion is inactive, turn off light
The issue with motion sensors is when I reset motion to inactive, it reports motion only after another minute or so. There is a hack for aqara motion sensor to put them in "test mode", which reports motion every 5 secs. But that doesn't sound right to me either, I want to to report only after door close, so the sensor should ideally support this:
On door closed:
1/ reset motion to inactive
2/ configure motion to report in 5 secs
3/ wait 5 secs
4/ if motion is inactive, turn off lights
5/ configure motion to report once a minute
This way it would work perfectly for this scenario, and also if I leave the doors open and just go there to brush my teeth, it doesn't send event every 5 secs.
Is there any motion sensor with this capability?