@ethayer or anyone else that can help…
I installed this app for a Kwikset 916 and I’m having some issues that I haven’t come across on other installations. This time around I’m not able to get any codes to function although I’m setting them via the app on my iPhone 6.
The first notable difference between previous and the current installation is when I’m changing the device type for the Z-Wave Lock to Z-Wave Lock Reporting, “Z-Wave Lock Reporting” is missing. I’ve added the custom device type from zwave-lock.groovy and now there are two “Z-Wave Lock” device types. That’s the only difference that I see from previous installations for me and I notice that name changed in the git history. I have multiple hubs using the Kwikset 916 that uses your code so i’m baffled why it’s not working now.
Is there anything I’m missing in the installation? I installed the SmartApp via template and copied your code, I also installed the device type via template and copied your code.
Here’s my logs if that helps:
db94ef34-0a24-4c85-b96c-da092644e29e 6:17:03 PM: trace getPhrases(), state.welcomeIssue = null
4c507751-a48b-4903-9ecb-e2d8845a8361 6:16:50 PM: debug "zw device: 03, command: 8612, payload: 06 03 43 03 25 " parsed to ['descriptionText':Demo Lock: firmware version: 3.37, Z-Wave version: 3.67, 'isStateChange':false, 'displayed':false, 'linkText':'Demo Lock']
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:16:48 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:16:48 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:16:47 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
4c507751-a48b-4903-9ecb-e2d8845a8361 6:16:47 PM: debug poll is sending ['8611']
4c507751-a48b-4903-9ecb-e2d8845a8361 6:06:50 PM: debug "zw device: 03, command: 9881, payload: 00 62 03 FF 00 00 FE FE " parsed to ['name':'lock', 'value':'locked', 'isStateChange':true, 'displayed':true, 'linkText':'Demo Lock', 'descriptionText':Demo Lock lock is locked]
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:06:48 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:06:48 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:06:47 PM: error java.lang.NullPointerException: Cannot invoke method toInteger() on null object @ line 812
4c507751-a48b-4903-9ecb-e2d8845a8361 6:06:46 PM: debug poll is sending ['9881006202']
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:04:45 PM: debug state: [lastUser:1, userState2:[enabled:true, usage:0], userState1:[enabled:true, usage:0], lock1:[error_loop:false], error_loop_count:0]
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:04:44 PM: debug Updating 'Locks' with settings: [locks:[Demo Lock], maxUsers:2, userEnabled1:true, userCode1:2345, burnCode1:false, userName1:Demo, userSlot1:1]
4c507751-a48b-4903-9ecb-e2d8845a8361 6:04:45 PM: debug code1 was 2345, set to 2345
4c507751-a48b-4903-9ecb-e2d8845a8361 6:04:45 PM: debug "zw device: 03, command: 9881, payload: 00 63 03 01 01 32 33 34 35 " parsed to [['name':'codeReport', 'value':1, 'data':['code':'2345'], 'descriptionText':Demo Lock code 1 is set, 'displayed':true, 'isStateChange':true, 'linkText':'Demo Lock']]
4c507751-a48b-4903-9ecb-e2d8845a8361 6:04:45 PM: debug code report parsed to [['name':'codeReport', 'value':1, 'data':['code':'2345'], 'descriptionText':Demo Lock code 1 is set, 'displayed':true, 'isStateChange':true, 'linkText':'Demo Lock']]
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:04:43 PM: debug state: [lastUser:1, userState2:[enabled:true, usage:0], userState1:[enabled:true, usage:0], lock1:[error_loop:false], error_loop_count:0]
5af29ccd-f285-4e89-9116-e10f2d8934f9 6:04:41 PM: debug Installing 'Locks' with settings: [locks:[Demo Lock], maxUsers:2, userEnabled1:true, userCode1:2345, burnCode1:false, userName1:Demo, userSlot1:1]
4c507751-a48b-4903-9ecb-e2d8845a8361 6:04:42 PM: debug setting code 1 to 2345
4c507751-a48b-4903-9ecb-e2d8845a8361 6:04:42 PM: debug code1 was null, set to 2345
db94ef34-0a24-4c85-b96c-da092644e29e 6:04:12 PM: trace getPhrases(), state.welcomeIssue = null
6:4:5 PM: info Waiting on events...
6:4:5 PM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
6:4:5 PM: info This console provides live logging of your SmartThings.
Thanks for your help! If there’s anything I can do to help get this issue corrected, let me know. I’m happy to lend a hand or get you any logs or info that you need.