Jump to content

Simple Programs Not Running


prairiecode

Recommended Posts

Hi folks,

 

I've been using my ISY-994i (v4.2.18) for awhile, and am having some issues with some simple programs not working.

 

For instance:

If
        $Thrm_ZoneK_Has_Stopped_AwayAsleep_Today is not 0
 
Then
        Wait  6 hours 
        $Thrm_ZoneK_Has_Stopped_AwayAsleep_Today  = 0
 
Else
   - No Actions - (To add one, press 'Action') 

Now, $Thrm_ZoneK_Has_Stopped_AwayAsleep_Today is a state variable.  I can see it set to nonzero values by other programs, and this program still doesn't run.  In the Program Summary tab, it shows the program state is true but the last run time is empty, and in the Program Details tab, it has a "half green / half white" icon, and the program is enabled, but it doesn't run.  I finally had to add, to a different program, this:

 

"Run Program 'ZoneK Reset Today AwayAsleep' (Then Path)"

 

which finally causes this program to run.  What am I missing here?

 

I also have another program that controlls a Z-Wave appliance relay switch.  It is simply this:

If
        Status  '2nd Floor / Master Bedroom / Curling Iron Power Switch' is On
 
Then
        Wait  45 minutes 
        Set '2nd Floor / Master Bedroom / Curling Iron Power Switch' Off
 
Else
   - No Actions - (To add one, press 'Action') 

The idea is to switch off the curling iron if it was forgotten on.  The log shows the Z-Wave communication is working fine.  However, this program only even bothers to start running about 20% of the time.  I also tried it with the condition "is switched on" instead of "is on", but that didn't help, either.  (Either option is acceptable to me in this scenario.)

 

I've tried rebooting, but that hasn't helped.  Any ideas?

 

Link to comment

Possibilities:

 

1) The program is in a folder with conditions that are preventing it from triggering

2) The value of the state variable maybe non-zero but unless the value changes, it won't trigger.  If the value is 1 and another program sets the value to 1 again, the program will not trigger as the value didn't change.

3) The initial program is set Disabled.

 

Hope this helps

 

-Xathros

Link to comment

Hi Xathros,

 

Good suggestions.

 

1) I know it's not in a folder with conditions, since no folder in its tree has conditions.  I double-checked this just now.

 

2) All of my programs use += 1 to modify the state variable, rather than = 1, so this should avoid that problem.

 

3) It's not disabled.

 

Here, in fact, is another program that has the same issue:

If
        Status  '2nd Floor / Master Bedroom / Zone2 Thermostat' is Fan - Off
 
Then
        Wait  2 hours 
        $Thrm_Zone2_Fan_Long_Idle += 1
 
Else
   - No Actions - (To add one, press 'Action')

And here's what it looks like in the Programs - Details view:

 

post-6184-0-43847400-1427118847_thumb.png

 

And here's what it looks like in the Programs - Summary view:

 

post-6184-0-51191100-1427118965_thumb.png

 

Since this is directly polling a Z-Wave thermostat, and the system is showing the Fan is Off, and the program is True, why is the program still idle? (Yes, the program is Enabled!)

 

Link to comment

The program runs once when the status changes to Off.  The summary says the program has not run since startup. Cycle the Fan On/Off and see if the program status changes.

 

-Xathros

Link to comment

I wound up rebooting the ISY, which appears to have cleared this up for now.  I have read on occasion others reporting programs not running until the ISY is rebooted; frankly I'm rather concerned about this...


Incidentally the state of things has changed since reboot on all these programs.

Link to comment

Glad you got it going.  I have never run into a situation with any of my ISY's like this and I really don't believe this to be a common issue.  If this happens again, I think it would be worth doing some additional testing to narrow down the root cause.

 

-Xathros

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...