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.

Does stopping a program reset it?

Featured Replies

Posted

I have two programs to turn on and off my theater's ISY controlled devices. If I run the Then section of theater off, it runs for about 20 minutes. If I decide to turn back on the theater during that 20 minutes, I want to stop the off program from running so the on program can run. If I add a line to Stop the off program, will the off program run in entirety the next time I activate it?

 

Here are the programs I wrote:

 

Theater ON

 

If

IR 'IR_020' is Pressed

 

Then

Stop program 'Theater OFF'

Set 'Theater / Receptacle / Theater NE' On

Wait 1 second

Set 'Theater / Receptacle / Theater NW' On

Wait 1 second

Set 'Theater / Receptacle / Theater SW' On

Wait 5 seconds

Set 'Theater / Receptacle / Theater SE' On

Wait 1 minute

Set 'Indoor / Thermostats / Theater / HVAC Theater' Mode Cool

Wait 5 seconds

Set 'Indoor / Thermostats / Theater / HVAC Theater' Fan Auto

Wait 5 seconds

Set 'Indoor / Thermostats / Theater / HVAC Theater' 80° (Cool Setpoint)

 

Else

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

 

 

 

 

Theater OFF

 

If

IR 'IR_019' is Pressed

 

Then

Set 'Indoor / Thermostats / Theater / HVAC Theater' 76° (Cool Setpoint)

Wait 5 minutes

Set 'Theater / Receptacle / Theater SW' Off

Wait 5 seconds

Set 'Theater / Receptacle / Theater SE' Off

Wait 5 seconds

Set 'Theater / Receptacle / Theater NW' Off

Wait 5 seconds

Set 'Theater / Receptacle / Theater NE' Off

Wait 15 minutes

Set 'Indoor / Thermostats / Theater / HVAC Theater' Fan Auto

Wait 5 seconds

Set 'Indoor / Thermostats / Theater / HVAC Theater' Mode Off

 

Else

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

 

 

  • Author

Looking at the above programs, if I press ir_19 and begin the Off program and then 5 minutes later press ir_20 to run the On program it will stop the Off program. The next time I press ir_19 will it begin at the beginning of the Then statement or will it pick up where it left off?

my understanding is that it will start back at the beginning

Yes. It will not start in the middle of the program. Each time you run a program, it will start at the beginning.

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.