Scene Possible - Anytime after sunset and before dawn, when door is unlocked, turn light on?

I have Vera Plus, wondering if I can do the following with just VERA SCENES (not PLEG as I always have trouble with that, just can’t get it, lol)

IF Between Sunset and Sunrise
AND the Front Door is UNLOCKED
THEN turn on the Porchlight

Thoughts?

Try Rigpapa’s Reactor plugin, easy to use and offers exactly what you are looking for.

2 Likes

Also possible with just a couple of lines of Lua attached to a scene to turn on the light. Your time constraint is already described by the function luup.is _night().

http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_is_night

1 Like

Day and night plugin would do it I think. Reactor would be my route but I assume akbooer’s solution works :slight_smile:
C

2 Likes

Thanks All, i’ll give Reactor a try, i’m hearing great things.

1 Like

© 2019 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy