Hi, Im having trouble figuring out how to design an intuitive auto locking piston for a smart lock.
Its a rear door leading to a garden. I would like the door to lock itself when it closes (the door has a contact sensor) BUT only when there has been no motion in the garden (I have 2 cameras that relay motion events via ST) for 5 minutes.
basically, I want to try and avoid family members being locked out in the garden if they close the door behind them.
this is what I have so far but Im not sure its going to work -