We have moved at community.getvera.com

Author Topic: Can i check a thermostat setpoint ?  (Read 6160 times)

Offline RexBeckett

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +483/-12
Re: Can i check a thermostat setpoint ?
« Reply #30 on: November 26, 2013, 03:03:31 pm »
Quote
I challenge you...
It isn't a proper challenge unless you throw down your gauntlet at my feet, Sir Richard. It's a heck of a throw from Texas to the UK.  ;D

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: Can i check a thermostat setpoint ?
« Reply #31 on: November 26, 2013, 04:30:26 pm »
I am slowly getting there, but have another little problem. This is what i have at the moment:

HeatOn   HeatWEOn or HeatWDOn or HeatWEOn2   2013-11-26 21:09:54.368    true
HeatSP   16 + (HeatOn * 4) - (Autoaway1 * 2) - (Vacation * 2) - (HeatingOFF * 2)   2013-11-26 21:01:50.838    18
HeatTimerEnded   !HeatTimer   2013-11-26 20:58:46.185    true
ResendHeatSP   HeatTimerEnded AND (HeatTimerEnded; NOW < 1:00) AND (HeatSetpoint != HeatSP)   2013-11-26 20:59:40.034    false

So the HeatSp works fine in determining the roght setpoint. I have tried attaching an action to HeatSP to start my timer and change the setpoint, but that does not work. I guess as its a numerical value changing rather than true/false it wont trigger my action. So how can i have any change in HeatSP trigger an action to start my timer and send the new setpoint ?

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: Can i check a thermostat setpoint ?
« Reply #32 on: November 26, 2013, 04:43:41 pm »
I have found this temporary workaround but i am not happy with it, and i do not think it'll work for all scenarios. Best would be to have every HeatSP change to trigger the timer and send setpoint.

Triggers
HeatingOFF   MultiSwitch Switch 4 is turned off   2013-11-26 21:21:27.379    false

Schedules
HeatWDOn   Weekly   05:05:00   1,2,3,4,5   None   Weekly   22:10:00   1,2,3,4,5   None   true   2013-11-26 05:05:00.100
HeatWEOn   Weekly   06:35:00   6   None   Weekly   22:40:00   6   None   false   2013-11-23 06:35:00.100
HeatWEOn2   Weekly   06:40:00   7   None   Weekly   22:10:00   7   None   false   2013-11-24 06:40:00.104

Device Properties
HeatSetpoint   Heating Thermostat   CurrentSetpoint   2013-11-26 21:19:33.394    19

Conditions
HeatOn   HeatWEOn or HeatWDOn or HeatWEOn2   2013-11-26 21:09:54.368    true
HeatOn2   ((HeatWEOn or HeatWDOn or HeatWEOn2) and NOT HeatingOFF) and NOT Autoaway1   2013-11-26 21:38:16.274    true
HeatOff1   Not HeatOn2   0   false
HeatSP   16 + (HeatOn * 4) - (Autoaway1 * 2) - (Vacation * 2) - (HeatingOFF * 2)   2013-11-26 21:01:50.838    20
HeatTimerEnded   !HeatTimer   2013-11-26 20:58:46.185    false
ResendHeatSP   HeatTimerEnded AND (HeatTimerEnded; NOW < 1:00) AND (HeatSetpoint != HeatSP)   2013-11-26 20:59:40.034    false

Actions

Actions for Condition: ResendHeatSP
Immediate
Device   Action   Arguments
HVAC PLEG   StartTimer   timerName=HeatTimer
Heating Thermostat   SetCurrentSetpoint   NewCurrentSetpoint={(HeatSP)}

Actions for Condition: HeatOn2
Immediate
Device   Action   Arguments
HVAC PLEG   StartTimer   timerName=HeatTimer
Heating Thermostat   SetCurrentSetpoint   NewCurrentSetpoint={(HeatSP)}

Actions for Condition: HeatOff1
Immediate
Device   Action   Arguments
HVAC PLEG   StartTimer   timerName=HeatTimer
Heating Thermostat   SetCurrentSetpoint   NewCurrentSetpoint={(HeatSP)}
« Last Edit: November 26, 2013, 04:48:33 pm by mikee123 »

Offline RexBeckett

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +483/-12
Re: Can i check a thermostat setpoint ?
« Reply #33 on: November 26, 2013, 05:27:12 pm »
If you change the name of the condition to _HeatSP then every change will fire the associated action.