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.

dstern71

Members
  • Joined

  • Last visited

  1. Thanks for your response, sorry for the confusion. The “B†programs are intended to be a State Machine. Flowstate is a state variable. Int_1, an integer variable, and is intended as a flag to indicate that the timer has timed out and there is a real flow event, not a nuisance trip (a sustained 5 second signal not a momentary one) and therefore want to transition to state 2.
  2. I’ve installed a flow sensor and am getting nuisance trips, probably due to air in the line or pressure fluctuations. I am attempting to write a program that will ignore the nuisance trips by having the ISY only react to signals sustained for more than 5 seconds. The programs are below (I change the input to a light switch for test purposes). Upon execution, when I turn kitchen light on, the program gets stuck at $Flowstate=1 and $Int_1=1. Any help is appreciated. Program Flow B0 If $Flowstate is 0 Then $Int_1 = 0 Program Flow B1 If $Flowstate is 1 Then Wait 5 seconds $Int_1 = 1 Program Flow B2 If $Flowstate is 2 Then Send Notification to 'Dan - Text to phone' content 'Unexpected Water Flow' $Flowstate = 3 Program Flow C0 If $Flowstate is 0 And Status '17.C9.E9.1 Kitchen Ceiling' is On Then $Flowstate = 1 Program Flow C1 If $Int_1 is 1 Then $Flowstate = 2 Program Flow C2 If $Flowstate is 3 And Status '17.C9.E9.1 Kitchen Ceiling' is Off Then $Flowstate Init To 0

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.