The lock code manager...no code will be accepted. It either says, duplicate code....or some other error.
Results from GET CODE:
dev:3612020-04-21 11:15:49.557 pm infolast code 20 fetched, fetch complete
dev:3612020-04-21 11:15:49.550 pm debugno changes to codeNumber:20, code:null, codeMap:[:]
dev:3612020-04-21 11:15:49.504 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:20, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:49.498 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 14 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:49.283 pm debugfetchLockCode- 20
dev:3612020-04-21 11:15:49.280 pm tracetrying to fetch code:20
dev:3612020-04-21 11:15:49.277 pm infocode:19 fetched
dev:3612020-04-21 11:15:49.268 pm debugno changes to codeNumber:19, code:null, codeMap:[:]
dev:3612020-04-21 11:15:49.257 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:19, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:49.250 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 13 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:49.013 pm debugfetchLockCode- 19
dev:3612020-04-21 11:15:49.010 pm tracetrying to fetch code:19
dev:3612020-04-21 11:15:49.008 pm infocode:18 fetched
dev:3612020-04-21 11:15:49.002 pm debugno changes to codeNumber:18, code:null, codeMap:[:]
dev:3612020-04-21 11:15:48.993 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:18, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:48.988 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 12 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:48.788 pm debugfetchLockCode- 18
dev:3612020-04-21 11:15:48.785 pm tracetrying to fetch code:18
dev:3612020-04-21 11:15:48.782 pm infocode:17 fetched
dev:3612020-04-21 11:15:48.776 pm debugno changes to codeNumber:17, code:null, codeMap:[:]
dev:3612020-04-21 11:15:48.767 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:17, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:48.762 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 11 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:48.555 pm debugfetchLockCode- 17
dev:3612020-04-21 11:15:48.553 pm tracetrying to fetch code:17
dev:3612020-04-21 11:15:48.550 pm infocode:16 fetched
dev:3612020-04-21 11:15:48.543 pm debugno changes to codeNumber:16, code:null, codeMap:[:]
dev:3612020-04-21 11:15:48.531 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:16, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:48.521 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 10 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:48.274 pm debugfetchLockCode- 16
dev:3612020-04-21 11:15:48.272 pm tracetrying to fetch code:16
dev:3612020-04-21 11:15:48.269 pm infocode:15 fetched
dev:3612020-04-21 11:15:48.262 pm debugno changes to codeNumber:15, code:null, codeMap:[:]
dev:3612020-04-21 11:15:48.251 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:15, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:48.243 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0F 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:48.009 pm debugfetchLockCode- 15
dev:3612020-04-21 11:15:48.006 pm tracetrying to fetch code:15
dev:3612020-04-21 11:15:48.004 pm infocode:14 fetched
dev:3612020-04-21 11:15:47.997 pm debugno changes to codeNumber:14, code:null, codeMap:[:]
dev:3612020-04-21 11:15:47.985 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:14, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:47.978 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0E 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:47.743 pm debugfetchLockCode- 14
dev:3612020-04-21 11:15:47.740 pm tracetrying to fetch code:14
dev:3612020-04-21 11:15:47.738 pm infocode:13 fetched
dev:3612020-04-21 11:15:47.731 pm debugno changes to codeNumber:13, code:null, codeMap:[:]
dev:3612020-04-21 11:15:47.722 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:13, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:47.717 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0D 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:47.522 pm debugfetchLockCode- 13
dev:3612020-04-21 11:15:47.519 pm tracetrying to fetch code:13
dev:3612020-04-21 11:15:47.516 pm infocode:12 fetched
dev:3612020-04-21 11:15:47.500 pm debugno changes to codeNumber:12, code:null, codeMap:[:]
dev:3612020-04-21 11:15:47.488 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:12, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:47.480 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0C 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:47.266 pm debugfetchLockCode- 12
dev:3612020-04-21 11:15:47.263 pm tracetrying to fetch code:12
dev:3612020-04-21 11:15:47.261 pm infocode:11 fetched
dev:3612020-04-21 11:15:47.253 pm debugno changes to codeNumber:11, code:null, codeMap:[:]
dev:3612020-04-21 11:15:47.241 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:11, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:47.233 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0B 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:47.019 pm debugfetchLockCode- 11
dev:3612020-04-21 11:15:47.016 pm tracetrying to fetch code:11
dev:3612020-04-21 11:15:47.013 pm infocode:10 fetched
dev:3612020-04-21 11:15:47.007 pm debugno changes to codeNumber:10, code:null, codeMap:[:]
dev:3612020-04-21 11:15:46.995 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:10, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:46.988 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 0A 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:46.769 pm debugfetchLockCode- 10
dev:3612020-04-21 11:15:46.766 pm tracetrying to fetch code:10
dev:3612020-04-21 11:15:46.763 pm infocode:9 fetched
dev:3612020-04-21 11:15:46.754 pm debugno changes to codeNumber:9, code:null, codeMap:[:]
dev:3612020-04-21 11:15:46.739 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:9, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:46.729 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 09 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:46.499 pm debugfetchLockCode- 9
dev:3612020-04-21 11:15:46.496 pm tracetrying to fetch code:9
dev:3612020-04-21 11:15:46.494 pm infocode:8 fetched
dev:3612020-04-21 11:15:46.486 pm debugno changes to codeNumber:8, code:null, codeMap:[:]
dev:3612020-04-21 11:15:46.474 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:8, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:46.457 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 08 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:46.227 pm debugfetchLockCode- 8
dev:3612020-04-21 11:15:46.225 pm tracetrying to fetch code:8
dev:3612020-04-21 11:15:46.222 pm infocode:7 fetched
dev:3612020-04-21 11:15:46.216 pm debugno changes to codeNumber:7, code:null, codeMap:[:]
dev:3612020-04-21 11:15:46.206 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:7, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:46.201 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 07 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:45.996 pm debugfetchLockCode- 7
dev:3612020-04-21 11:15:45.993 pm tracetrying to fetch code:7
dev:3612020-04-21 11:15:45.990 pm infocode:6 fetched
dev:3612020-04-21 11:15:45.983 pm debugno changes to codeNumber:6, code:null, codeMap:[:]
dev:3612020-04-21 11:15:45.974 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:6, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:45.968 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 06 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:45.761 pm debugfetchLockCode- 6
dev:3612020-04-21 11:15:45.757 pm tracetrying to fetch code:6
dev:3612020-04-21 11:15:45.755 pm infocode:5 fetched
dev:3612020-04-21 11:15:45.748 pm debugno changes to codeNumber:5, code:null, codeMap:[:]
dev:3612020-04-21 11:15:45.735 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:5, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:45.728 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 05 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:45.518 pm debugfetchLockCode- 5
dev:3612020-04-21 11:15:45.515 pm tracetrying to fetch code:5
dev:3612020-04-21 11:15:45.513 pm infocode:4 fetched
dev:3612020-04-21 11:15:45.507 pm debugno changes to codeNumber:4, code:null, codeMap:[:]
dev:3612020-04-21 11:15:45.495 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:4, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:45.490 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 04 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:45.279 pm debugfetchLockCode- 4
dev:3612020-04-21 11:15:45.275 pm tracetrying to fetch code:4
dev:3612020-04-21 11:15:45.271 pm infocode:3 fetched
dev:3612020-04-21 11:15:45.263 pm debugno changes to codeNumber:3, code:null, codeMap:[:]
dev:3612020-04-21 11:15:45.250 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:3, userIdStatus:0, userCode:null)
dev:3612020-04-21 11:15:45.241 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 03 00 00 00 00 00 , isMulticast: false
dev:3612020-04-21 11:15:45.016 pm debugfetchLockCode- 3
dev:3612020-04-21 11:15:45.013 pm tracetrying to fetch code:3
dev:3612020-04-21 11:15:45.010 pm infocode:2 fetched
dev:3612020-04-21 11:15:45.001 pm warnsetLockCode- lockCodes:[1:[code:????, name:Dad], 2:[code:????, name:code #2]], codeMap:[name:code #2, code:????], code:****, name:null
dev:3612020-04-21 11:15:44.988 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:2, userIdStatus:1, userCode:****)
dev:3612020-04-21 11:15:44.978 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 02 01 2A 2A 2A 2A , isMulticast: false
dev:3612020-04-21 11:15:44.738 pm debugfetchLockCode- 2
dev:3612020-04-21 11:15:44.736 pm tracetrying to fetch code:2
dev:3612020-04-21 11:15:44.733 pm infocode:1 fetched
dev:3612020-04-21 11:15:44.724 pm warnsetLockCode- lockCodes:[1:[code:????, name:Dad], 2:[code:????, name:code #2]], codeMap:[name:Dad, code:????], code:****, name:null
dev:3612020-04-21 11:15:44.710 pm debugUserCodeReport- cmd: UserCodeReport(userIdentifier:1, userIdStatus:1, userCode:****)
dev:3612020-04-21 11:15:44.631 pm debugparse:zw device: 14, command: 9881, payload: 00 63 03 01 01 2A 2A 2A 2A , isMulticast: false
Set code results:
dev:3612020-04-21 11:18:42.302 pm warnencryption is: false
dev:3612020-04-21 11:18:42.299 pm warndescription logging is: true
dev:3612020-04-21 11:18:42.296 pm warndebug logging is: true
dev:3612020-04-21 11:18:42.294 pm infoupdated...
dev:3612020-04-21 11:15:49.557 pm infolast code 20 fetched, fetch complete
Something definitely above my pay grade there, but you should have got something like this on Set:
setCode- 22
parse: zw device: Some other stuff.....
SetLockCode- lockCodes: private other stuff
Pin code 123456 for test was added at code position:22
updateLockCodes: more other stuff
and everytime i add ANY code I get this:
dev:3612020-04-21 11:33:08.611 pm infoBasement Door (Garage) user code not added, duplicate
dev:3612020-04-21 11:33:08.608 pm debugcmd:NotificationReport(v1AlarmType:0, v1AlarmLevel:0, reserved:0, notificationStatus:255, notificationType:6, event:15, sequence:false, eventParametersLength:0, eventParameter:[])
dev:3612020-04-21 11:33:08.600 pm debugparse:zw device: 14, command: 9881, payload: 00 71 05 00 00 00 FF 06 0F 00 , isMulticast: false
dev:3612020-04-21 11:33:06.196 pm debugsetCode- 1
dev:3612020-04-21 11:33:04.435 pm infoBasement Door (Garage) user code not added, duplicate
dev:3612020-04-21 11:33:04.432 pm debugcmd:NotificationReport(v1AlarmType:0, v1AlarmLevel:0, reserved:0, notificationStatus:255, notificationType:6, event:15, sequence:false, eventParametersLength:0, eventParameter:[])
dev:3612020-04-21 11:33:04.425 pm debugparse:zw device: 14, command: 9881, payload: 00 71 05 00 00 00 FF 06 0F 00 , isMulticast: false
dev:3612020-04-21 11:33:01.999 pm debugsetCode- 1
dev:3612020-04-21 11:33:00.217 pm infoBasement Door (Garage) user code not added, duplicate
dev:3612020-04-21 11:33:00.214 pm debugcmd:NotificationReport(v1AlarmType:0, v1AlarmLevel:0, reserved:0, notificationStatus:255, notificationType:6, event:15, sequence:false, eventParametersLength:0, eventParameter:[])
dev:3612020-04-21 11:33:00.207 pm debugparse:zw device: 14, command: 9881, payload: 00 71 05 00 00 00 FF 06 0F 00 , isMulticast: false
dev:3612020-04-21 11:32:57.831 pm debugsetCode- 1
dev:3612020-04-21 11:32:57.706 pm infoBasement Door (Garage) user code added
dev:3612020-04-21 11:32:57.703 pm debugcmd:NotificationReport(v1AlarmType:0, v1AlarmLevel:0, reserved:0, notificationStatus:255, notificationType:6, event:14, sequence:false, eventParametersLength:0, eventParameter:[])
dev:3612020-04-21 11:32:57.631 pm debugparse:zw device: 14, command: 9881, payload: 00 71 05 00 00 00 FF 06 0E 00 , isMulticast: false
I'm going to delete LCM and try again....those instructions dont really help with this issue.
I don't think it is LCM. I think you have an issue with your lock, the driver, or maybe how it paired? If it isn't working from the device page first, nothing else will work. That is a basic functionality that seems to be not working correctly somehow.
Again, I would be tempted to do a factory reset on the lock and re-add it, but that is pretty much the nuclear option.
Just for fun, did you try in the device page to delete a code position? What did that do?
Oh, and one last question, can you set the code length on the lock itself? With my Schlage, the code length in the lock had to be set first before I could add codes. It bombed out because it was expecting 4 digit codes, and I was trying to enter 6 digit codes.
Other than that, I am out of ideas.
Ok, so the lock is fine, it works perfectly. Opens, closes, etc. I have it in rules, all that. This is only an LCM issue. this is only about LCM and getting it to work with LCM. Take LCM out of the picture and I a great working lock.
Again, my lock worked fine except the codes too. I think you can disregard that function for a minute.
Can you set a code on the physical lock itself?
Yes, all that works just fine for me. I have 2 users in there and a master code via the app - no issues at all. This is all about the LCM for me. @mike.maxwell said this lock was supported by LCM in version 2.2 so i was excited to try it. Guess it'll have to get the bugs worked out.
Delete all codes in the lock with a factory reset. Only enter the Master code (if required by the lock, most do) from the lock itself.
Enter all other codes from LCM. Let us know how it goes.
Did the factory reset. Deleted LCM, added it back. I can still see the user I created and cannot delete it. Added a code to it and got this:
app:3212020-04-22 12:15:04.264 am errorjava.lang.NullPointerException: Cannot get property 'user' on null object on line 458 (codeManagement)
dev:3612020-04-22 12:14:54.990 am debugsetCode- 1
dev:3612020-04-22 12:14:50.846 am debugsetCode- 1
dev:3612020-04-22 12:14:46.659 am debugsetCode- 1
dev:3612020-04-22 12:14:42.505 am debugsetCode- 1
dev:3612020-04-22 12:14:38.359 am debugsetCode- 1
dev:3612020-04-22 12:14:34.186 am debugsetCode- 1
dev:3612020-04-22 12:14:29.982 am debugsetCode- 1
dev:3612020-04-22 12:14:25.784 am debugsetCode- 1
Which Alfred lock do you have? If it is a DB2, does it have an updated z-wave module? LCM supports all DB1 locks, but only newer firmware DB2 locks.
If your firmware is out of date, I think Alfred will swap out the module for free. Tagging @jeubanks and @april.brandt for their insights.
I have the DB-2 withh the Z-wave module. i just bought this lock about a week ago. here it is:
https://www.amazon.com/gp/product/B07Q3NVHNR/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
I cant control the lock anymore from HE. That worked before but now it doesn't. I can only lock/unlock from the app. This always worked before the factory reset. I'm thinking I need to rediscover it.
A bit frustrated, i'm on the east coast and it's late so i will be back in the AM. I would rather the lock work via HE. LCM was just an added convenience but now I fear i have made it worst. 
Not to worry. Factory reset will disrupt the Z-Wave connection. You simply need to Exclude the lock from Hubitat and re-Include it.
LCM probably did not need to be reinstalled.
If the codes are entered at the lock, they are encrypted by the lock, LCM cannot import them. Thatโs the reason as well that LCM cannot read the master code. But if there a code already in one of the slots itโs trying to read from youโll get errors.
If you have no codes in the lock when you start, then LCM can write codes to the available slots in the lock and even encrypt them if you like. If LCM writes the codes to the lock, it can read them, even encrypted, because it has the decryption key. If the lock writes the code, that encryption is in the lock and is not shared with LCM, thus it cannot decrypt them and you get errors.
This Is why a factory reset is suggested before joining locks. Even new locks. You never know if it may have been return and sold as new again by accident.
LCM is very nice once you get it working. You can have notifications of who unlocked your door with a time and date stamp by their code entered.
You can also trigger anything, any scene or actions, customized to the person that entered their code.
As @aaiyar wrote. You need to make sure your lock has the newer firmware as well.
I am not able to confirm anything right now as my environment is in a bad way. I'm not touching anything as I'm waiting on some devices in an effort to correct this. Otherwise I may just walk away from the entire shebang for a while.
I'm not sure if the firmware update was for the DB1 (original version) or the DB2 which is newer so should have newer firmware. I've sent an email to Alfred to find out.
