Jump to content

Folder


aLf

Recommended Posts

Posted

Another question.

 

Here is my Home Folder.

 

Folder Conditions for 'HOME'

Add conditions to limit when programs in this folder are allowed to run.

 

 

 

If

(

Status 'GAR KPL H' is On

And Status 'MBR KPL H' is On

And Status 'Occupied On/OFF APL' is On

)

 

Then

Allow the programs in this folder to run.

 

 

And here is my Clock On trigger.

 

If

(

From Sunset

To 10:35:00PM (same day)

)

And Status 'Garage Clock APL' is Off

 

Then

Set 'Garage Clock APL' On

 

Else

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

 

 

If I get home after sunset and I set ISY that I'm HOME, I'd think that the clock would come on as I'm between Sunset and 10:35. It doesn't even I querry.

 

What am I doing wrong here?

 

aLf

Posted

Hi,

 

As for what I know, programs are not evaluated unless you call them explicitly by their IF part or at the very moment a trigger happens.

 

The schedule "From Sunset to 10:35PM" has 2 triggers : Sunset and 10:35. If the program becomes "accessible" between these 2 triggers, it will be available for running, but will not start on its own before its own triggers.

 

A fix would be to have a program like :

 

If "Control Occupied On/Off APL" is switched On

 

Then

Run program "Clock trigger" ( IF )

 

Else

 

 

 

With that, every time you turn your "Occupied" flag On, the clock is re-evaluated. If it is true, its Then part will run. If it is not, nothing will happen because you have no Else part.

 

Jacques

Posted
Hi,

 

As for what I know, programs are not evaluated unless you call them explicitly by their IF part or at the very moment a trigger happens.

 

The schedule "From Sunset to 10:35PM" has 2 triggers : Sunset and 10:35. If the program becomes "accessible" between these 2 triggers, it will be available for running, but will not start on its own before its own triggers.

 

A fix would be to have a program like :

 

If "Control Occupied On/Off APL" is switched On

 

Then

Run program "Clock trigger" ( IF )

 

Else

 

 

 

With that, every time you turn your "Occupied" flag On, the clock is re-evaluated. If it is true, its Then part will run. If it is not, nothing will happen because you have no Else part.

 

Jacques

 

So as an example would aLf want his Home Folder condition to be:

 

If

(

Status 'GAR KPL H' is On

And Status 'MBR KPL H' is On

And Status 'Occupied On/OFF APL' is On

)

 

Or

 

(

Control 'GAR KPL H' is Switched On

Or Control 'MBR KPL H' is Switched On

Or Control 'Occupied On/OFF APL' is Switched On

)

 

 

Then

Allow the programs in this folder to run.

 

That way if the status part of the program is true when the Clock schedule trigger occurs the clock program will run. And if the statement wasnt true when the schedule trigger occured but one of the KPL's were switched on during the clock schedule time period, then the program would run.

 

Is this correct?

Posted

Hi TJF,

 

I would suggest using the Status in the folder Conditioons to activate/deactivate and the Control checks to trigger the programs.

 

Folders can also be nested so a Status check could be inside a Scheduled folder, etc.

 

Rand

Guest
This topic is now closed to further replies.

×
×
  • Create New...