Jump to content

Programming


tommet

Recommended Posts

Posted

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)

Posted

It requires two Programs. One that triggers at Sunset and another that triggers at 5 AM. Sunset moves almost everyday so it is not possible to start at Sunset and then do something at 5AM in the same Program.

Posted

Then one Program can do the job

If
       Time is  7:00:00PM

Then
       Set 'SwitchLinc Dimmer DB' On
       Wait  4 hours 
       Set 'SwitchLinc Dimmer DB' 60%
       Wait  6 hours 
       Set 'SwitchLinc Dimmer DB' Off

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

Posted

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

Posted

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

Posted

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

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

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