I am trying to implement a repeating announcement (every 15s) while a zone is not secure.
I currently have three rules:
WHENEVER Zn1 BECOMES NOT SECURE
AND Output 208 STATE IS OFF
THEN TURN Output 208 ON FOR 15 SECS
--
WHENEVER Output 208 IS TURNED ON
THEN ANNOUNCE vm241
--
WHENEVER Ouput 208 STATE IS TURNED OFF
AND Zn1 IS NOT SECURE
THEN TURN Output 208 ON FOR 15 SECS
---
This sort of works, but the announcement is repeated twice when the 15 seconds elapses. I'm not at all familiar with the finer details of the M1's rule execution... any comments on why this is and how to restrict it to a single announcement.
Thanks
I currently have three rules:
WHENEVER Zn1 BECOMES NOT SECURE
AND Output 208 STATE IS OFF
THEN TURN Output 208 ON FOR 15 SECS
--
WHENEVER Output 208 IS TURNED ON
THEN ANNOUNCE vm241
--
WHENEVER Ouput 208 STATE IS TURNED OFF
AND Zn1 IS NOT SECURE
THEN TURN Output 208 ON FOR 15 SECS
---
This sort of works, but the announcement is repeated twice when the 15 seconds elapses. I'm not at all familiar with the finer details of the M1's rule execution... any comments on why this is and how to restrict it to a single announcement.
Thanks