Rule Machine Help

I'm trying to set up an automation to turn the Bathroom heater on if the humidity in the bathroom raises above 65%, but only if the room temp is below 70F, and I only want it to run once every 20minutes (that way the heater doesn't just turn back on if I turn it off manually)

I've got the rule working except I can't figure out a way to limit how often it runs. Right now if i turn off the heater and the humidity is still above 65, the heater will just turn back on a few seconds later. Is there an option i'm missing that would do this? I was hoping for something like you can select with notifications "Only 1 per x minutes"

There’s likely more than one way to do this, but I think private Boolean could work?

You’d need to add a condition to the rule for “private Boolean is true.”

And in the actions, you then set private Boolean to false (it’s a local variable that can be set by rule actions like other local or hub variables) as your first action. The next action is to set private Boolean to true, but delayed 20 minutes. Then the other actions that you currently have the rule doing.

That way, while PB is true, the rule will execute according to your other triggers and conditions. Then it will effectively disable itself for 20 minutes by setting PB to false (preventing further instances of the rule from triggering).

When PB flips back to true at the end of 20 mins, the rule can resume executing according to the other triggers/conditions again.

Not sure if this would work as I've never used the exit rule. Just playing around to see if I could help.

I completely missed the toggle "ignore trigger while running" option on the main page of the new App.... that should take care of it. Thank you both for your ideas!

That ignore … while running toggle has been deprecated, unreliable. Use the other suggestions provided.

1 Like

Tthis option will be disabled/discontinued in the next platform update.

2 Likes