Jump to content

Thermostat (2441TH) Programs


kpldd23

Recommended Posts

Posted

Newbie here and took a crack at modifying some programs I found online (http://homeautomationguru.com/programming-your-insteon-thermostat-with-the-isy-994i/) to add some additional functionality (the "Eco" mode).  I was hoping to get your input to see if it would work:

First, created two state variables: TStatEco and TStatSchedule

Program 1 (TStatEco): If status 'KPL button' is not off; then $TStatEco=2; else $TStatEco=1

Program Folder 1 (TStatNormal): Runs if $TStatEco=1

     Program (EventDay):  if schedule time; then $TStatSchedule=2

     Program (EventDayVariable):  if $TStatSchedule is 2; then run program (StateDay)

     Program (EventHome): if schedule time; then $TStatSchedule=1

     Program (EventHomeVariable): if $TStatSchedule is 1; then run program (StateHome)

     Program (StateDay): no conditions; then set thermostats to desired heat/cool setpoints

     Program (StateHome): no conditions; then set thermostats to different heat/cool setpoints

Program Folder 2 (TStatEco): Runs if $TStatEco=2

     Program (EventDay):  if schedule time; then $TStatSchedule=2

     Program (EventDayVariable):  if $TStatSchedule is 2; then run program (StateDay)

     Program (EventHome): if schedule time; then $TStatSchedule=1

     Program (EventHomeVariable): if $TStatSchedule is 1; then run program (StateHome)

     Program (StateDay): no conditions; then set thermostats to desired heat/cool setpoints (five degrees different than "normal")

     Program (StateHome): no conditions; then set thermostats to different heat/cool setpoints (five degrees different than "normal")

Posted

Just noticed my first "bug" and was hoping there was something simple that I overlooked.  The desired action was that I could press a button on a KPL and the change in $TStatEco would trigger the programs to run/re-evaluate in the Eco folder thus, changing the setpoints by five degrees.  However, pressing the button the KPL is changing the variable but, the programs in the folder do not seem to be re-evaluating to change the setpoints.

Posted (edited)


I do something similar for similar keypad logic, and you can use the "if" statement from program 1 as the logic in folder 1 and 2, saving a program and variable (Tstateco). Unless other things will tweak tstateco as well.
 

 

Edited by paulbates
Posted (edited)

I think the same is true for tstat schedule. You don't have to have logic for a variable in this case, that I can see, that runs a program.  Have the program that checks the time period do the work.  You may have to put a 3 - 5 second wait between each command to the thermostat, the PLM needs time to send and receive acknowledgements form the tstats. 

If your schedules are exclusive ... eg
schedule 1: 8:00am to 10pm
schedule 2: 10:01pm to 7:59am

You could do 1 program with an else.. things in schedule 1 go under then, things in schedule 2 go under else

Edited by paulbates
Posted
5 minutes ago, paulbates said:


I do something similar for similar keypad logic, and you can use the "if" statement from program 1 as the logic in folder 1 and 2, saving a program and variable (Tstateco). Unless other things will tweak tstateco as well.
 

 

Good point.  In my case, I have two KPL's that I am using to trigger $TStatEco so, that would have been easy enough.  Would only need/want to go with the variable option if I made this more complicated.  For example, it would be nice to get the climate module and if it is within a certain temperature range outside, automatically trigger the Eco mode.  Thank you for your input.

Posted (edited)

Yes, I use the climate module in similar way... ramp up HVAC if its gotten really hot/cold outside.

Edited by paulbates
Guest
This topic is now closed to further replies.

×
×
  • Create New...