RM Question

I have a question about RM restrictions.

Say I have a motion lighting rule that is restricted to running between 8AM and 9AM. Motion activates a light at 8:59AM, then motion stops at 9:01 AM, then a delay of one minute is followed by the light turning off.

SInce the rule turns false after 9AM, will the delay and turn off still occur, or will the rule stop at 9AM?

The advice you’ll find elsewhere in this Community is that you want to split the Rule into two. One for ON, one for OFF. ON cares about Time-of-day, OFF does not. OFF will occur even if ON did not (because of time-of-day.)

ON is something like IF Motion TRUE + ToD (time of day) then ON

OFF then becomes IF Motion FALSE, DELAY 1 Min then OFF

If you choose to NAME the rules with the same beginning, they’ll sort together and you’ll be able to better visualize them as one Rule. Yes, it would be nice if RM allowed for that “containerization” :smiley:

This “problem” is fractionally worse when you pick “sunrise” or “sunset” since that changes every day.

I took a slightly different approach, used the built in Hubitat Simple Lighting. You will need to add the time restriction

Should work for you
Rick

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