What would be the best way to get a notification on lock failure?
Use case: Sometimes the kids (or myself) don't always push the door all the way close, this obviously results in a lock failure when a rule locking the door goes off. I use reliable lock app but it doesn't notify of failure to lock... My thought process to proceed would be to create my lock rules to check if the status is open 10 or 20 seconds after throwing the lock command and then if the lock is still open, send message... Would this be the right track?
The Schlage locks we use report that they are jammed when they can't complete the locking operation. You can check the eventText in a rule to find this condition:
A door lock may show "locked" even with the door wide open.
Every door with an electronic lock needs to have a contact sensor to verify that the door is closed fully. Only then is the locked/unlocked status useful.
yeah I see that but im also less worried about that then it not latching then being thrown properly... Unlikely it gets left open (but I can certainly add that to the conditional)
Our Yale lock sometimes doesn't fully extend and will remain in an unlocked state, even though the door is essentially locked. It only has two states (locked and unlocked) and doesn't support jammed or unknown. Usually a second lock command will take care of it. This actually happened earlier today so I added a rule to check the status of the lock 5 minutes after it gets unlocked, and lock it if it shows a unlocked. This is specifically for when the kids leave the house for school, so the timing is restricted to a fairly narrow, predictable range. They usually unlock and relock in less than a minute. Based on reading this post, I added another short wait and a notification to let me know if the second lock attempt fails to put the device into the locked state.
I can't use locked as the trigger because the device doesn't actually make it to the locked state in these cases. Also, there doesn't seem to be a trigger that watches for a lock attempt or command.