Jump to content

Thermostat program error


cul8rv8

Recommended Posts

Posted

OK, I've posted a couple times the last couple days about trying to get the programming down for the ISY. One of the programs that I thought was pretty straight forward is not working as expected. Perhaps someone can help me with it.

 

I work Mon-Thurs, and my electricity rates are high during the middle of the day in the heat of the summer. Thus, I have programs set to raise the Cool Setpoint on my thermostats during the day. These appear to be working normally.

 

I also have created a set of programs that will revert back to the desired Cool Setpoint after 5 minutes when changed during the high rate period. This is what isn't working correctly. The desired Cool Setpoint is 88* Mon-Thurs, then 80* on Friday.

 

All 3 of these programs are within a folder set as follows:

 

Folder Conditions for 'afternoon no changes'
Add conditions to limit when programs in this folder are allowed to run.



If
       On Mon, Tue, Wed, Thu, Fri
       From    12:55:00PM
       For      6 hours and 10 minutes 

Then
  Allow the programs in this folder to run.

 

no changes

If
       Status  'Upstairs Thermostat Main' < 88° (Cool Setpoint)

Then
       Run Program 'no changes fri' (Then Path)

Else
  - No Actions - (To add one, press 'Action')

 

no changes fri

If
       Program 'no changes' is True
   And Status  'Upstairs Thermostat Main' < 80° (Cool Setpoint)

Then
       Wait  5 minutes 
       Set 'Upstairs Thermostat Main' 80° (Cool Setpoint)

Else
       Run Program 'no changes work' (If)

 

no changes work

If
       Program 'no changes' is True
   And Program 'no changes fri' is False

Then
       Wait  5 minutes 
       Set 'Upstairs Thermostat Main' 88° (Cool Setpoint)

Else
  - No Actions - (To add one, press 'Action')

 

 

My thought process, then writing out the plan by hand, came up with this setup. During the designated window Mon-Fri, if the Cool Setpoint dropped below 88*, it would trigger. Next it would check if it was below 80*. If it was below 80*, wait for 5 minutes to allow the person who was hot and adjusted to cool off a bit, then set back to 80*. Then it would wait another 5 minutes, and set back to 88*.

 

Now, this isn't perfect to what I want, but it was a start. I likely would add a Time block on Mon - Thurs for changing back to 88*, that way on Fridays it only goes back to 80*. But for now I'm sticking with what I have here to make sure it works before the summer gets here.

 

At any rate, I have tested by changing the Cool Setpoint to 87*. Once I do that, I see in the Summary page that "no changes fri" is true, when in fact it should be false. It runs the 'Then,' changes the Cool Setpoint to 80*, then just shows "no changes" and "no changes fri" both as true, so it never runs the 3rd leg, "no changes both."

 

In the grand scheme of it all, the failure seems to be just one thing. "no changes fri" evaluates as TRUE, even though I believe it should evaluate FALSE. Am I doing something wrong, or looking at this incorrectly? As a test I added a time schedule to "no changes fri," and shortened the wait to 1 minute for testing. Now built as follows, and still evaluates TRUE as I test today (Tues).

 

If
       On Fri
       From    12:55:00PM
       For      6 hours and 10 minutes 
   And Program 'no changes' is True
   And Status  'Upstairs Thermostat Main' < 80° (Cool Setpoint)

Then
       Wait  1 minute 
       Set 'Upstairs Thermostat Main' 80° (Cool Setpoint)

Else
       Run Program 'no changes work' (If)

Posted

Took me a couple days, but I finally see my own problem. I feel like an idiot, but I guess this just means I'm learning the programming.

 

If you want it to not set it to 80* when it's between 80 and 88, it helps to not call the THEN statement...

 

Guest
This topic is now closed to further replies.

×
×
  • Create New...