Nest thermostat help get me more advanced


#1

1) Give a description of the problem
Not so much of a problem but more that I feel like I am doing simple adding and subtracting and would like to see how I can streamline this somewhat clunky piston.
2) What is the expected behavior?
It is working as I need
3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

I prefer setting temps in the Nest app with the schedule and letting it handle all that :slight_smile:


#3

You could probably simplify this down to two (complicated) if statements by grouping the various conditions and using or. Then you would have one if for home temperature and one if for away temperature. Not sure it is any shorter. Here is my attempt. I don’t have as many modes as you so you will need to fill in the blanks.


#4

Thank you both for suggestions. I am just getting started with WebCore. I wish there was more instruction on how to use the various settings. I try to learn from looking at how others build their pistons.