I would like to use a motion sensor to trigger a light switch to go on, then off after a certain period. No problems there. However, I would also want to be able to turn on the same light manually and have it stay on until i manually turn it off. In other words, when the light is triggered by motion, the timer event will turn off the light. If the light was turned on manually, I don't want the event timer to internven.
Here is the rub: If I manually turn on the light and enter the motion area, the event will activate and turn off the light after a period.
Question: Is it possible to detect when the light was turned on manually and disable the motion event until the light is turned off manually again?
It would be even better if during a motion event and the light is triggered on, when I manually press the on switch, the light will just stay on.
Any idea how to accomplish this? Thanks.
Here is the rub: If I manually turn on the light and enter the motion area, the event will activate and turn off the light after a period.
Question: Is it possible to detect when the light was turned on manually and disable the motion event until the light is turned off manually again?
It would be even better if during a motion event and the light is triggered on, when I manually press the on switch, the light will just stay on.
Any idea how to accomplish this? Thanks.
Comment