I have a light in my house that I’m constantly leaving on. I replaced the switch with a smart version, so now I have control if it, but it’s time for phase 2. I’d like to put the light on a digital timer, so that it will turn off 15 minutes after I turn it on, unless the motion sensor in the room detects motion. In that case it should re-set the timer.
Is this do-able with vera scripting? Whats the best motion sensor to use, the Aeon labs one?
PLEG will do this well, as everyone will say. It is possible though without it.
I’m sure there might be more efficient ways to do this with coding etc, but that’s the fun of learning Vera.
How I’ve done it in the past:
Install the Countdown timer app. This should install a new device. On this device, set the duration to 15 mins (900 seconds)
Have a scene with the trigger as your light is turned on. The action will be to restart the above count down device.
Another scene with the trigger as motion detector is tripped. Action to cancel the countdown.
Another scene with the trigger as motion detector is not tripped. Action to restart the countdown.
Another scene with the trigger as countdown device has reached zero. Action to turn the light off.
Use similar logic/steps inside PLEG and you shouldn’t go wrong.
Best Home Automation shopping experience. Shop at Ezlo!