Why is this rule not exiting?

I have a number of old z-wave that don't always respond so I use wrappers like this. They are triggered by the light changing status - either on or off.

For some reason the rules are running 10 times every time and then reporting repeating continuosly in the rule list after this. But they should stop repeating and exit when the refreshed status matches the original status.

For example - light is turned on. It reports on in device status. The rule runs the refresh. The light returns off indicating that it did not actually turn on. The repeat sends the on command again and then rechecks.

As mentioned this is not happening. The rule runs 10 times every time. And then it continues to show repeating in the rule list. But the event log for the device only shows 10 commands.

So my logic is off somewhere so hoping for some insight? Thanks.


Please provide your hub model (C7, C8, etc.) and its platform version from Settings>Hub Details.

Check out the following post for help troubleshooting problems and gathering details that will help others to identify and solve the problem you are experiencing: ‼ READ FIRST - Before Posting in Get Help


Perhaps if you turned on logging and posted it someone might see something. I don't see anything obvious, perhaps someone else will.

Try making the repeats stoppable or use cancel rule timers instead.
" Some method to stop the repetition is required. One option is the Repeat n times option, which will stop the repeat after n repetitions. Alternatively (or additionally), if the Stoppable? option is selected on the Repeat... , then a Stop Repeating Actions action elsewhere (often in the other half of an IF THEN /ELSE inside the repeat) will stop this repeat when called from elsewhere in the rule. As an alternative, Cancel Rule Timers from either the current rule or another rule will stop all repeats (and other rule timers), regardless of whether this option is selected."

1 Like

Yeah that's probably it.

duh, stoppable was turned off. Just saying but I think that should be on by default. I have yet to find myself in a situation where I don't want a repeat to be stoppable. Thanks.