This has probably been asked before; Can I have two or more different programs waiting for a motion detector to switch on? In other words, will both of them be able to execute properly? For example:
Program 1:
If
Control 'StudyMD-Sensor' is switched on
Then
$studyMdOnCount += 1
Program 2:
If
Control 'StudyMd-Sensor' is switched on
And Status 'Study Lt Switch' is Off
Then
Set Scene 'Study' On
So in the cases above I want to make 100% sure that the variable would increment in program 1 AND that the lights would turn on every time if they were off in the study (Program 2). There is a specific reason that I don't want to get into why I would have two or more programs monitoring the motion detector. I just want to make sure that both programs get scheduled to run AND that they will both see the switched on condition. I don't want one running 1st, clearing the condition, then the 2nd not working.
Also, in general, can this be done with any kind of sensor or switch?
Thanks in advance for your help