Announcement

Collapse
No announcement yet.

Stopping event if a light switch is manually enabled

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

    Stopping event if a light switch is manually enabled

    I am setting up an event that will turn on the lights, inside the house, if the garage door is opened. I have the event set up to dim the lights after 5 minutes, then after that turn the lights off. I want to be able to cancel the event for the device if it is manually trigger.

    If my wife walks inside the house and the lights are on, they dim after 5 minutes and then she turns them back on all the way, it will not turn them off.

    My current setup is like this:

    Click image for larger version

Name:	homeseer event.png
Views:	134
Size:	281.0 KB
ID:	1335276

    Also would there be a way to still shut off 2 or 3 lights if just the one light was manually enabled?

    I believe I need to set up virtual devices to make this work but maybe not.


    Thanks,

    Nick

    #2
    Probably a lot of ways to do this, but I would tackle this by using a timer (rather than a wait statement).

    For example:

    If Manually Triggered
    Then
    Turn light A on
    Wait 5 Minutes
    Turn light A off

    Would be changed to:

    If Manually Triggered
    Then
    Turn light A on
    Reset and start timer Alpha


    If Timer Alpha becomes 5 minutes
    Then
    Turn light A off
    Stop timer Alpha

    Now if I want to stop light A from turning off after 5 minutes, just stop that timer.

    Comment

    Working...
    X