Vera 2 conditional scene overriding

I've recently installed two thermostats that are responding correctly to a scene on a weekday timer that cools the house when I come home and shuts off the AC during the day when I'm at work.

Let's say I have another scene called "vacation" that I want to trigger when I leave for more than a few days so that the AC won't come on (among other things). Is there a way to disable my weekday scenes in Vera 2 based on the fact that "vacation" is active?
 
That's a good question, might have to ask it on the Vera forums tho. I am guessing you will have to use some scripting, as I don't remember any kind of feature which lets you store booleans. I'll have to take a look at the unit I have sitting here this weekend.
 
The MCV forums I found very handy! Here's the Luup code I inserted into the scenes which change the setpoint based on timers (where the device ID of the thermostat is "3":
Code:
return (luup.variable_get("urn:upnp-org:serviceId:SwitchPower1","Status",3) == "1")
...essentially, when the thermostat is in Energy Save mode, it doesn't execute the scenes that have that code in them. Just what I wanted...!
 
Back
Top