Schlage Z-Wave Lock Control

I am unable to set, clear, or get user codes from the UI. Is this a limitation or bug of openzwave? See https://github.com/home-assistant/home-assistant/issues/11018. The issue was closed but no resolution was found.

When I attempt to add codes normally via zwave menu, I get this in the homeassistant.log:

2018-04-05 18:49:14 ERROR (SyncWorker_18) [homeassistant.components.lock.zwave] Invalid code provided: (#) usercode must be atleast 4 and at most 10 digits

Nothing shows up in the OZW log.

I am also seeing if you use “\x31\x32\x33\x34” the user displays correctly underneath (1234) and the lock is able to be unlocked using that code after setting it.
2018-04-05 18_53_03-home assistant

However, the page refreshes shortly after and displays:
2018-04-05 18_53_09-home assistant

OZW Log for using \x31\x32\x33\x34:

2018-04-05 18:53:01.865 Info, Node004, Value::Set - COMMAND_CLASS_USER_CODE - Code 1: - 1 - 1 - 0x31 0x32 0x33 0x34
2018-04-05 18:53:01.866 Detail, Node004, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-05 18:53:01.867 Detail, Node004, Queuing (Send) UserCodeCmd_Set (Node=4): 0x01, 0x0f, 0x00, 0x13, 0x04, 0x08, 0x63, 0x01, 0x01, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb3, 0x1f
2018-04-05 18:53:01.867 Detail, Node004, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-05 18:53:01.868 Detail, Node004, Queuing (Send) UserCodeCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x63, 0x02, 0x01, 0x25, 0xb4, 0x10
2018-04-05 18:53:01.868 Detail,
2018-04-05 18:53:01.868 Info, Node004, Processing (Send) Nonce Request message (Callback ID=0xb3, Expected Reply=0x13)
2018-04-05 18:53:01.869 Info, Node004, Sending (Send) message (Callback ID=0xb3, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-05 18:53:01.877 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:01.877 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:03.153 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x80, 0x69
2018-04-05 18:53:03.154 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-05 18:53:03.154 Info, Node004, Request RTT 1286 Average Request RTT 840
2018-04-05 18:53:03.181 Detail, Node004,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x04, 0x0a, 0x98, 0x80, 0x0b, 0x15, 0x0f, 0x3d, 0x8c, 0x9f, 0xab, 0xc5, 0xac
2018-04-05 18:53:03.182 Info, Node004, Received SecurityCmd_NonceReport from node 4
2018-04-05 18:53:03.182 Info, Node004, Sending (Send) message (Callback ID=0xb5, Expected Reply=0x13) - UserCodeCmd_Set (Node=4): 0x01, 0x0f, 0x00, 0x13, 0x04, 0x08, 0x63, 0x01, 0x01, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb5, 0x19
2018-04-05 18:53:03.194 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:03.195 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:03.217 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0xb5, 0x00, 0x00, 0x03, 0x5d
2018-04-05 18:53:03.217 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0xb5 received (expected 0xb5)
2018-04-05 18:53:03.218 Info, Node004, Request RTT 1349 Average Request RTT 1094
2018-04-05 18:53:03.218 Detail,   Expected callbackId was received
2018-04-05 18:53:03.218 Detail,   Expected reply was received
2018-04-05 18:53:03.218 Detail,   Message transaction complete
2018-04-05 18:53:03.218 Detail,
2018-04-05 18:53:03.219 Detail, Node004, Removing current message
2018-04-05 18:53:03.219 Detail,
2018-04-05 18:53:03.219 Info, Node004, Processing (Send) Nonce Request message (Callback ID=0xb4, Expected Reply=0x04)
2018-04-05 18:53:03.219 Info, Node004, Sending (Send) message (Callback ID=0xb4, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-05 18:53:03.227 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:03.228 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:03.243 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0xeb
2018-04-05 18:53:03.244 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-05 18:53:03.244 Info, Node004, Request RTT 24 Average Request RTT 559
2018-04-05 18:53:03.374 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2018-04-05 18:53:03.374 Info, Node004, Received SecurityCmd_NonceGet from node 4
2018-04-05 18:53:03.375 Info, NONCES: 0x17, 0x62, 0xee, 0x01, 0x02, 0x24, 0x3d, 0xcb
2018-04-05 18:53:03.375 Info, NONCES: 0x4c, 0x60, 0xd4, 0x71, 0x6c, 0x23, 0x9b, 0xb9
2018-04-05 18:53:03.375 Info, NONCES: 0x9a, 0x66, 0xce, 0x45, 0x38, 0xb3, 0x21, 0x98
2018-04-05 18:53:03.376 Info, NONCES: 0xc4, 0x8e, 0x22, 0x8b, 0xbb, 0x44, 0xa1, 0x24
2018-04-05 18:53:03.377 Info, NONCES: 0xb1, 0x3f, 0x54, 0xcc, 0x89, 0xc0, 0x8c, 0x6c
2018-04-05 18:53:03.377 Info, NONCES: 0xea, 0x6e, 0xbd, 0x4b, 0xc5, 0x8d, 0x21, 0x4f
2018-04-05 18:53:03.378 Info, NONCES: 0x14, 0x29, 0x90, 0x2d, 0xbe, 0x83, 0xf8, 0x64
2018-04-05 18:53:03.378 Info, NONCES: 0xa7, 0x49, 0x1a, 0x5a, 0x6f, 0x2f, 0x74, 0x00
2018-04-05 18:53:03.379 Info, Node004, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 0x80, 0xa7, 0x49, 0x1a, 0x5a, 0x6f, 0x2f, 0x74, 0x00, 0x05, 0x01, 0x75:
2018-04-05 18:53:03.389 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:03.389 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:03.397 Detail, Node004,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x04, 0x0a, 0x98, 0x80, 0xb6, 0xe9, 0xf4, 0xe7, 0x63, 0x8c, 0x68, 0xee, 0xd8
2018-04-05 18:53:03.397 Info, Node004, Received SecurityCmd_NonceReport from node 4
2018-04-05 18:53:03.398 Info, Node004, Sending (Send) message (Callback ID=0xb6, Expected Reply=0x04) - UserCodeCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x63, 0x02, 0x01, 0x25, 0xb6, 0x12
2018-04-05 18:53:03.411 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:03.411 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:03.421 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0xb6, 0x00, 0x00, 0x01, 0x5c
2018-04-05 18:53:03.421 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0xb6 received (expected 0xb6)
2018-04-05 18:53:03.422 Info, Node004, Request RTT 202 Average Request RTT 380
2018-04-05 18:53:03.423 Detail,   Expected callbackId was received
2018-04-05 18:53:03.442 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0xb6, 0x00, 0x00, 0x04, 0x59
2018-04-05 18:53:03.443 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0xb6 received (expected 0x00)
2018-04-05 18:53:03.443 Warning, Node004, WARNING: Unexpected Callback ID received
2018-04-05 18:53:03.505 Detail, Node004,   Received: 0x01, 0x1e, 0x00, 0x04, 0x00, 0x04, 0x18, 0x98, 0x81, 0x25, 0xaf, 0xb3, 0xc4, 0x01, 0x69, 0x0a, 0x9c, 0x9f, 0x4d, 0x4f, 0x2c, 0x95, 0xa7, 0x4d, 0x60, 0x6f, 0x9c, 0xcc, 0xd9, 0xbe, 0x8f, 0x9a
2018-04-05 18:53:03.505 Info, Raw: 0x98, 0x81, 0x25, 0xaf, 0xb3, 0xc4, 0x01, 0x69, 0x0a, 0x9c, 0x9f, 0x4d, 0x4f, 0x2c, 0x95, 0xa7, 0x4d, 0x60, 0x6f, 0x9c, 0xcc, 0xd9, 0xbe, 0x8f, 0x9a
2018-04-05 18:53:03.505 Detail, Node004, Decrypted Packet: 0x00, 0x63, 0x03, 0x01, 0xfe
2018-04-05 18:53:03.505 Detail,
2018-04-05 18:53:03.505 Info, Node004, Response RTT 286 Average Response RTT 638
2018-04-05 18:53:03.505 Info, Node004, User Code Packet is 0
2018-04-05 18:53:03.506 Detail, Node004, Refreshed Value: old value=55686a30, new value=707185b4, type=raw
2018-04-05 18:53:03.506 Detail, Node004, Changes to this value are not verified
2018-04-05 18:53:03.506 Info, Node004, Received User Code Report from node 4 for User Code 1 (Not Available)
2018-04-05 18:53:03.506 Detail, Node004,   Expected reply and command class was received
2018-04-05 18:53:03.506 Detail, Node004,   Message transaction complete
2018-04-05 18:53:03.506 Detail,
2018-04-05 18:53:03.506 Detail, Node004, Removing current message
2018-04-05 18:53:03.507 Detail, Node004, Notification: ValueChanged
2018-04-05 18:53:08.388 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2018-04-05 18:53:08.388 Info, Node004, Received SecurityCmd_NonceGet from node 4
2018-04-05 18:53:08.388 Info, NONCES: 0x32, 0x8e, 0x1b, 0x1e, 0x7d, 0x95, 0xb3, 0xb6
2018-04-05 18:53:08.388 Info, NONCES: 0x4c, 0x60, 0xd4, 0x71, 0x6c, 0x23, 0x9b, 0xb9
2018-04-05 18:53:08.389 Info, NONCES: 0x9a, 0x66, 0xce, 0x45, 0x38, 0xb3, 0x21, 0x98
2018-04-05 18:53:08.389 Info, NONCES: 0xc4, 0x8e, 0x22, 0x8b, 0xbb, 0x44, 0xa1, 0x24
2018-04-05 18:53:08.389 Info, NONCES: 0xb1, 0x3f, 0x54, 0xcc, 0x89, 0xc0, 0x8c, 0x6c
2018-04-05 18:53:08.389 Info, NONCES: 0xea, 0x6e, 0xbd, 0x4b, 0xc5, 0x8d, 0x21, 0x4f
2018-04-05 18:53:08.389 Info, NONCES: 0x14, 0x29, 0x90, 0x2d, 0xbe, 0x83, 0xf8, 0x64
2018-04-05 18:53:08.389 Info, NONCES: 0xa7, 0x49, 0x1a, 0x5a, 0x6f, 0x2f, 0x74, 0x00
2018-04-05 18:53:08.389 Info, Node004, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 0x80, 0x32, 0x8e, 0x1b, 0x1e, 0x7d, 0x95, 0xb3, 0xb6, 0x05, 0x01, 0xbb:
2018-04-05 18:53:08.398 Detail,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 18:53:08.398 Detail,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 18:53:08.417 Detail,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x00, 0x02, 0xe8
2018-04-05 18:53:08.417 Detail,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2018-04-05 18:53:08.482 Detail, Node004,   Received: 0x01, 0x28, 0x00, 0x04, 0x00, 0x04, 0x22, 0x98, 0x81, 0x10, 0x57, 0x39, 0x82, 0x10, 0xb8, 0x39, 0xd5, 0x1d, 0x52, 0x87, 0xe5, 0xf5, 0x77, 0x1d, 0x6b, 0x5f, 0x69, 0x26, 0xa9, 0x4c, 0x71, 0x02, 0x32, 0x23, 0x27, 0x2f, 0x1d, 0x21, 0xdb, 0x5f, 0xcf, 0x65
2018-04-05 18:53:08.482 Info, Raw: 0x98, 0x81, 0x10, 0x57, 0x39, 0x82, 0x10, 0xb8, 0x39, 0xd5, 0x1d, 0x52, 0x87, 0xe5, 0xf5, 0x77, 0x1d, 0x6b, 0x5f, 0x69, 0x26, 0xa9, 0x4c, 0x71, 0x02, 0x32, 0x23, 0x27, 0x2f, 0x1d, 0x21, 0xdb, 0x5f, 0xcf, 0x65
2018-04-05 18:53:08.483 Detail, Node004, Decrypted Packet: 0x00, 0x63, 0x03, 0x01, 0x01, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a
2018-04-05 18:53:08.483 Detail,
2018-04-05 18:53:08.483 Info, Node004, User Code Packet is 10
2018-04-05 18:53:08.483 Detail, Node004, Refreshed Value: old value=55729c10, new value=707185b4, type=raw
2018-04-05 18:53:08.483 Detail, Node004, Changes to this value are not verified
2018-04-05 18:53:08.483 Info, Node004, Received User Code Report from node 4 for User Code 1 (Occupied)
2018-04-05 18:53:08.484 Detail, Node004, Notification: ValueChanged

Now when I try to delete a code slot, it does not work. I can still use 1234 (set by using “\x31\x32\x33\x34”). I try to set the code to “\x30\x30\x30\x30 (0000) or \x00\x00\x00\x00” (blank) but then I can use 0000 to unlock the door or 1234 still works.

OZW Log while trying to delete a code slot:

2018-04-05 19:05:29.180 Info, Node004, Value::Set - COMMAND_CLASS_USER_CODE - Code 1: - 1 - 1 - 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2018-04-05 19:05:29.180 Detail, Node004, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-05 19:05:29.181 Detail, Node004, Queuing (Send) UserCodeCmd_Set (Node=4): 0x01, 0x15, 0x00, 0x13, 0x04, 0x0e, 0x63, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0xdf, 0x6b
2018-04-05 19:05:29.181 Detail, Node004, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-05 19:05:29.181 Detail, Node004, Queuing (Send) UserCodeCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x63, 0x02, 0x01, 0x25, 0xe0, 0x44
2018-04-05 19:05:29.183 Detail,
2018-04-05 19:05:29.183 Info, Node004, Processing (Send) Nonce Request message (Callback ID=0xdf, Expected Reply=0x13)
2018-04-05 19:05:29.183 Info, Node004, Sending (Send) message (Callback ID=0xdf, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-05 19:05:29.192 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:29.192 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.453 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x7f, 0x96
2018-04-05 19:05:30.454 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-05 19:05:30.454 Info, Node004, Request RTT 1269 Average Request RTT 1258
2018-04-05 19:05:30.482 Detail, Node004,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x04, 0x0a, 0x98, 0x80, 0x94, 0x32, 0x05, 0x3e, 0xd9, 0x2f, 0xb7, 0x94, 0xb5
2018-04-05 19:05:30.482 Info, Node004, Received SecurityCmd_NonceReport from node 4
2018-04-05 19:05:30.482 Info, Node004, Sending (Send) message (Callback ID=0xe1, Expected Reply=0x13) - UserCodeCmd_Set (Node=4): 0x01, 0x15, 0x00, 0x13, 0x04, 0x0e, 0x63, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0xe1, 0x55
2018-04-05 19:05:30.494 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:30.495 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.518 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0xe1, 0x00, 0x00, 0x03, 0x09
2018-04-05 19:05:30.519 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0xe1 received (expected 0xe1)
2018-04-05 19:05:30.519 Info, Node004, Request RTT 1334 Average Request RTT 1296
2018-04-05 19:05:30.519 Detail,   Expected callbackId was received
2018-04-05 19:05:30.519 Detail,   Expected reply was received
2018-04-05 19:05:30.519 Detail,   Message transaction complete
2018-04-05 19:05:30.519 Detail,
2018-04-05 19:05:30.519 Detail, Node004, Removing current message
2018-04-05 19:05:30.519 Detail,
2018-04-05 19:05:30.519 Info, Node004, Processing (Send) Nonce Request message (Callback ID=0xe0, Expected Reply=0x04)
2018-04-05 19:05:30.519 Info, Node004, Sending (Send) message (Callback ID=0xe0, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x04, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-05 19:05:30.527 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:30.527 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.544 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0xeb
2018-04-05 19:05:30.544 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-05 19:05:30.544 Info, Node004, Request RTT 24 Average Request RTT 660
2018-04-05 19:05:30.680 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2018-04-05 19:05:30.680 Info, Node004, Received SecurityCmd_NonceGet from node 4
2018-04-05 19:05:30.680 Info, NONCES: 0x9d, 0xcf, 0x68, 0x48, 0xa0, 0xaa, 0x29, 0xc8
2018-04-05 19:05:30.681 Info, NONCES: 0x4e, 0xb6, 0xc5, 0x33, 0x31, 0xb3, 0x38, 0x4e
2018-04-05 19:05:30.681 Info, NONCES: 0x6b, 0x56, 0x96, 0x0c, 0x56, 0x70, 0xa8, 0x3c
2018-04-05 19:05:30.681 Info, NONCES: 0xa4, 0x93, 0xa8, 0xae, 0x87, 0x18, 0x04, 0x5f
2018-04-05 19:05:30.681 Info, NONCES: 0xe6, 0x7a, 0x4d, 0x68, 0x69, 0x37, 0xf7, 0x60
2018-04-05 19:05:30.681 Info, NONCES: 0x71, 0x91, 0x96, 0x33, 0xbf, 0xad, 0x2e, 0xd5
2018-04-05 19:05:30.681 Info, NONCES: 0x17, 0xca, 0xc2, 0x42, 0xe0, 0xb8, 0xb2, 0xb3
2018-04-05 19:05:30.681 Info, NONCES: 0x97, 0xa0, 0x8c, 0xcc, 0x8b, 0x2c, 0x9e, 0xb4
2018-04-05 19:05:30.681 Info, Node004, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 0x80, 0xa4, 0x93, 0xa8, 0xae, 0x87, 0x18, 0x04, 0x5f, 0x05, 0x01, 0x1a:
2018-04-05 19:05:30.690 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:30.690 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.709 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x00, 0x02, 0xe8
2018-04-05 19:05:30.710 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2018-04-05 19:05:30.710 Info, Node004, Request RTT 190 Average Request RTT 425
2018-04-05 19:05:30.729 Detail, Node004,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x04, 0x0a, 0x98, 0x80, 0xf9, 0x28, 0x75, 0xd4, 0xc3, 0xad, 0x2f, 0x48, 0x84
2018-04-05 19:05:30.729 Info, Node004, Received SecurityCmd_NonceReport from node 4
2018-04-05 19:05:30.729 Info, Node004, Sending (Send) message (Callback ID=0xe2, Expected Reply=0x04) - UserCodeCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x63, 0x02, 0x01, 0x25, 0xe2, 0x46
2018-04-05 19:05:30.740 Detail, Node004,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:30.741 Detail, Node004,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.762 Detail, Node004,   Received: 0x01, 0x07, 0x00, 0x13, 0xe2, 0x00, 0x00, 0x02, 0x0b
2018-04-05 19:05:30.762 Detail, Node004,   ZW_SEND_DATA Request with callback ID 0xe2 received (expected 0xe2)
2018-04-05 19:05:30.762 Info, Node004, Request RTT 242 Average Request RTT 333
2018-04-05 19:05:30.762 Detail,   Expected callbackId was received
2018-04-05 19:05:30.777 Detail, Node004,   Received: 0x01, 0x1e, 0x00, 0x04, 0x00, 0x04, 0x18, 0x98, 0x81, 0x88, 0xc8, 0x93, 0xa4, 0xaf, 0x84, 0x35, 0x95, 0x30, 0x7b, 0xd2, 0xb6, 0xf1, 0xa4, 0x94, 0x58, 0x52, 0x94, 0x91, 0xd4, 0x39, 0x0f, 0x1f
2018-04-05 19:05:30.778 Info, Raw: 0x98, 0x81, 0x88, 0xc8, 0x93, 0xa4, 0xaf, 0x84, 0x35, 0x95, 0x30, 0x7b, 0xd2, 0xb6, 0xf1, 0xa4, 0x94, 0x58, 0x52, 0x94, 0x91, 0xd4, 0x39, 0x0f, 0x1f
2018-04-05 19:05:30.778 Detail, Node004, Decrypted Packet: 0x00, 0x63, 0x03, 0x01, 0xfe
2018-04-05 19:05:30.778 Detail,
2018-04-05 19:05:30.778 Info, Node004, Response RTT 258 Average Response RTT 624
2018-04-05 19:05:30.778 Info, Node004, User Code Packet is 0
2018-04-05 19:05:30.778 Detail, Node004, Refreshed Value: old value=5572acb0, new value=707185b4, type=raw
2018-04-05 19:05:30.778 Detail, Node004, Changes to this value are not verified
2018-04-05 19:05:30.778 Info, Node004, Received User Code Report from node 4 for User Code 1 (Not Available)
2018-04-05 19:05:30.779 Detail, Node004,   Expected reply and command class was received
2018-04-05 19:05:30.779 Detail, Node004,   Message transaction complete
2018-04-05 19:05:30.779 Detail,
2018-04-05 19:05:30.779 Detail, Node004, Removing current message
2018-04-05 19:05:30.779 Detail, Node004, Notification: ValueChanged
2018-04-05 19:05:30.904 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2018-04-05 19:05:30.904 Info, Node004, Received SecurityCmd_NonceGet from node 4
2018-04-05 19:05:30.904 Info, NONCES: 0x9d, 0xcf, 0x68, 0x48, 0xa0, 0xaa, 0x29, 0xc8
2018-04-05 19:05:30.905 Info, NONCES: 0x4e, 0xb6, 0xc5, 0x33, 0x31, 0xb3, 0x38, 0x4e
2018-04-05 19:05:30.905 Info, NONCES: 0x6b, 0x56, 0x96, 0x0c, 0x56, 0x70, 0xa8, 0x3c
2018-04-05 19:05:30.905 Info, NONCES: 0xa4, 0x93, 0xa8, 0xae, 0x87, 0x18, 0x04, 0x5f
2018-04-05 19:05:30.905 Info, NONCES: 0x07, 0xc6, 0x7b, 0x10, 0x1a, 0xa0, 0x5a, 0xca
2018-04-05 19:05:30.905 Info, NONCES: 0x71, 0x91, 0x96, 0x33, 0xbf, 0xad, 0x2e, 0xd5
2018-04-05 19:05:30.905 Info, NONCES: 0x17, 0xca, 0xc2, 0x42, 0xe0, 0xb8, 0xb2, 0xb3
2018-04-05 19:05:30.905 Info, NONCES: 0x97, 0xa0, 0x8c, 0xcc, 0x8b, 0x2c, 0x9e, 0xb4
2018-04-05 19:05:30.905 Info, Node004, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 0x80, 0x07, 0xc6, 0x7b, 0x10, 0x1a, 0xa0, 0x5a, 0xca, 0x05, 0x01, 0x6f:
2018-04-05 19:05:30.914 Detail,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-05 19:05:30.915 Detail,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-05 19:05:30.933 Detail,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x00, 0x03, 0xe9
2018-04-05 19:05:30.933 Detail,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2018-04-05 19:05:30.998 Detail, Node004,   Received: 0x01, 0x28, 0x00, 0x04, 0x00, 0x04, 0x22, 0x98, 0x81, 0xa6, 0xf5, 0xf7, 0x35, 0x74, 0x4c, 0x92, 0x7d, 0x23, 0x1e, 0x66, 0xe9, 0x11, 0xe8, 0x8a, 0xec, 0x5c, 0x6c, 0xce, 0x2b, 0xdf, 0x0b, 0x01, 0x07, 0xfe, 0xed, 0x19, 0xb9, 0x8b, 0xeb, 0x3c, 0x64, 0x0b
2018-04-05 19:05:31.007 Info, Raw: 0x98, 0x81, 0xa6, 0xf5, 0xf7, 0x35, 0x74, 0x4c, 0x92, 0x7d, 0x23, 0x1e, 0x66, 0xe9, 0x11, 0xe8, 0x8a, 0xec, 0x5c, 0x6c, 0xce, 0x2b, 0xdf, 0x0b, 0x01, 0x07, 0xfe, 0xed, 0x19, 0xb9, 0x8b, 0xeb, 0x3c, 0x64, 0x0b
2018-04-05 19:05:31.007 Detail, Node004, Decrypted Packet: 0x00, 0x63, 0x03, 0x01, 0x01, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a
2018-04-05 19:05:31.007 Detail,
2018-04-05 19:05:31.007 Info, Node004, User Code Packet is 10
2018-04-05 19:05:31.007 Detail, Node004, Refreshed Value: old value=557d2080, new value=707185b4, type=raw
2018-04-05 19:05:31.008 Detail, Node004, Changes to this value are not verified
2018-04-05 19:05:31.008 Info, Node004, Received User Code Report from node 4 for User Code 1 (Occupied)
2018-04-05 19:05:31.008 Detail, Node004, Notification: ValueChanged

I was able to set a user code on my Schlage lock from the UI, but unable to read, or delete user codes.

Setting a user code to all zeros will clear it. :slight_smile:

@cjlee89 try adding a user code from the services tool under developer tools, not on the z-wave panel. Also make sure you specify the lock zwave node_id (e.g. 17) . I didn’t realize I needed that and therefore couldn’t set usercodes for a long time.

I have tried that and it does not work.

I edited my post up above with a bit more information. You’re quick!

I did use the developers tools, but I did not realize setting a usercode to all zeros would clear it. Good tip

What is supposed to happen when I do this? I use lock.get_usercode and set the node_id. I get a notification that the service was called but nothing shows up. I looked in the OZW log but nothing is in there either.

@cjlee89 , I did the same thing and wondered the same thing. It wasn’t that important for me at the time, so I didn’t put much effort into it.

I’ve never tried to get usercodes. Are you able to set usercodes? (You also need to specify a codeslot and usercode in addition to the node_id). Obviously this is easy to test if you’re successful, by seeing if the code works on the lock.

Guys after reading this review of best z-wave door lock I am considering buying Schlage Connect. Are you still happy with your choice if you got one?

Yes. I had some headaches associated with the zwave security key when updating, but now that you can specify the key in your config I think those are over. Also once I realized that I need to specify the node_id when setting usercodes that has worked well.

I am happy about it, and have no regrets, but would be leery about 100% counting on automations to unlock it (e.g. If a guest were arriving when I was hours away and an untested remotely set usercode were the only way for them to get in).

I have three schlages (BE469 and FE599), I lock and unlock them daily via automation. and they are 99% good for weeks/months on end. I will say the times I’m most likely to have issues is when I change zwave parameters. But usually those are a set once and forget sort of thing, so it’s not a huge deal. I have thought about using automations to enable/disable the alarm modes at night though, and have decisted against it for that reason. Setting and clearing codes seems to be pretty solid, but also something I dont do too often either.

Did you ever figure this out? I’ve tried from dev-tools and z-wave config to delete code and overwrite it with X00… I am able to overwrite with new codes, I just cannot remove a code once it is set up.

There is a bug in ozwave dealing with clearing user codes on schlage locks. setting 0000 as the code works on other locks, but not schlage. On schlage setting to 0000 will set a valid code. I have noticed at least on my doors, you can set the same code to multiple slots. My recommendation is to either set a random code to the slot you want to clear, OR, set a specific code that only you know to any slot you want to clear.

The other more complex option is to fork the current openzwave used by HA, then add the fix to the code to fix the issue. then use that. I did that for a while, but it jest became a headache to do that every time I updated HA.

Here is more details from the lock manager package I had created

I did not. I gave up trying to use HA to manage Schlage until it is supported by the version of OZW HA uses.

How often do people change codes on their locks? I get it, it was frustrating for me for a while, until I stepped back and realized that honestly, I have 7 codes in my door 100% of the time, and maybe once or twice a year I add a code for a few days or a week. When I do that I use the same “slots”. So slots 1-10 I keep use for permanent codes. Slots 11-15 for temp codes. But in real life I only have used 12 once. So set a permanent code that you know for slot 11/12 when you want to “clear” the code. So in my case I have 7 permanent codes and 2 other codes that are either being used temporary that change when needed, and then back to something I know when they are not being used. (so 9 total codes)

For me the annoyance of having two codes that are not really cleared was overweighed by the benefit of being able to add those codes remotely, when needed.

Now if I was running an Air B&B, or something similiar, I might not do that. Actually if i was running an Air B&B, I’d probably use the forked openzwave that allowed clearing codes. :slight_smile: I would probably not be updaing HA on that instance nearly as often, so it would not be a big deal.

I opened a bug report

https://github.com/home-assistant/home-assistant/issues/22464

I recommend adding a comment as well, maybe we can get them to update the required file.

@Basement

Did you ever figure this out? I would like to be able to query my existing codes, and I’ve gotten the same result as you when trying to execute the lock.get_usercode service (ie, nothing happens).