Jump to content

Multiple events at sunset


aLf

Recommended Posts

Posted

I have many lights that I control at sunset to 10PM.  I like to have the backup of making sure they off at other times.  That said I have each on their own program, i.e., IF: item is off, THEN: turn item on.  Vice, during the off times IF: item is on, THEN: turn item off...  I'd like to simplify my housekeeping and include all the items in one program.  How can you then write that each item is challenged?   I thought about a folderthat says from sunset to 10PM these items run, but then I don't have the protection in the off hours???

Posted (edited)

I have many lights that I control at sunset to 10PM.  I like to have the backup of making sure they off at other times.  That said I have each on their own program, i.e., IF: item is off, THEN: turn item on.  Vice, during the off times IF: item is on, THEN: turn item off...  I'd like to simplify my housekeeping and include all the items in one program.  How can you then write that each item is challenged?   I thought about a folderthat says from sunset to 10PM these items run, but then I don't have the protection in the off hours???

 

Put all the lights into a scene and then run a program at sunset to turn on the scene

 

You can run a 2nd program that  runs from 10:01pm until ?? that says if  lights x,x,x  are not off then turn them off. 

Edited by Techman
Posted

Use an OR statement. If any one or more lights are on, then send an off the all the lights.

Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

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