Kwikset Z-Wave "Door Jammed" Notification Rule Help

I have kind of a weird problem. So, I have the Kwikset 916 locks. The Zigbee works fine and when it "jams" (i.e. the door attempts to lock, but the bolt doesn't successfully go in), it changes the lock status to "unknown" so I can easily create a notification when the lock status becomes "unknown".

However, I discovered a bug earlier this year on the Z-Wave version of the lock. Detailed logs in one of my older posts: Z-Wave Kwikset 916 Jammed Lock Bug - #10 by HarleysWorld
I still have 2 of these locks in our home. What I have noticed is when the Z-Wave locks ATTEMPT to lock, but "jams", then the status REMAINS "unlocked" (instead of becoming "unknown" in the Zigbee version). Short of replacing the locks, how can I write my rule to catch this event?

I'm not sure if you can create a rule that trigger s on the lockING action or the "lock() command executed". Essentially, the Z-wave lock will execute the lock() command, but the status remains "unlocked" and I want a rule that basically says:
Trigger: Lock executing lock() command
Rule: Wait "x" seconds. If status = "unlocked", send notification.


image

It seems you have the gist of the rule well defined. Have you tried adding this rule to see if it works?

I would think that the lock event would trigger your rule, regardless of whether or not it is successful.

It doesnā€™t :frowning: Itā€™s because the status doesnā€™t really change. Like, it would have been different if it went from unlocked to locked then back to unlocked during the jam, but as far as the rule is considered nothing has changed. I feel my only option is to trigger on the ā€œlock()ā€ command that you see in the debug.

1 Like

Create a virtual lock for each. Have a rule for virtual lock that locks real lock, waits, then checks it.

Name virtual lock ā€œLiving Roomā€ and real one Real LR Lock

1 Like

I donā€™t have locks to test this on, but I would think that when you send a lock command to the lock, it would generate a lock() event that could trigger a ruleā€¦ If not, @TArmanā€™s suggestion sounds like a good one.

His suggested rule could also wait to only lock once the door is known to be closed, and notify you when you try to lock an open door, or if the command is not successful.

Itā€™s in the logs if I have ā€œdebugā€ on. But, this is what I donā€™t know how to do. Like which option to pick on RM so I can use the lock() event that you see in the logs when the debug is on as a trigger. Do you know what option that is on Rule Machine? Sorry. Not super savvy with RM yet.

This only happens if the command is successful and the device sends a report back to the hub. Sending a command does not normally do anything on its own.

From the logs posted in the other topic, this lock doesn't seem to send anything when the lock is jammed, which is what would be really helpful to make this work on a driver. Without that, the virtual device idea seems like a reasonable approach with what's built in (if you really need a separare status from "unlocked," which is also likely true).

1 Like

So, you canā€™t use the ā€œlock()ā€ associated with the debug in the logs as a trigger event?

Correct. That is a debug log entry noting the fact that the command was executed--but that's it. Logs per se cannot be acted on by apps.

2 Likes

Iā€™m intrigued! So, I need rules that make sure the statuses are synced right? So when I physically use the lock either via keypad or knob, itā€™ll update the virtual lock. But, I should make all my ā€œdigitalā€ operations be on the virtual lock and have a rule that says whenever theyā€™re not in sync, then throw a jam notification?

Nooooo. Okay Iā€™ll have to play around with the virtual lock idea then. Not 100% sure how to go about that. Iā€™m guessing itā€™ll involve several rules?

Since the lock didn't complete the action, the driver may not have updated the lock status. Try adding a refresh command at the start of the rule with several seconds of delay to make sure you have the current status.

When I was doing these tests, I was just hitting the Lock command on the device page while leaving the door slightly ajar. It definitely just stays as unlocked and never updates to unknown like the Zigbee version

I've got the ZigBee version. The only real solution to this is to train the family to fully/firmly close the doors.

The Zigbee version works fine because it actually changes the lock status to ā€œunknownā€ so I believe I can create a ā€œlock status is changedā€ rule in RM, then check if that status is ā€œunknownā€ then do a notification.

My point is that if everyone is gone then knowing the lock may not be locked is useful but actually locking the lock is more useful.

That makes sense, but we have 7 exterior doors and while we make sure the front door is locked as we leave, sometimes we forget about the others. We have an automation that locks all our doors for good measure once we leave the house (using the combined presence app of geolocation & WiFi). Itā€™s fairly sensitive so it would give us time to turn back to lock any doors that fail to do so.

Same thing I do, but I check all doors for NOT(locked) and for NOT(closed) and alert.

I had to add "not closed" to the doors Inovelli switch notification bar rule for our out of sight garage man door after discovering it was locked but not closed one evening. That door is now represented by a virtual lock that requires both locked and closed to show as locked.