Detecting an error condition in a door lock


#1

1) Give a description of the problem
I need to be able to detect if a door jams while trying to lock. Sometimes someone fails to close the door completely and the door lock jambs.

2) What is the expected behaviour?
I would like to issue the lock command and then test the result, but I don’t know if Webcore returns the result, and if so, where to look for it.

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

It will depend on your lock device handler. The device handler I used for my Schlage lock returns an ‘unknown’ status so I just check for that and the door contact being closed and send an announcement to the Echo devices in the house.

You might have to do some testing and see if yours does the same.


#3

How do you check for it? I don’t know where to look


#4

Log into IDE, go to your devices and pull up your lock details. Intentionally jam the lock and see what status it gives on the device page. If it shows there, there might be a good possibility that the device handler reports it as a status to webcore.