Wait for specific time condition does not work

Hi,

I am trying to achieve the following scenario but it does not wait for the specific time and then turn off the switch.
image

Is this a bug ?
How can I achieve this ?

nevermind , I found the correct , working one.
if I change the "wait for conditions: Time is 22:09" to "Wait for event: When time is 22:09" , it works.

If your rule triggers at 22:09:30 then you'll meet the IF (Time between 22:00 and 22:10) but the Wait condition won't be met until the next day. Is that the action that you want? Additionally, you first IF (Power level of Bedroom Outlet 1 is < 1.0) is redundant of the trigger. You already know it's true since the rule was triggered so you can just delete it.

You are using a very old version of Rule for this. "Wait for conditions" became "Wait for expression" quite some time ago. I suspect there may be a bug with this in the old version you are using. Checking this out I did find a bug in the new version pertaining to the logging for this case, but the Wait for Expression itself works as expected.

2 Likes

is that "wait for expression" or "wait for event" ?

There are both, and they work differently.

For Wait for Event, there is only Wait for Certain Time. With Wait for Expression, there could be Wait for Time Between Two Times. If it happens to be the case with this one that the time is already between the two times, there would be no wait at all.

Wait for Event is doing just that, waiting for a specific event to happen.

Wait for Expression is waiting for the expression to be true, and if it is already true, going forward with no wait at all.

2 Likes

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