Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Garage Door Program Limitation

Featured Replies

Posted

I would like some of the lights outside to fade up when I open my garage door (after it gets dark outside). These lights may already be running on a timer and be at a very dim level. I want them to stay on full brightness for 10 mins (regardless of whether the garage door continues to remain open or closes during that time frame). I have a program that works to turn on the lights (whether I use a variable for the garage door or an insteon status), however, if the door is closed within 10 mins, the program nullifies suddenly and the "Then" portion stops running. Then, these outside lights end up staying on full brightness forever. How do I get the program to continue to stick with running the "then" portion even if the door's status changes within the 10 mins? I have attached the two programs below:

Outside Recessed Lights On - [ID 0019][Parent 000D]

If
        From    Sunset  +  5 seconds
        To      Sunrise (next day)
    And $s.GarageDoorStatus is 1
 
Then
        Set 'Outside Lights / Outside Foyer' Fade Up
        Set 'Outside Lights / Outside Garage' Fade Up
        Wait  10 minutes
        Run Program 'Recessed Lights Timer' (If)
 
Else
   - No Actions - (To add one, press 'Action')

_________________

Recessed Lights Timer - [ID 0013][Parent 0003]

If
        From    Sunset  +  5 seconds
        To       1:30:00AM (next day)
 
Then
        Set 'Outside Lights / Outside Foyer' On 15%
        Set 'Outside Lights / Outside Garage' On 15%
 
Else
        Set 'Outside Lights / Recessed Lights Outside' Off

The WAIT statement executes the specified wait, but also allows the IF to be reevaluated any time one of its conditions changes.  So you need to move the commands under the THEN to another program that has no conditions in its IF and call that program from your existing THEN.

  • Author

Incredibly dumb of me, I can't believe I have my other programs set like that and I didn't think to do that with this one

Thanks

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.