Hey folks,
Need some help with scene scripting and timer/countdown!
What I try to do is putting my NEST thermostat to OFF when the kid open the patio door for more than 5 minutes… and start NEST again if the door is close for 5 minutes.
Currently I have a scene that trigger a timer#1 when the door open… and another scene that trigger timer#2 when the door close and reset timer#1. I have 2 other scene that toggle NEST on or off based on timer #1, and #2.
Right now, I need to have an IF in the scene that toggle NEST ON or OFF based on the actual NEST value… 'cause, for example, if you open the door 1 minute, and close it. At this point you never change NEST to OFF but the scene will change it again to ON because the timer finish after 5 minutes.
I’m a dev guy and I think it’s not really optimize to have 4 scene + 2 timers, just for that… is it normal with VERA or I have a better way to do that ?!
Also, how or where can I go to see all “variable and function” I have access in scripting ?!