1) Give a description of the problem
This piston is not relocking the door reliably and continually acts as if it’s doing the process twice for each iteration.
2) What is the expected behavior?
The piston should wait for the door status to be Unlocked, note the time and make sure the Front Door is closed. Once those are done if it’s between one time frame it waits 2 minutes and then locks the door. If it’s outside that time frame it waits 30 minutes and then relocks the door.
3) What is happening/not happening?
Prior to adding the logic to check the Front Door status (open/closed) this was working just fine. After adding the more complex code to make sure the door is closed before locking it, it stopped working reliably.
Thanks for any help. It’s also the first use of Repeat that I’ve tried and wonder if that’s part of the issue.