Jump to content

Folders


aLf

Recommended Posts

Posted

Hi Michel:

 

Decded to do some housekeeping and changed my original programs to folders (1) Home, (2) Away. Get the baics of it OK, but they wouldn't run right. In a nutshell what I did was;

 

Made a folder AWAY,

 

Made the criteria for the folder as "when KPL A is OFF, run programs within.

 

 

Here is the new folder:

 

*************

 

 

Folder Conditions for 'AWAY'

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

 

 

 

If

(

Status 'GAR KPL H' is Off

Or Status 'MBR KPL H' is Off

Or Status 'Occupied On/OFF APL' is Off

)

 

Then

Allow the programs in this folder to run.

 

************************

 

And finally, I placed this program in the folder to run:

 

If

nothing

Then

Repeat Every 15 minutes

Set Scene 'All OFF' Off

 

Else

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

 

********************

 

 

 

They would not run properly...

 

Here is the original program as it has run for a year:

 

 

****************************

If

(

Status 'GAR KPL H' is Off

Or Status 'MBR KPL H' is Off

Or Status 'Occupied On/OFF APL' is Off

)

 

Then

Repeat Every 15 minutes

Set Scene 'All OFF' Off

 

Else

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

 

***********************

 

Is it possible my old version is to blame? or do I have parenthasis out of whack. I just want to re-do ISY so I have a better HOME/AWAY housekeeping. Any ideas of what I'm doing wrong?

 

Thanks,

 

aLf

Posted

aLf,

 

Your posted code will enable the folder but your program lacks a trigger to start it (unless you are calling the program from another program). Each program requires an "Event" or a specific call from another program to start.

 

 

The following will trigger if any of the "somethings" change state to ">0". You do not need the repeat loop here since the program will trigger if any of the monitored devices transitions from the off state.

If
      status "something1" is > 0
   or status "something2" is > 0
    o
    o
    o
    or status "somethingx" is >0
Then
       Wait 15 minutes 
          Set Scene 'All OFF' Off

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

 

Regarding your question about your "old" version - Yes this can make a difference. Firmware Version 2.6.4 corrected a problem related to status updates for disabled folders.

 

Here's a thread on the subject -

http://www.forum.universal-devices.com/viewtopic.php?p=8687#8687

 

Bottom line is, if you are running firmware older than 2.6.4, you may want to update.

 

IM

 

Hi Michel:

 

Decded to do some housekeeping and changed my original programs to folders (1) Home, (2) Away. Get the baics of it OK, but they wouldn't run right. In a nutshell what I did was;

 

Made a folder AWAY,

 

Made the criteria for the folder as "when KPL A is OFF, run programs within.

 

 

Here is the new folder:

 

*************

 

 

Folder Conditions for 'AWAY'

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

 

 

 

If

(

Status 'GAR KPL H' is Off

Or Status 'MBR KPL H' is Off

Or Status 'Occupied On/OFF APL' is Off

)

 

Then

Allow the programs in this folder to run.

 

************************

 

And finally, I placed this program in the folder to run:

 

If

nothing

Then

Repeat Every 15 minutes

Set Scene 'All OFF' Off

 

Else

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

 

********************

 

 

 

They would not run properly...

 

Here is the original program as it has run for a year:

 

 

****************************

If

(

Status 'GAR KPL H' is Off

Or Status 'MBR KPL H' is Off

Or Status 'Occupied On/OFF APL' is Off

)

 

Then

Repeat Every 15 minutes

Set Scene 'All OFF' Off

 

Else

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

 

***********************

 

Is it possible my old version is to blame? or do I have parenthasis out of whack. I just want to re-do ISY so I have a better HOME/AWAY housekeeping. Any ideas of what I'm doing wrong?

 

Thanks,

 

aLf

Posted

Decided to do some housekeeping and changed my original programs to folders (1) Home, (2) Away. Get the baics of it OK, but they wouldn't run right.

 

Hi Alf,

 

You need something to trigger this program to run. As of v2.6.6, this is very easy to do with Folders.

 

If you want the program in the Folder to run when the Folder Conditions become True then just put that in the conditions of the program.

 

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

If
       (
            Status  'GAR KPL H' is Off
         Or Status  'MBR KPL H' is Off
         Or Status  'Occupied On/OFF APL' is Off
       )

Then
  Allow the programs in this folder to run.

 

If
      Folder 'AWAY' is True
Then
       Repeat Every  15 minutes 
          Set Scene 'All OFF' Off

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

Posted

Indy & Chris:

 

Thanks! First I have not upgraded yet for other reasons. I will eventually. Just under my AWAY circumstances, I can't afford a bug--yet. When I can upgrade, I will.

 

I now understand your reasoning on the folders, thank you. I will change it over now and hope that it works better.

 

Regards,

 

aLf

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...