Jump to content

Why are some programs false and some true?


jjwinston

Recommended Posts

Hi,

 

Just continuing to try and wrap my head around the programming.

 

I have written some very simple programs that check tima and turn on or off my stair lights and my yard lights. The yard light program is working fine but the stair light program is not working. Looking in the program summary, the stair light program is "false" and has never run while the yard light program is "true" and runs at the scheduled time.

 

I am sure I am missing some very basic lesson here. I appreciate the responses. Thanks!

Link to comment

Status reflects the last If section evaluation.

 

A Program with True status means the last time the Program was triggered the If section evaluated to True causing the Then clause to execute.

 

A Program with False status means the last time the Program was triggered the If section evaluated to False causing the Else clause to execute.

Link to comment

Thanks Lee. Why would a program not be triggered if I am using "sunset" as the Run If? I am not by my ISY right now or I would copy out the program, but believe me it is the simpliest thing. Basically - If Sunset - Then set Switchlinc to On - Else Nothing. These are older Switchlincs (more than a year) and a brand new ISY99i.

Link to comment

Really need to see the Program. When at the ISY check for basic stuff like it is Enabled, there are no Saves pending for the Program. With a False status it suggests the Program did trigger but the If condition was evaluated as False which would cause the Else clause to run. Perhaps the previous iteration is generating a False If even thought the current (not saved) version should not be false.

Link to comment

The Scene image is actually the Program Summary but I don't think that is important at this point.

 

The Program summary information is not explainable. The QueryAll Program which runs every night shows a last run date of 11/10 rather than the expected 11/17. The Stair_Way_On Program has a next run date of 11/18 but nothing reflects it running on 11/17.

 

What does Help | About show for Firmware and UI?

Link to comment

Firmware and UI are 3.2.6

 

Actually, before I made the screen shots I restored the two SwitchLincs - this is the first time they have had a scheduled run time - that column was always blank. Perhaps the restore has done the trick? I guess the proof of the pudding will be if it runs the "off" program in the morning. Here is the screen shot of the scene. Thanks again for the input.

post-4383-140474157148_thumb.jpg

Link to comment

Well, I have learned many software programs in my line of work and I realize that newbies can create problems that will puzzle trainers. All of these problems were created by the condition that I had somehow slipped into the My Programs folder. The "From..To" restraint from the yardlights program was now an IF condition of the folder - thus completely screwing up the scheduling of other programs.

 

Thanks for all the help. I guess this will be one more thing for a newbie to check!

Link to comment

Archived

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


×
×
  • Create New...