Lock Door - Rule Engine Routine

I have a routine that unlocks my door based on an outside motion sensor. It is then setup to re-lock after the door contact changes. However, sometimes we don’t end up coming inside through that door and so the door contact never changes. I’ve tried to account for this scenario by putting a “wait” into the routine and auto lock if the contact never changes during the wait time. It works most of the time, but is not 100% reliable, which I need for a lock to be. Any other suggestions? Please see image of my rules below. Thanks!

The rule looks correct. Have you turned on logging on the rule to see what happens behind the scenes?

I have not. I’ll turn it on and report back. Thanks for looking at the rule!

1 Like