fastbird1 Posted February 22, 2015 Posted February 22, 2015 I have zwave thermostats and I have created a program that will change the thermostat if status is NOT OFF to off if the door is opened. It sets a variable to 1 if this is the case so that if the door thereafter closes and the variable is 1, it will now automatically turn the air conditioner back on and reset the variable to 0. This works well. However I have been unsuccessful getting the air conditioner to shut off and stay off if someone just walks up and shuts it off manually. Why? Because the previously mentioned program controlling the thermostat is always running and comparing it to the door condition. Question: is there a way to tell when someone turns on the thermostat vs when the thermostat changes because a door is closed? Control vs status? Question how do I program: Irrespective of whether the door is opened or closed and someone manually changes the thermostat to off THEN change variable to 0 because this is the same condition that is true when the door is closed after someone walks in?
andyf0 Posted February 22, 2015 Posted February 22, 2015 This sounds like a good use for conditional folders. Create a folder to put your programs into and set the folder to be enabled if the door is open (or your variable is 1, needs to be a state variable). If the door is open your programs will execute as you wish, if the door is closed nothing will happen when the thermostat is manually turned off.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.