Jump to content

Checking Status via ISY program.


MeDoISY

Recommended Posts

Posted

How often does a program run when the 'If' condition is Status?

If
	Status 'Back Door' is On
Then
	$iVariable1 += 1
Else
	$iVariable2 += 1

If the Status is 'OFF', will this run forever? Will $iVariable2 be incremented to infinity and eat up all CPU to slow the ISY to a crawl?

Posted

Such a program never “checks” status.  Instead, the program is triggered when status changes.  If the door was always ON, the program would never run.

Posted

In my experience, It will also run ‘Then’ or ‘Else’ if you refresh the device status (or when the 3am update all is run) - based on its status.

Posted

When triggered by a change in the back door status, the program then or else section runs only once.

 

There is no 'continuous' in event driven software.

 

Sent from my SM-G930W8 using Tapatalk

 

 

 

 

Guest
This topic is now closed to further replies.

×
×
  • Create New...