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.

Program logic conflicts

Featured Replies

Posted

I have a simple program to run when I leave the house and one when I arrive. Neither run properly. I am not understanding the ISY logic as programs don't appear to run when they are suppose to or not suppose to. I am using the Program Summary, wait and notification commands to help me debug and understand the logic.

Program 'Leave'
If 
    Control 'Kit Vacation D' is switched on
Then 
    Run Program 'All Off' (Then Path)
    Wait 2 minutes 30 seconds
    Run Program 'Flag Away' (Then Path)
Else
   - No Actions - (To add one, press 'Action') 

Button D was pushed Sat Nov 28 08:45:48 PST 2009. The Wait command delays setting a flag so my Arrive program is not run, that seems to work. But Notification that my Away flag was set was 11/28/2009 08:46:13. Shouldn't this time be 08:48:18 when ‘Leave’ finishes execution?

Program 'Flag Away'
If
   - No Conditions - (To add one, press 'Schedule' or 'Condition') 
Then
    Send Notification to all
Else
    Send Notification to all

Based on the results of running these programs, why doesn't my Away flag set 2'30" after the Leave program executes?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.