This object is in archive! 

How to stop "Repeat"-Block after disarm alarm?

Christian V. shared this question 7 years ago
Answered

When alarm partition is activated and motion is detected, the LED stripes should start to flash.

But how to stop this loop on disarm?

See rule as attached. I also try to add a "Refresh ALL"-Block and/or "Stop"-Block inside Disarm-IF without any success.

The variable in the repeat-loop seems not to be affected by this action.

I think we need a loop-until Block, but this is not available at present :-(


170cf0093189a2e4b8d2bab651e4159c

Replies (1)

photo
1

In theory, I think you will need to use REFRESH_ALL puzzle to update the WHILENOTDISARMED, after you change it. The rule will keep all variables and sensor states the same as they were when the rule started, until you use REFRESH_ALL. I think ;)

The has been some issues with the REPEAT puzzle as well, but that might have been sorted now.

PS: I think you also need a REFRESH_ALL to pick up the state change of the G55 (from ARM to DISARM)

PS2: ARM and DISARM looks like commands, not states. Are ou using the right device type in the rule creator?

PS3: You could use a STOP puzzle after your SEND_MESSAGE to stop the execution of the rule.

Leave a Comment
 
Attach a file