Rule machine canceled off comand

Good day all

img 1

I have the off command, I want when the motion is reactivated, to start owar anather 4 min, not to be suspended. Is what I did ok?
Thanks everyone!

I think (but I'm no expert) you need to make the very first action (before the IF) - 'Cancel Delayed Actions' for that to work. Theres nothing to stop the rule retriggering while it's running, so adding that at the start should cancel the delay and create another.

I prefer just to not use delayed actions. You could remove the delay and just add a Wait for Event > Elapsed Time 4 minutes. Waits are restarted with every trigger so there's no need for a delay and cancel delayed actions if you do it that way.

1 Like

The above is likely more or less what you want, though without seeing your entire rule (including trigger events), it's impossible to say what would actually help in your case.

Is there a reason you want to use Rule Machine for this particular automation? It's very powerful but also very complex and can take some time to learn. The docs are a must for this reason. Something like Basic Rule can handle what it seems like you probably want with this automation (as well as many other general-purpose automations), and it's a lot easier to set up. For lighting automations in particular, there are many purpose-built options that are generally also easier to set up while still allowing some complexity, including Motion Lighting and (more complex) Room Lighting. These may be good to explore instead.

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.