Power meter = and stays that way

In RuleMachine you can create a conditional action when motion is involved. The nicest attrubite is "and stays this way" where you can set an amount of time that motion needs to be active/inactive.

Is the same possible when checking a power level?
I cannot seem to find it.

Basicly what I want to do, is trigger an automation when my dryer is done. Trouble is that the power level drops to 2, then go's up then to 2 again for a small variable periode after its normal cycle. I want to run a role when that cycle is done.

I'm not sure you can do this with a conditional statement within the rule for either motion or power but you can do it with either in a trigger. If you want to do it within the body of the rule you could use "wait for event" or "wait for condition" and check for a timeout. Or perhaps "time since event" depending on how you want the rule to work.

I'd suggest maybe using > rather than =.

1 Like

Cheers.

Re-created the rule and testing it now.

I think you may need to check after your WAIT whether the WAIT met the condition or just timed out.

It should stay waiting until the condition is met i think?

Yeah my bad. I was thinking that 5 min was the timeout.

Looks like it is working.
Maby I need to add a cancle delayed action as the first action?

The waits should get canceled when the rule re-triggers...

This, every time the power changes, the rule retriggers and your waits start again.

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