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.

Help with simple program

Featured Replies

Posted

I am new to ISY...Installed it yesterday.

 

I created a simple program to turn on the garage lights when one of my garage doors open and turn them off 10 mins after that.  Code is below:

 

If
        Status  'Garage / Garage Left-Sensor' is Off
     Or Status  'Garage / Garage Right-Sensor' is Off
 
Then
        Set 'Garage / Gararage Lights' On
        Wait  10 minutes 
        Set 'Garage / Gararage Lights' Off
 
Else
   - No Actions - (To add one, press 'Action')
 
I have 2 garage doors with Insteon Garage Kit (sensors) installed and an no/off light switch.  My sensors are set to be "Off" when the door is open.
 
When I open one of the garage doors, the lights come on as expected.  But they stay on indefinitely and don't turn off after 10 mins.
 
Is my syntax incorrect?  Any help is greatly appreciated.
 
Thanks.
 
 
  • Author

The program stops running when the sensor turns back to on. Move the lines in the then part to a separate program and run that program instead.

 

Sent from my Nexus 7 using Tapatalk

Thanks.

For something this simple, you could also try using "control" rather than "status" for the two sensors.  This would allow keeping in a single program.

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.