1) Give a description of the problem
I’d like to have my toilet fan turn on when someone is using the toilet for longer than a few minutes. The issue is even when someone is sitting on it, the motion goes to active then 2 mins later will go inactive and then go active again.
2) What is the expected behaviour?
I’ve used the followed by feature, but the grap of within 5 mins is too large and i don’t want to miss an event.
Is there a way to only make the motion event trigger if the motion changed any number of times for example the following scenarios would result in the triggering piston:
- Motion goes to active and stays active for 5 mins
- Motion goes to active, 2 mins later inactive, 2 minutes later active
- Motion goes to active, 4 mins later inactive, 1 minutes later active
The following would not trigger the piston:
- Motion goes to active then 4 minutes later goes in active. then stays inactive for 1 more minute
- Motion goes to active 2 mins later inactive. then stays inactive for 3 more minutes
3) What is happening/not happening?
The trigger is not firing many times when I want it to as above rules. for example it still turns on if there is motion for 1 minute. then inactive, then motion within 1 minute.
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full