Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add lock codes to slots other than slot 1 on Kwikset 916 Zwave lock #104

Open
agastya71 opened this issue Sep 7, 2018 · 2 comments

Comments

@agastya71
Copy link

I recently added the lock manager to my smart things app and have since been trying to add multiple lock codes. However, only the first lock code I add works. the lock code I add to slots 2+ do not ever get saved on the lock.

Question: Does one have to enter the Master code to the lock code to get it set ? and if so why does it work for setting the first lock code.
I do see an error on my phone that seems to indicate setting of the lock code failed. but I am unable to see the actual log messages to say what exactly failed.

Ramdev

@agastya71
Copy link
Author

agastya71 commented Sep 7, 2018

So this is the debug I get from the IDE :

6:05:20 PM: error org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[[code1, 1508]]' with class 'java.util.ArrayList' to class 'java.util.LinkedHashMap' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.LinkedHashMap(java.util.ArrayList) @line 654 (updateCodes)

5:49:23 PM: debug No codes to set
5:49:23 PM: debug running load codes
5:49:18 PM: debug run code logic
5:49:18 PM: debug Lock has 30 code slots.
5:49:18 PM: debug run lock data setup
5:49:10 PM: info ||| NST Manager (v5.5.0) | Updating Structure Data (Last Updated: 180 seconds ago) | Updating Device Data (Last Updated: 180 seconds ago) (async)
5:49:08 PM: debug User asking for lock init
5:49:08 PM: debug User asking for lock init
5:48:31 PM: debug No codes to set
5:48:31 PM: debug running load codes
5:48:26 PM: debug run code logic
5:48:26 PM: debug Lock has 30 code slots.
5:48:26 PM: debug run lock data setup
5:48:16 PM: debug User asking for lock init
5:48:16 PM: debug Initialize lock data for user.
5:48:16 PM: debug Updated with settings: [muteUser:false, lockDisabled7f8b7f8c-3f26-49b6-80ba-e4c2ddb2bc11:false, burnAfterInt:0, userEnabled:true, userName:Guest User, userCode:5405, notification:false, userSlot:2]
5:48:13 PM: debug Initialize lock data for user.
5:48:06 PM: trace getPhrases(), state.welcomeIssue = null
5:48:06 PM: debug there are 3 lock users
5:48:06 PM: debug Updated with settings: [enableDebug:true, overwriteMode:true]

@uc-chriselliott
Copy link

@agastya71, This is the same error as Issue #101. There is a fix proposed to @ethayer just before you opened this issue. Please track that one for a resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants