I have a simple macro setup as:
Trigger Conditions B2 ON and Module Status Off - Porch Light and
Flag Status Off - 2
End Trigger Conditions
Set Flags [2]
Turn Porch Light ON
WAIT for 15mins
Turn Porch Light OFF
Clear Flags [2]
So basically run if the light is off and not already running (trying to avoid any retriggering issues). This is not real useful, but trying to debug another problem.
However, when I run this macro w/ my remote, the light turns on (yay). But if I manually turn off the Porch Light and run B2 again (from my remote) before the 15min delay, it turns the light on again.
Now maybe I'm missing something, but in this case, flag 2 should have been still set, and the "AND" check in the conditional should have failed and not turned the lights on again.
This macro is set to run in interface and I'm not triggering it with the PC, just my remote. I also don't have any other "B2" macros (no elses, of B2 OFFs).
Can anyone explain to me what might be happening? And does know exactly what happens when a macro is retriggered while it's running (sitting on a Delay node)? I actually expect retriggers to interrupt current macros and just restart them, but even this doesn't appear to happen.
Thanks,
-Doug