I am creating some semi-dynamic rules for alarm notification and noticed something that didn't make sense to me.
What I am doing is creating a single email for each door location and then grouping windows and glass breaks since there aren't enough spots. So this is what I did:
this did NOT work:
WHENEVER (Area 1) arm state becomes armed
AND Front Door is not secure
THEN turn output xx on for xx seconds
WHENEVER output xx is turned off
AND the burglar alarm in (Area 1) is active
THEN send email message
then I switched the first part around and it DID work:
WHENEVER front door becomes not secure
AND (Area 1) arm state = armed
THEN turn output xx on for xx seconds
So, two things....why does it work one way and not the other and is there a better way to accomplish my goal?
What I am doing is creating a single email for each door location and then grouping windows and glass breaks since there aren't enough spots. So this is what I did:
this did NOT work:
WHENEVER (Area 1) arm state becomes armed
AND Front Door is not secure
THEN turn output xx on for xx seconds
WHENEVER output xx is turned off
AND the burglar alarm in (Area 1) is active
THEN send email message
then I switched the first part around and it DID work:
WHENEVER front door becomes not secure
AND (Area 1) arm state = armed
THEN turn output xx on for xx seconds
So, two things....why does it work one way and not the other and is there a better way to accomplish my goal?