Jump to content

Does stopping a program reset it?


mitch236

Recommended Posts

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')

 

 

Link to comment

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?

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...