Door lock after delay and door sensor condition

Hi All -

This seems like a very simple problem to solve and hopefully a good entrance for me into the world of PLEG. I have a door with the Schlage motorized deadbolt and a door sensor. What I’d like to do is set up an automation triggered by the sensor being un-tripped (the door closed). Following the door being closed, there should be a delay of 10 minutes, and then the door should lock only if the sensor is still not tripped. The goal is to avoid the deadbolt extending while the door is open (if, for example, someone has propped the door open while bringing in groceries).

As I said, this seems straightforward but I’d appreciate some hints.

Thanks!

  • Alex

Any ideas, anyone?

Thanks in advance!

  • Alex

Use search … there is already an example like this out there.