Lightbulb, motiondetector reset turn off-timer on every movement
Posted: Thursday 15 November 2018 20:46
I have been trying to get this to work for a long time but never succeeded. I have some rooms with both pir-motion detectors and smart light bulbs.
Right now I have the lightbulb to turn on for 30 min when motion is detected. But that makes them turn off and then on again if I am still in the room after 30 mins.
I would like the bulbs timer to reset to turn of in like 10 minutes after every movement. So if movement has been detected and the lightbulb turns on, after 5 minutes movement is detected again the timer gets reset to turn of after 10 minutes.
Right now I have the lightbulb to turn on for 30 min when motion is detected. But that makes them turn off and then on again if I am still in the room after 30 mins.
I would like the bulbs timer to reset to turn of in like 10 minutes after every movement. So if movement has been detected and the lightbulb turns on, after 5 minutes movement is detected again the timer gets reset to turn of after 10 minutes.