Thermostat settings controlled by time and presence


#1

I’m trying to create piston/pistons that will control the HVAC /thermostat based on presence with some time restrictions

For now to keep it simple Heat only so if one or both presence sensors (and perhaps in the future occupancy sensor) is active then the heat will be set to 22C, both people gone or at night 11pm-6am the temperature will drop to 16C.
Created 2 pistons to do this.
Is this design OK or anyone with better ideas? ( in the future I like to get auto AC/Heat switching based on outside temperature)
Zwave thermostat is CT101
Presence sensors Android phones

Any opinions would be appreciated
Thanks


#2

After trying to create a single piston for most of my HVAC settings, I ended up going with a set of pistons I use to manage my HVAC.

image

I have a piston for the fan, a set of pistons for the mode, another set for time of day, and a final piston for when our home is in the Away mode. Happy to share examples if you’re interested.


#3

@lifeisfun
Well, this may be more than you want or need, but I handle what you’re trying to do (and somewhat more) with three pistons. Hopefully, these will at least help you with some ideas.

  1. The first piston controls the thermostat setpoints while ST is in Home Mode. Note that it only runs when it’s in home mode.
  2. The second piston tracks the webCoRE presence location of our two phones and then calculates the Location Mode accordingly. Home is within 5 miles of the house, Away is between 5 miles and 50 miles from home, and Vacation is over 50 miles. I didn’t just want to use home and away because I wanted a vacation setting as well - AND this spacing allows sufficient temperature recovery time when the location/setpoints change.
  3. The third piston takes the location calculated in piston #2 and handles the actual changing of the Location Mode and the associated heat/cool setpoints.

Please let me know if you have any questions.

Piston #1 - T-Stat Schedule

Piston #2 - Location Modes AutoCalc

Piston #3 - Location Modes Actuator


#4

Thanks guys!
Can’t wait to look in to it when I get home :slight_smile:


#5

@cdallum
Thanks for the offer!
Could you please post your piston screen shots?
How does the set up handle if someone overrides the temperature on the thermostat manually?
Thanks

@lflorack
Thanks for posting your set up
Wow, that’s pretty advanced! I don’t think I would be able to get it working
I’ll just try to create something basic for now :slight_smile:


#6

You’re welcome. I understand your desire to start simple. Good luck!


#7

Here is my fan piston.

Here are my mode pistons.

Here’s a couple of the time-based temperature pistons. Note you can make as many as you want based on your need to change temps during the day.

And here’s my away settings.

Enjoy!


#8

Many thanks!


#9

Here is a basic one i did