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.

time interval event programming

Featured Replies

Posted

OK, I have event1, event2 and actionA.

 

If event1 occurs, then if within 20 seconds event2 occurs, then do actionA.

 

How do I code that in ISY?

 

* Orest

  • Author

OK, figured out a way to do it ...

program var entry sense.wait (a variable)

 

program entry sense

If
       Program 'var garage open' is True
   And Program 'var dark' is True
   And Program 'var sleeptime' is False

Then
       Run Program 'var entry sense.wait' (Then Path)
       Wait  20 seconds
       Run Program 'var entry sense.wait' (Else Path)

Else
  - No Actions - (To add one, press 'Action')

 

program entry sense.do

If
       Control 'laundry rm / LND - PIR-Sensor' is switched On
   And Program 'var entry sense.wait' is True

Then
       Set 'front hallway / FH - Pots' 80%
       Set 'kitchen / KIT - Pot' On
       Run Program 'var entry sense.wait' (Else Path)

Else
  - No Actions - (To add one, press 'Action')

very cool. creative. makes me what to come up with an application for this myself.

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.