Migrated from C5 to C7 now lock code manager problems

I've been able to use the bravenel Staff's document on "Migrating a Z-Wave Network" document and preserved automations that use Z-Wave devices and now have all my Z-Wave devices added to the C7 and most automations were preserved.

I'm having problems with Lock Code Manager (LCM) with my two Schlage BE469 locks. The usernames that were in the old C5 hub were not in the LCM app on the C7 that had the old C5 backup initially restored to the C7.

I didn't have too much problems getting the Schlage BE469 Z-Wave locks included on the C7 and have an Aeotec Range Extender 7 located near each lock so I am not having problems locking/unlocking, set code length, enable/disable encryption working from the C7 Lock Devices page.

At each lock, I have Delete ALL User Codes. I changed User Code Length from 4 back to 6.

I selected Refresh on the Front Door Lock device and you can see I'm getting a response:
Front Door Lock battery is 100%
Front Door Lock is unlocked [digital]

I selected Refresh on the Side Door Lock device and you can see I'm getting a response:
Side Door Lock battery is 100%
Side Door Lock is unlocked [digital]

If I Set Code Length = 6 from the Lock's Device Page, I'm getting a response:
Side Door Lock codeLength set to 6
Front Door Lock codeLength set to 6

From LCM, if I try to add a user with a 6 digit code simultaneously to both locks it fails.

Here is the error from the Front Door Lock and from the Side Door Lock:
java.lang.IllegalArgumentException: Text must not be null or empty (setCode)

If I try to Set Code from the Front Door Lock Device page, here are the errors:
java.lang.IllegalArgumentException: Text must not be null or empty (setCode)

Any ideas on what to try? LCM was working fine on the C5 hub.

Sounds like you’re trying to enter a code that’s already in that slot. LCM can’t read codes from the lock that it didn’t write and it can’t enter in a slot that exists already. It can read from the lock if it writes it there but it can’t read from codes that were put in under a different security key.

So you won’t be able to run lock code manager from two different hubs for the same lock. If you want to move LCM over to the C7 and not use the C5 anymore you’ll need to erase the codes in the lock and use LCM from the C7 to put them in again.

All User Codes are erased at each Lock. The C5 hub is shutdown. There is no User Code on the lock when I try to set code from the Device page or from LCM.

Yes, try LCM. If you get errors, try removing LCM and reinstalling.

You may have factory reset the lock as well.

1 Like

1/30/2021 4:20 PM
Front Door Lock
Factory Reset Schlage Front Door Lock
Entered factory 4-digit code to initialize the Front Door Lock
Deleted ALL User Codes in the Front Door Lock
Changed User Code Length = 6 in the Front Door Lock
Enabled Auto Lock in the Front Door Lock

Side Door Lock
Factory Reset Schlage Side Door Lock
Entered factory 4-digit code to initialize the Side Door Lock
Deleted ALL User Codes in the Side Door Lock
Changed User Code Length = 6 in the Side Door Lock
Enabled Auto Lock in the Side Door Lock

Removed App Lock Code Manager

Add Built-In App Lock Code Manager
Add New User...
User xxxxxx, code yyyyyy
--will be added to
[Front Door Lock, Side Door Lock]
Code add request completed
Existing users xxxxxx [jobs- pending:2]

Front Door Lock Logs after using LCM:
dev:1292021-01-30 04:38:10.002 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:58.446 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:46.960 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:35.480 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:23.950 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:12.445 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:37:00.887 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:36:49.391 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:36:37.909 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1292021-01-30 04:36:26.398 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)

Side Door Lock Logs after using LCM:
dev:1612021-01-30 04:38:15.754 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:38:04.249 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:37:52.704 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:37:41.220 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:37:29.691 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:37:18.201 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:37:06.697 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:36:55.146 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:36:43.645 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)
dev:1612021-01-30 04:36:32.162 pm errorjava.lang.IllegalArgumentException: Text must not be null or empty (setCode)

LCM Refresh job status:
Existing users xxxxxx [jobs- failed:2]

At Front Door Lock, I attempted to use new user code yyyyyy - got single red X on the lock
Here was what the logs showed:
dev:1292021-01-30 04:43:15.311 pm infoFront Door Lock was locked by by Auto lock [digital]
dev:1292021-01-30 04:42:44.279 pm infoFront Door Lock was unlocked by thumb turn [physical]
dev:1292021-01-30 04:42:36.335 pm infoFront Door Lock was locked by keypad [physical]
dev:1292021-01-30 04:42:33.340 pm infoFront Door Lock was unlocked by thumb turn [physical]

At Side Door Lock, I attempted to use new user code yyyyyy - got single red X on the lock
Here was what the logs showed:
dev:1612021-01-30 04:45:19.525 pm infoSide Door Lock was locked by by Auto lock [digital]
dev:1612021-01-30 04:44:48.605 pm infoSide Door Lock was unlocked by thumb turn [physical]
dev:1612021-01-30 04:44:37.945 pm infoSide Door Lock was locked by keypad [physical]
dev:1612021-01-30 04:44:34.550 pm infoSide Door Lock was unlocked by thumb turn [physical]

Decided to exclude the Z-Wave Front Door Lock from the C7 hub but all attempts failed.

Now, I'm wondering if the Bravenel procedure for migrating Z-Wave devices over to the new C7 hub might have been a problem with the locks.

If I want to start over from scratch, I may have to exclude the lock from the old hub, force the removal of the lock from the new hub, and try including the lock to the C7 hub and try LCM again.

Any other ideas?

Thanks.

Issues with LCM are mostly issues with the lock itself.
In other words, if LCM is having problems managing codes, then the lock driver itself is also going to have issues.

So when trying to sort this out, one must start with the lock by using the locks driver ui first.

Once code changes are working via the driver ui, then LCM code management will work as expected.

I had to remove the two locks to get things working.

After the each lock was added, the locks reported Z-Wave device failed S2 bootstrapping -- Bootstrapping was successful - the device needs to be excluded then included again to use security.

Removed the locks again and re-added them a 2nd time.

Was successful using Set Code position 1 from the device ui for one lock but not the other initially. Replaced batteries on the unit that failed to add code and then was able to Set Code position 1.

Next, used device ui to Delete Code from position 1 and that worked on both locks.

Finally, used LCM to add four users and they all worked.

Thanks for the help!