Announcement

Collapse
No announcement yet.

Need Help with structuring an event

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need Help with structuring an event

    I need some help with structing an event for the front porch lights.

    I normally like to have them come on at Sunset and and dim to 50% after 10PM and then finally off at Midnight.

    Additionally, I have a motion sensor on the front porch that I would like have trigger the porch lights to turn on 100% based on detected motion if the time is after 10 PM but before 8AM the next morning, and then turn off 5 minutes after the motion has stopped.

    I'm getting lost in the event logic to accomplish this if the light are already on after 10PM when they have been dimmed to 50%.

    Any help is appreciated.


    #2
    This is actually 3 events.

    Event 1 -
    if porch light is off
    and if time is after sunset
    and if time is before 10 pm
    -or-
    if motion
    and if time is after 10 pm
    and light is less than 100
    -or-
    if motion
    and if the time is before 8 am
    and the light is less than 100

    turn light on

    Event 2
    if light is greater then 50
    and if time is after 10 pm
    and if no motion for at least 5 minutes

    set light to 50%

    Event 3
    if light is greater than 0
    and if time is before 8 am
    and if no motion for at least 5 minutes

    turn light off

    Comment


      #3
      BIG Thanks!

      Comment

      Working...
      X