Jump to content

Programming


tommet

Recommended Posts

i have a isy994i.

i am trying to create a program to do the following.

 

1. turn on my rear lights at full brightness at sunset.

2. 4 hours later i want to reduces the brightness to 60%

3. i want to shut the light off entirely at 5 am the next day

 

can i do this within

a single program or do i need two separate programs.(one to turn it on and one to lower the brightness)

Link to comment

I *think* the following program does it all in one program.

 

Note that it doesn't take into account that you may want to turn off the lights (via a switch or other) during the 4 hours after sunset ... it will turn them back on to 60% when the 4 hour timer expires.

 

Also note that trying to do everything in one program in ISY isn't usually the best solution.

 

If
       From    Sunset 
       To       5:00:00AM (next day)

Then
       Set 'Rear Light' On
       Wait  4 hours 
       Set 'Rear Light' 60%

Else
       Set 'Rear Light' Off

Link to comment

When I set up something similar for some lights I created two scenes and added the load controller to both scenes as a responder. I did this in case I wanted to add any other devices to the program, I could just add them to the scenes. For example, you get a new keypad with a button that also controls the lights. For the first scene the on level would be set to 100%. For the second scene the on level would be set to 60%. In the program you would then set the first scene on then after 4 hours the second on. For the else you can turn off either scene. I think you could also use an adjust scene and only have one, rather than two scenes. A lot of different ways to skin a cat. Reading threads like this is a big help while still trying to master the ISY.

Eric

Link to comment

I think most newbies have a problem with so many programmes required to do what is considered "one job" or "one function". I know it really bugged me in the beginning.

 

What can really help the feeling of tidiness of programme filing is the use of folders that may not be immediately evident at first when starting out.

 

An example of folder lexicology

Rear Lights           '**** folder (no software)
     sunset          '**** three programmes to do functions
     night
     morning

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...