lock-manager
lock-manager copied to clipboard
Code fails to set for user silently when there is another user with the same code
I'm using the Z-Wave Schlage Touchscreen Lock and I'm having trouble setting user codes. The code tries to set the code over and over again until it fails too many times and disables the user. Here is the output when debugging is turned on (I've removed the smart app hashes to make this easier to read):
11:30:11 PM: debug Received: s:2 c:null
11:30:11 PM: debug "zw device: 02, command: 9881, payload: 00 63 03 02 00 " parsed to [['name':'codeReport', 'value':2, 'data':['code':''], 'descriptionText':South Home Door code 2 is not set, 'displayed':true, 'isStateChange':true, 'linkText':'South Home Door']]
11:30:11 PM: debug code report parsed to [['name':'codeReport', 'value':2, 'data':['code':''], 'descriptionText':South Home Door code 2 is not set, 'displayed':true, 'isStateChange':true, 'linkText':'South Home Door']]
11:30:11 PM: debug Parse returned {{ linkText }} has arrived
11:30:11 PM: debug Parse returned {{ linkText }} has left
11:30:09 PM: debug Received: s:2 c:null
11:30:09 PM: debug "zw device: 02, command: 9881, payload: 00 63 03 02 FE " parsed to [['name':'codeReport', 'value':2, 'data':['code':''], 'descriptionText':South Home Door code 2 is not set, 'displayed':true, 'isStateChange':true, 'linkText':'South Home Door']]
11:30:09 PM: debug code report parsed to [['name':'codeReport', 'value':2, 'data':['code':''], 'descriptionText':South Home Door code 2 is not set, 'displayed':true, 'isStateChange':true, 'linkText':'South Home Door']]
11:30:07 PM: debug update: [["code2","0515"]]
11:30:07 PM: debug null:0515 s:2
11:30:07 PM: debug running load codes
11:30:07 PM: debug setting code 2 to 0515
11:30:07 PM: debug code2 was , set to 0515
11:30:07 PM: debug updateCodes called with: '[["code2","0515"]]'
I discovered this was a result of having another user with the same code. Apparently the Schlage fails silently when this is the case or it's response isn't parsed into an error message for the user.
I'm using the Kwikset 910 Lock and upgraded to Lock Manager 2.0 with @tylerjw's Airbnb 2.0, and I'm also getting the silent fail when another user has the same code. I had the same issues with 1.0.
I've experimented and intermittently it will work to use a "similar" code - for example, the code I want to use is "0515", I know that on my keypad ,the 5 and 6 are the same button, so I can program "0616" to get things to work.
I think the only part of this that’s a problem is that it fails silently. Having two codes be the same in separate slots doesn’t need to work. This may be a restriction of the lock hardware itself.