Hello all. I am new to Vera and have, maybe, a simple question.
Can I, and how create scene that will turn on my light based on event of triggering my interior door sensor from the alarm system but only from dusk until dawn. I already have scene working but without timer. I got Vera 2 UI4, PC1864 DSC panel with IT-100 and WizNet.
Thank you
If you already have the scene working to turn on the light when the door sensor is tripped, all you have to do to only have it come on when at night is add the following line of code to the luup section of the scene:
return luup.is_night()
Thanks a lot Garret. I think its working now.
I got another question.
It seams like I cant create scenes based on events from alarm partition state.
For example:
I would like to create scene to turn some lights off and other on when I arm the system in away mode. I also would like to turn temperature down in this alarm state. I can create scene and run it manually then all works fine. However when i do it on alarm system it doesn’t work at all. Vera does see and updates the alarm state on UI4 screen as it suppose to but dose not trigger scenes that i create.
Can you help please.