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.

Stop Multiple Firing of Program

Featured Replies

Posted

I have a Program that I want to run that fires when the controller button is pressed.  I don't want it to trigger while it is running.  I created state variable $ThermWarmUp and set it first line in the THEN block.  however the program then exits.  

any suggestions on how to address this?

thanks

 

 

If
        Control 'MBDR Controller (5)' is switched On
    And $SeasonWinter is 1
    And $ThermWarmUp is 0
 
Then
        Send Notification to 'SteveEMail'
        Set 'ThermD' 69° (Heat Setpoint)
        Wait  2 hours 
        Set 'ThermD' 65° (Heat Setpoint)
        Send Notification to 'SteveEMail'
        $ThermWarmUp  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 
 

The wait causes the if to be reassessed. You need to break your program into 2. First sets variable to 1 then calls the then of the second program.

  • Author

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.