Jump to content

PROGRAMING A ISY99 PRO


GLENN52

Recommended Posts

Posted

Hello This my first post...I need help in writing a program..for my isy99pro.

I have different outside switches(insteon relays, kpl.and switches) for post lights and porch light and side lights that have there own scenes that come on at different times..I have one all outside light scene that turns them all off at the same time... 11.04 pm that works find.

What i would like to do is if any outside light is turn on for any reason between sunrise and sunset it's turned off in one minute..

Do I have to write a program for each...or can you write just one to check to see if any of the outside lights are on and to turn it off after one min.

 

THANKS

( be gentle)

Glenn

Posted

Welcome to the forum!

 

Many of us do something quite similar. There are several approaches to this. You can have one program monitor the status of many devices and send a scene Off to the All Outside scene if one or more are on during the specified time frame:

 

If 
  (
  Status Ouside Light 1 is On
  or Status Outside Light 2 is On
  or Status Post Light 1 is On
  or Status Porch Light Is On
  )
  And Time is From Sunrise to Sunset (same day)

Then
  Set Scene AllOutsideLights Off

Else

 

Or you can monitor each light individually:

 

If 
  Status PorchLight is On
  And Time is From Sunrise to Sunset (same day)

Then
  Set PorchLight Off

Else

 

Depends on your needs.

 

-Xathros

Posted

If I am understanding correctly, it seems that Xathros forgot to have a one minute wait as the first command in "then" for the two examples.

Posted

Exactly. Sorry. What I posted is what my system does. If an outside light is turned on during the day, it turns back off instantly. No need to have it on in daylight - even for a minute.

 

-Xathros

 

Edited for spelling

Posted

Hello ....thanks for your help I just got time to write the program....and it works for one light so now have make it work for all outside light scene.

I don't get on the internet everyday...so thats why i didn't thank you sooner...so THANKS AGAIN...

GLENN

Posted

GLENN52-

 

No Problem. Always happy to help.

 

-Xathros

Guest
This topic is now closed to further replies.

×
×
  • Create New...