Page 1 of 1

Turn off motion sensor for x seconds

Posted: Wednesday 02 December 2015 20:49
by Deforcer
Hello,

Is it possible to turn off a motion sensor for x seconds? I tried a few things with scenes, but I will not get it done.

I want to use this function for my "Sleep"-scene. When I activate this scene, it turns off all my lights in my livingroom. But I have a motion sensor in my livingroom and a Blockly script for turning on the lights when there is motion detected.
So when I activate the sleep-scene, the motion detector is on. I want to turn the motion sensor off for x seconds, so the lights won't turn on immediately.

Does anyone know how to do this? :mrgreen:

Greetings,

Melvin

Re: Turn off motion sensor for x seconds

Posted: Wednesday 02 December 2015 21:11
by StanHD
I always have a virtual Auto/Manual switch working with my motion sensors. Then in my Blockly I check the status of that switch to determine if the light comes on or not. So could you work with that by perhaps putting a delay on the switch, and turning it off in your scene?

Re: Turn off motion sensor for x seconds

Posted: Tuesday 08 December 2015 23:15
by Deforcer
Thanks for your answer, that did the trick! :D