RM help - stuck on delay

I have this rule that for some reason stopped going past the delay. This morning I recreated the rule from scratch and it still hangs at the delay, nothing is scheduled in the Rule settings

No errors in the log

I can share any section of the Rule settings, just let me know

C-3 latest FW

What am I missing?

I don't understand why you need the first delay, when the second time you're checking those conditions you don't need it.

Also think this might be trouble if the conditions change after you start the delay. There's nothing cancelling that delay if one of the beds become present once the delay starts.

1 Like

Thanks furom, I'll try a wait instead of delay

1 Like

I have had issues with setting sleepnumberfavorite on both beds at the same time so I am trying one, delay for 15 seconds then set the next

In first else-if, I am trying both at the same time

As for not having a cancel delayed actions, had that in there as well at one point. The only delay I would be concerned about re-triggering is the 5 min delay in the last section.

Just noticed, you can cancel a Wait... :frowning:

Agree, would be nice to know why the delay isn't scheduled and the rule just stops there

If you wait for a condition, then wait for elapsed time, the actions prior to the wait condition will happen if there's a match and the wait condition is no longer valid.

Example:
Screen Shot 2021-03-15 at 2.21.11 PM

Thanks for the help on wait vs. delay

Now the $64M question, why is this rule getting stuck on the delay and not moving on to the last 2 commands?


Well it seems your rule is corrupt. I didn’t notice before, but the first IF has no THEN after it.

As for the delay, you could change the last ELSE IF to

ELSE
Wait for conditions (Pops Bed, Nanas Bed all not present) THEN
Wait for event -> elapsed time: 05:00

It went on Spring Break.

LOL So I just wait for school to start again?

The first If is a Simple Condition Action and doesn't need a then/end if, IIRC

I recreated the rule from scratch with no edits, same result

Yes I could use a wait for event but that can't be cancelled like a delay should someone get back into bed say early morning bathroom trip...

So far Bruce has the best answer, the rule is on spring break, lets hope I don't have to wait for summer for it to return home

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