Hello,
I have a bathroom downstairs with a light that turns on automatically when the door contact sensor opens.
I also have a timer to turn off the light after 10 minutes.
My knowledge is limited as i’m new to Webcore, but is there a smart way to detect if the door is opens/close within a X time, the state will change that someone being present in the bathroom.
Then after X time, if the door opens/closes again, the state will change to non present then i can turn off the light. save waiting 10 minutes to turn off automatically.
Is this the best way of doing this and if so, how do the program it?
Thanks all