Restoring Thermostat State


#1

1) Give a description of the problem
Trying to restore the state of a thermostat

2) What is the expected behavior?
compare the current outdoor temp to the indoor temp to determine if thermostat should stay on or off if the outside doors are open. I wish to save thermostat mode and setpoint to be able to restore it after the doors shut. This seems to work fine for short durations of time but not long ones.

3) What is happening/not happening?
It seems to work fine for short durations of time. If the door contacts remain open for a couple hours, the saved states seems to be lost and the thermostat remains in the off mode after restoring. I’ve tried both local and global state saves but neither seem to solve the issue. I’m not sure what the difference is. I am using a Nest Thermostat if that matters.

**4)


#2

Change your ELSE IF statement from “change away from” is “are not open” or “are closed”. The way it’s written now, that will only evaluate true if all 3 sensors change at the same time… which is basically never.


#3

Thanks, I’ll give it a shot.


#4

That didn’t seem to work. It’s hard to get logs because the contacts have to be open for an extended period of time for it not to work. Any thoughts on why the state would be lost?


#5

Can you post a green snapshot of your new piston?


#6


#7

Unfortunately this one will be difficult to correct without logs.


#8

I realize that… My guess is it has something to do with the integration to the Nest tstat


#9

I gave up on getting this to work… ultimately I really only use it in the spring and fall when its cool outside in the mornings or evenings so I just changed it so it sets the thermostat mode and setpoint and seems to work fine.