Announcement

Collapse
No announcement yet.

Set thermostat to last manually set temperature

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Set thermostat to last manually set temperature

    My current event logic is:

    If door opens for 2 minutes, set thermostat to 60 degrees.
    If door closes, set thermostat to 68 degrees (fixed value) if time is within heat-on schedule.

    The problem I'm hearing from my client (daughter), is that if she sets the thermostat to 62 degrees, leaves and returns, the heat is set back to 68 degrees.

    How would you solve this? I have not scripted anything before but I am willing to jump in. I also think some use of a global variable may make this possible, but I don't know where to begin.

    Thank you,

    Devan

  • #2
    It might be simpler just to turn off the heating/cooling rather than messing with the setpoint. It will have the same effect as long as the door is not left open for a long time.

    If you want to start scripting I have some that I can share including how to set and retain global variables

    Comment


    • #3
      If you have the Easy Trigger plug-in, you can push the thermostat value to a stack and pop it back through Events. Each Device has its own stack.

      If door opens for 2 minutes,
      Push the current value to stack
      Set thermostat to 60 degrees.

      If door closes
      Pop the stack back to the setpoint if time is within heat-on schedule.
      Randy Prade
      Aurora, CO
      Prades.net

      PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

      Comment


      • #4
        Thank you everyone!

        I forgot about the stack functionality of Easytrigger.

        That worked perfectly. Once again, EasyTrigger has allowed me to not learn scripting.

        Comment

        Working...
        X