1) Give a description of the problem
Door is locking when the door is still open
2) What is the expected behavior?
When it is night time, and the door is closed, then lock the lock, if the lock becomes unlocked, wait a period of time and then re-lock, re-check after certain time period.
3) What is happening/not happening?
The lock is locking when the door is open immediately after I open it. If I go through the door then I want it to weight for at least X number of minutes before it relocks, I also then want it to wait Y period before re-checking if the door is unlocked. Before it does anything it needs to ensure the door contact sensor is truly closed.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.