Announcement

Collapse
No announcement yet.

UDMC Code Help

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

    UDMC Code Help

    Need some help..

    I have a motion sensor on my front porch and want to use it to control the "Front Porch Lights."

    I already have an event that turns them on each night at Sunset to 40% and then another event to turn them off at Midnight.

    I'd like to use the UDMC code within the motion sensor settings to do the following...

    When motion is detected and it's after Sunset and before Sunrise..

    If the "Front Porch Lights " are on - set the lights to 100% for 5 minutes and then dim them back to 40%

    If the "Front Porch Lights" are off - set the lights to 100% for 5 minutes and then dim them to off.

    Any help is appreciated.

    Thanks
Working...
X