MeDoISY Posted January 22, 2019 Share Posted January 22, 2019 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? Link to comment
oberkc Posted January 22, 2019 Share Posted January 22, 2019 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. Link to comment
MWareman Posted January 22, 2019 Share Posted January 22, 2019 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. Link to comment
larryllix Posted January 22, 2019 Share Posted January 22, 2019 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 Link to comment
Recommended Posts