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

Z-wave user code via UI is broken #11018

Closed
poldim opened this issue Dec 8, 2017 · 28 comments
Closed

Z-wave user code via UI is broken #11018

poldim opened this issue Dec 8, 2017 · 28 comments

Comments

@poldim
Copy link

poldim commented Dec 8, 2017

Home Assistant release (hass --version):
0.59

Component/platform:
Z-Wave Manager

Description of problem:
Yesterday I was able to set codes via GUI running the previous version 0.58. Today, after updating to the current release, the change to using hex input has broken the ability to update user codes. I was working great when it accepted regular text characters. I can deal with it being hex, but it's now not accepting the codes.

Maybe @turbokongen can advise as I saw he added the ascii comments in the docs.

Expected:
Be able to set usercode via GUI

Steps to reproduce:

  1. Configuration > Z-Wave Manager > Select Node > Node user codes
  2. Type "\x31\x32\x33\x34" and hit 'Set Usercode' to change user code to 1234
  3. Response text is "\x35\x39\x36\x36\xd8\xf2\xef\x76\x11\x00" showing "Ascii: [5966Øòïv�]"
  4. 1234# does not work

Additional info:

Yale Z-Wave Lock YRD210-ZW-605

@turbokongen
Copy link
Contributor

That's wierd.. I just tested with my own lock, different though (BTZE150) And it works like it should.
You should check the output in OZW_Log.txt. There you will see first the raw data sent to the lock, and the response from the lock. I have experienced that the lock doesn't store the lock , but not like you describe here.

@poldim
Copy link
Author

poldim commented Dec 11, 2017

Here's another example trying to delete a code. Manually setting the code to \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 returns the same as the screen shot below. This makes sense as based on the log it looks like it's performing the same thing.

UI is virtually unchanged pre and post button press. (After pressing the button and the response comes back, the text User code above the user code field overwrites the text, but then moves back into place if you place your cursor into the field. Minor bug.)
screen shot 2017-12-11 at 9 12 39 am

Here is the log from the event:

2017-12-11 09:02:06.820 Info, Node006, Value::Set - COMMAND_CLASS_USER_CODE - Code 4: - 4 - 1 - 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2017-12-11 09:02:06.820 Detail, Node006, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2017-12-11 09:02:06.820 Detail, Node006, Queuing (Send) UserCodeCmd_Set (Node=6): HIDDEN
2017-12-11 09:02:06.820 Detail, Node006, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2017-12-11 09:02:06.820 Detail, Node006, Queuing (Send) UserCodeCmd_Get (Node=6): 0x01, 0x0a, 0x00, 0x13, 0x06, 0x03, 0x63, 0x02, 0x04, 0x25, 0x50, 0xf3
2017-12-11 09:02:06.821 Detail,
2017-12-11 09:02:06.821 Info, Node006, Processing (Send) Nonce Request message (Callback ID=0x4f, Expected Reply=0x13)
2017-12-11 09:02:06.821 Info, Node006, Sending (Send) message (Callback ID=0x4f, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x98, 0x40, 0x05, 0x02:
2017-12-11 09:02:06.829 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:02:06.829 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:02:08.106 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x80, 0x69
2017-12-11 09:02:08.106 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2017-12-11 09:02:08.106 Info, Node006, Request RTT 1285 Average Request RTT 1425
2017-12-11 09:02:16.821 Error, Node006, ERROR: Dropping command, expected response not received after 1 attempt(s)
2017-12-11 09:02:16.822 Detail, Node006, Removing current message
2017-12-11 09:02:16.822 Detail, Node006, Notification: Notification - TimeOut
2017-12-11 09:02:16.843 Detail,
2017-12-11 09:02:16.843 Info, Node006, Processing (Send) Nonce Request message (Callback ID=0x50, Expected Reply=0x04)
2017-12-11 09:02:16.843 Info, Node006, Sending (Send) message (Callback ID=0x50, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x98, 0x40, 0x05, 0x02:
2017-12-11 09:02:16.852 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:02:16.852 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:02:18.098 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x7d, 0x94
2017-12-11 09:02:18.098 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2017-12-11 09:02:18.098 Info, Node006, Request RTT 1255 Average Request RTT 1340
2017-12-11 09:02:18.138 Detail, Node006,   Received: HIDDEN
2017-12-11 09:02:18.138 Info, Node006, Received SecurityCmd_NonceReport from node 6
2017-12-11 09:02:18.138 Info, Node006, Sending (Send) message (Callback ID=0x51, Expected Reply=0x04) - UserCodeCmd_Get (Node=6): 0x01, 0x0a, 0x00, 0x13, 0x06, 0x03, 0x63, 0x02, 0x04, 0x25, 0x51, 0xf2
2017-12-11 09:02:18.149 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:02:18.150 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:02:18.221 Detail, Node006,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x06, 0x02, 0x98, 0x40, 0x2f
2017-12-11 09:02:18.221 Info, Node006, Received SecurityCmd_NonceGet from node 6
2017-12-11 09:02:18.221 Info, NONCES: 0x17, 0xd3, 0x0a, 0x31, 0x59, 0xef, 0x09, 0x1a
2017-12-11 09:02:18.221 Info, NONCES: 0x6b, 0x92, 0x19, 0xe6, 0x7b, 0x0e, 0x76, 0x09
2017-12-11 09:02:18.222 Info, NONCES: 0x3a, 0x03, 0x54, 0xc5, 0xf8, 0x81, 0x12, 0xf8
2017-12-11 09:02:18.222 Info, NONCES: 0x42, 0xd9, 0xe7, 0x08, 0x68, 0x9a, 0xc5, 0x04
2017-12-11 09:02:18.222 Info, NONCES: 0xd4, 0x24, 0x47, 0x4c, 0x66, 0x6f, 0x25, 0x9b
2017-12-11 09:02:18.222 Info, NONCES: 0x07, 0x73, 0xd4, 0x7d, 0x1e, 0x7a, 0x4d, 0x85
2017-12-11 09:02:18.222 Info, NONCES: 0xee, 0x9e, 0x2a, 0x37, 0xe2, 0x47, 0x8e, 0x45
2017-12-11 09:02:18.222 Info, NONCES: 0x56, 0x4b, 0xd7, 0x79, 0xee, 0xd5, 0xc4, 0x4f
2017-12-11 09:02:18.222 Info, Node006, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - HIDDEN:
2017-12-11 09:02:18.232 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:02:18.233 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:02:21.898 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x01, 0x6f, 0x84
2017-12-11 09:02:21.898 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2017-12-11 09:02:21.899 Info, Node006, Request RTT 5055 Average Request RTT 3197
2017-12-11 09:02:22.001 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x01, 0x7a, 0x91
2017-12-11 09:02:22.001 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2017-12-11 09:02:22.001 Info, Node006, Request RTT 5159 Average Request RTT 4178
2017-12-11 09:02:22.340 Detail, Node006,   Received: HIDDEN
2017-12-11 09:02:22.340 Info, Raw: HIDDEN
2017-12-11 09:02:22.344 Detail, Node006, Decrypted Packet: 0x00, 0x63, 0x03, 0x04, 0x01, 0x32, 0x35, 0x31, 0x35
2017-12-11 09:02:22.344 Detail,
2017-12-11 09:02:22.345 Info, Node006, Response RTT 5502 Average Response RTT 3238
2017-12-11 09:02:22.345 Info, Node006, User Code Packet is 4
2017-12-11 09:02:22.345 Detail, Node006, Initial read of value
2017-12-11 09:02:22.345 Info, Node006, Received User Code Report from node 6 for User Code 4 (Occupied)
2017-12-11 09:02:22.345 Detail, Node006, Notification: ValueChanged
2017-12-11 09:02:26.843 Error, Node006, ERROR: Dropping command, expected response not received after 1 attempt(s)
2017-12-11 09:02:26.844 Detail, Node006, Removing current message
2017-12-11 09:02:26.844 Detail, Node006, Notification: Notification - TimeOut
2017-12-11 09:05:01.316 Info, Node006, Value::Set - COMMAND_CLASS_USER_CODE - Code 4: - 4 - 1 - 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2017-12-11 09:05:01.317 Detail, Node006, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2017-12-11 09:05:01.317 Detail, Node006, Queuing (Send) UserCodeCmd_Set (Node=6): HIDDEN
2017-12-11 09:05:01.317 Detail, Node006, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2017-12-11 09:05:01.317 Detail, Node006, Queuing (Send) UserCodeCmd_Get (Node=6): 0x01, 0x0a, 0x00, 0x13, 0x06, 0x03, 0x63, 0x02, 0x04, 0x25, 0x53, 0xf0
2017-12-11 09:05:01.318 Detail,
2017-12-11 09:05:01.318 Info, Node006, Processing (Send) Nonce Request message (Callback ID=0x52, Expected Reply=0x13)
2017-12-11 09:05:01.318 Info, Node006, Sending (Send) message (Callback ID=0x52, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x98, 0x40, 0x05, 0x02:
2017-12-11 09:05:01.326 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:05:01.326 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:05:02.587 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x7e, 0x97
2017-12-11 09:05:02.588 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2017-12-11 09:05:02.588 Info, Node006, Request RTT 1269 Average Request RTT 2723
2017-12-11 09:05:02.790 Detail, Node006,   Received: HIDDEN
2017-12-11 09:05:02.791 Info, Node006, Received SecurityCmd_NonceReport from node 6
2017-12-11 09:05:02.791 Info, Node006, Sending (Send) message (Callback ID=0x54, Expected Reply=0x13) - UserCodeCmd_Set (Node=6): HIDDEN
2017-12-11 09:05:02.803 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:05:02.803 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:05:02.827 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x54, 0x00, 0x00, 0x03, 0xbc
2017-12-11 09:05:02.827 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x54 received (expected 0x54)
2017-12-11 09:05:02.827 Info, Node006, Request RTT 1509 Average Request RTT 2116
2017-12-11 09:05:02.827 Detail,   Expected callbackId was received
2017-12-11 09:05:02.827 Detail,   Expected reply was received
2017-12-11 09:05:02.828 Detail,   Message transaction complete
2017-12-11 09:05:02.828 Detail,
2017-12-11 09:05:02.828 Detail, Node006, Removing current message
2017-12-11 09:05:02.828 Detail,
2017-12-11 09:05:02.828 Info, Node006, Processing (Send) Nonce Request message (Callback ID=0x53, Expected Reply=0x04)
2017-12-11 09:05:02.828 Info, Node006, Sending (Send) message (Callback ID=0x53, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x06, 0x02, 0x98, 0x40, 0x05, 0x02:
2017-12-11 09:05:02.836 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:05:02.836 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:05:02.877 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x04, 0xed
2017-12-11 09:05:02.878 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2017-12-11 09:05:02.878 Info, Node006, Request RTT 49 Average Request RTT 1082
2017-12-11 09:05:03.076 Detail, Node006,   Received: HIDDEN
2017-12-11 09:05:03.077 Info, Node006, Received SecurityCmd_NonceReport from node 6
2017-12-11 09:05:03.077 Info, Node006, Sending (Send) message (Callback ID=0x55, Expected Reply=0x04) - UserCodeCmd_Get (Node=6): 0x01, 0x0a, 0x00, 0x13, 0x06, 0x03, 0x63, 0x02, 0x04, 0x25, 0x55, 0xf6
2017-12-11 09:05:03.089 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:05:03.089 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:05:03.109 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x55, 0x00, 0x00, 0x02, 0xbc
2017-12-11 09:05:03.110 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x55 received (expected 0x55)
2017-12-11 09:05:03.110 Info, Node006, Request RTT 282 Average Request RTT 682
2017-12-11 09:05:03.110 Detail,   Expected callbackId was received
2017-12-11 09:05:03.186 Detail, Node006,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x06, 0x02, 0x98, 0x40, 0x2f
2017-12-11 09:05:03.186 Info, Node006, Received SecurityCmd_NonceGet from node 6
2017-12-11 09:05:03.186 Info, NONCES: 0x17, 0xd3, 0x0a, 0x31, 0x59, 0xef, 0x09, 0x1a
2017-12-11 09:05:03.186 Info, NONCES: 0x6b, 0x92, 0x19, 0xe6, 0x7b, 0x0e, 0x76, 0x09
2017-12-11 09:05:03.187 Info, NONCES: 0x3a, 0x03, 0x54, 0xc5, 0xf8, 0x81, 0x12, 0xf8
2017-12-11 09:05:03.187 Info, NONCES: 0x42, 0xd9, 0xe7, 0x08, 0x68, 0x9a, 0xc5, 0x04
2017-12-11 09:05:03.187 Info, NONCES: 0xd4, 0x24, 0x47, 0x4c, 0x66, 0x6f, 0x25, 0x9b
2017-12-11 09:05:03.187 Info, NONCES: 0x07, 0x73, 0xd4, 0x7d, 0x1e, 0x7a, 0x4d, 0x85
2017-12-11 09:05:03.187 Info, NONCES: 0xfd, 0xf7, 0xd7, 0x37, 0x89, 0xd4, 0x55, 0xab
2017-12-11 09:05:03.187 Info, NONCES: 0x56, 0x4b, 0xd7, 0x79, 0xee, 0xd5, 0xc4, 0x4f
2017-12-11 09:05:03.187 Info, Node006, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - HIDDEN:
2017-12-11 09:05:03.196 Detail, Node006,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-12-11 09:05:03.196 Detail, Node006,   ZW_SEND_DATA delivered to Z-Wave stack
2017-12-11 09:05:03.216 Detail, Node006,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x00, 0x02, 0xe8
2017-12-11 09:05:03.217 Detail, Node006,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2017-12-11 09:05:03.217 Info, Node006, Request RTT 389 Average Request RTT 535
2017-12-11 09:05:03.239 Detail, Node006,   Received: HIDDEN
2017-12-11 09:05:03.240 Info, Raw: HIDDEN
2017-12-11 09:05:03.240 Detail, Node006, Decrypted Packet: 0x00, 0x63, 0x03, 0x04, 0x01, 0x32, 0x35, 0x31, 0x35
2017-12-11 09:05:03.240 Detail,
2017-12-11 09:05:03.240 Info, Node006, Response RTT 412 Average Response RTT 1825
2017-12-11 09:05:03.240 Info, Node006, User Code Packet is 4
2017-12-11 09:05:03.240 Detail, Node006, Refreshed Value: old value=55b7ea80, new value=71cc85b4, type=raw
2017-12-11 09:05:03.240 Detail, Node006, Changes to this value are not verified
2017-12-11 09:05:03.240 Info, Node006, Received User Code Report from node 6 for User Code 4 (Occupied)
2017-12-11 09:05:03.241 Detail, Node006,   Expected reply and command class was received
2017-12-11 09:05:03.241 Detail, Node006,   Message transaction complete
2017-12-11 09:05:03.241 Detail,
2017-12-11 09:05:03.241 Detail, Node006, Removing current message
2017-12-11 09:05:03.241 Detail, Node006, Notification: ValueChanged

Any suggestions on what to try to resolve this? Should I delete the node?

@nalipaz
Copy link

nalipaz commented Dec 11, 2017

I came here seeking answers regarding this as well. My lock is a Schlage BE469NXCEN. When I select a Code Slot the User code field remains empty. Looking at the ozw.log I don't see any calls to that node. Perhaps I am misunderstanding how this UI works, isn't it supposed to retrieve the usercode and put it in the input field in the UI?

On a side note I also attempted retrieving a code using the dev services page:
screenshot_2017-12-11_14-54-22

This logs the following to the logs:

2017-12-11 14:55:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=lock, service=get_usercode, service_data=node_id=37, code_slot=1, service_call_id=1965710992-41>
2017-12-11 14:55:14 INFO (SyncWorker_15) [homeassistant.components.lock.zwave] Usercode at slot 1 is: **********
2017-12-11 14:55:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1965710992-41>

No I did not censor that, it actually came through that way.

I also tried sending a code which I think is successful:

screenshot_2017-12-11_14-59-57

2017-12-11 14:56:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=lock, service=set_usercode, service_data=node_id=37, code_slot=4, usercode=1234, service_call_id=1965710992-42>
2017-12-11 14:56:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1965710992-42>

after calling lock.clearcode:

2017-12-11 15:02:15 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=lock, service=clear_usercode, service_data=node_id=37, code_slot=4, service_call_id=1965710992-44>
2017-12-11 15:02:15 INFO (SyncWorker_1) [homeassistant.components.lock.zwave] Usercode at slot 4 is cleared
2017-12-11 15:02:15 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1965710992-44>

a subsequent lock.get_usercode indicates it was not cleared:

2017-12-11 15:02:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=lock, service=get_usercode, service_data=node_id=37, code_slot=4, service_call_id=1965710992-45>
2017-12-11 15:02:38 INFO (SyncWorker_19) [homeassistant.components.lock.zwave] Usercode at slot 4 is: **********
2017-12-11 15:02:38 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1965710992-45>

The OZW.log file is not showing any of these commands

@turbokongen
Copy link
Contributor

The clear usercode function is only partially supported by OZW, hence it will not work on all locks. It does not work on my test lock (Danalock V2). Some people have reported other locks to be working, but there are no guarantee for it to work.

@poldim
Copy link
Author

poldim commented Dec 14, 2017

@turbokongen - While that may be true, all of these functions worked fine on v.58 for my installation, including remote code setting, code clearing, and viewing codes. Now, it seems like none of these work.

Is there a way to downgrade hass.io?

@nalipaz
Copy link

nalipaz commented Dec 14, 2017

@turbokongen are you sure your config is okay? I wouldn't think a new version would break everything. I know of another guy with that lock, will confirm with him his version of hass.

@turbokongen
Copy link
Contributor

The actual services has not changed, only the input from the UI. Maybe there are encoding issues?
Could you test with setting the code to 1234 in the ui, and the do it via the service, and post the log on hastebin?

@nalipaz
Copy link

nalipaz commented Dec 14, 2017

@turbokongen regarding the issue I thought was at hand here (the title of this issue). I read from others in forum that setting the usercode to '0000' on some locks simply clears it. https://community.home-assistant.io/t/schlage-connect-zwave-locks/6220/81?u=nalipaz

Is it possible that the lock.clear_usercode service could be changed to use this on certain devices? Or perhaps a way to configure locks to use this sort of method for clearing and still use the service as named.

@turbokongen
Copy link
Contributor

@nalipaz I know that the author want to keep HA as simple and maintain free, thus avoiding workarounds at the most. There are a fix in the pipeline of OZW OpenZWave/open-zwave#1059
That will make all of this consistent. But with the current OZW library there are no certain way of clearing usercodes. It's up to the lock if it will clear with usercode 0,0,0,0 or not.

@poldim
Copy link
Author

poldim commented Dec 23, 2017

This is not limited to resetting the user code. This applies to setting of new user codes and what is shown in the GUI when you update the codes. Right now, it shows gibberish.

@turbokongen
Copy link
Contributor

@poldim
Could you provide the following:
Set usercode 1234 in UI. (\31\32\33\34) and provide logsnippet from OZW_Log.txt from the transaction.
Set usercode 1234 with developer services menu. (lock.set_usercode {"node_id": YOUR_NODE_ID, "code_slot": YOUR_CODESLOT, "usercode": 1234}" and provide logsnippet from OZW_Log.txt from the transaction.
That way I can see what is going on.
I see some random characters with my lock too, but that does not seem to matter, and is in the response, not in the sent message to the lock. Before we limited the ui to oonly show numbers. BEcause of the ability to set hex numbers for some devices, we show the raw message now.

@poldim
Copy link
Author

poldim commented Dec 25, 2017 via email

@kmwoley
Copy link

kmwoley commented Jan 8, 2018

Hopefully this provides a hint... I have some automations which set/reset user codes on the lock automatically. they were working in 0.58, but are now busted on 0.60.

I get the following error when I attempt to set the code from my automation:

Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/core.py", line 1036, in execute_service
    service_handler.func(service_call)
  File "/usr/src/app/homeassistant/components/lock/zwave.py", line 136, in set_usercode
    lock_node = network.nodes[node_id]
KeyError: 3

The automation is triggering the following service call:

...
    - service: lock.set_usercode
      data:
        node_id: 3
        code_slot: 5
        usercode: '123456'

The same error (above) is triggered by calling the set_usercode service from the dev-services menu with the following JSON:

{ 
  "node_id": "3",
  "code_slot": "5",
  "usercode": "123456"
}

Nothing shows up in OZW_Log.txt related to these calls.

@turbokongen
Copy link
Contributor

turbokongen commented Jan 8, 2018

@kmwoley
Huh, that error reports some older code....
lock_node = network.nodes[node_id] is on line 132 in current code.
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/lock/zwave.py#L136

@kmwoley
Copy link

kmwoley commented Jan 8, 2018 via email

@kmwoley
Copy link

kmwoley commented Jan 9, 2018

@turbokongen - your link is to the dev branch, which has changes not deployed to master.
In the master branch the line in question is on 136:
https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/lock/zwave.py#L136

Also, it looks like the lock/zwave.py hasn't changed in ages; so there's something outside of that file going on.

@turbokongen
Copy link
Contributor

@kmwoley
I can only reproduce your error by using a nonexisting node_id in the network.

@kmwoley
Copy link

kmwoley commented Jan 10, 2018 via email

@kevinduong
Copy link

I'm still having this issue on 0.65.

@poldim
Copy link
Author

poldim commented Mar 21, 2018

Also still having issues.

This is what it looks like when I first click on a user code. It should be just four numbers.

@turbokongen, I don't think this should be closed.

@poldim
Copy link
Author

poldim commented Mar 28, 2018

@turbokongen - Any thoughts?

@turbokongen
Copy link
Contributor

@poldim
Could you provide the following:
Set usercode 1234 in UI. (\31\32\33\34) and provide logsnippet from OZW_Log.txt from the transaction.
Set usercode 1234 with developer services menu. (lock.set_usercode {"node_id": YOUR_NODE_ID, "code_slot": YOUR_CODESLOT, "usercode": 1234}" and provide logsnippet from OZW_Log.txt from the transaction.
That way I can see what is going on.
I see some random characters with my lock too, but that does not seem to matter, and is in the response, not in the sent message to the lock. Before we limited the ui to only show numbers. Because of the ability to set hex numbers for some devices, we show the raw message now.

@kevinduong
Copy link

@turbokongen wouldn't it be \x31\x32\x33\x34

@turbokongen
Copy link
Contributor

yes, a typo.

@kevinduong
Copy link

@turbokongen I can do this when I get home tonight. Which logs can I see the result of get_usercode in? OZW or HASS?

@turbokongen
Copy link
Contributor

homeassistant.log will show the data sent to OZW and ozw_log.txt will show what ozw gets and returns to HA.

@poldim
Copy link
Author

poldim commented Apr 4, 2018

UI:

2018-04-03 21:50:16.314 Info, Node010, Value::Set - COMMAND_CLASS_USER_CODE - Code 10: - 10 - 1 - 0x31 0x32 0x33 0x34
2018-04-03 21:50:16.314 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-03 21:50:16.314 Detail, Node010, Queuing (Send) UserCodeCmd_Set (Node=10): 0x01, 0x0f, 0x00, 0x13, 0x0a, 0x08, 0x63, 0x01, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb1, 0x18
2018-04-03 21:50:16.314 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-03 21:50:16.315 Detail, Node010, Queuing (Send) UserCodeCmd_Get (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x63, 0x02, 0x0a, 0x25, 0xb2, 0x13
2018-04-03 21:50:16.315 Detail, 
2018-04-03 21:50:16.316 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb1, Expected Reply=0x13)
2018-04-03 21:50:16.316 Info, Node010, Sending (Send) message (Callback ID=0xb1, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-03 21:50:16.325 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:50:16.326 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:50:17.616 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x81, 0x68
2018-04-03 21:50:17.616 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-03 21:50:17.616 Info, Node010, Request RTT 1300 Average Request RTT 1374
2018-04-03 21:50:17.628 Detail, Node010,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0x28, 0x02, 0x35, 0xbf, 0xa6, 0x33, 0xa8, 0x1b, 0x75
2018-04-03 21:50:17.629 Info, Node010, Received SecurityCmd_NonceReport from node 10
2018-04-03 21:50:17.629 Info, Node010, Sending (Send) message (Callback ID=0xb3, Expected Reply=0x13) - UserCodeCmd_Set (Node=10): 0x01, 0x0f, 0x00, 0x13, 0x0a, 0x08, 0x63, 0x01, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb3, 0x1a
2018-04-03 21:50:17.641 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:50:17.641 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:50:17.664 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0xb3, 0x00, 0x00, 0x03, 0x5b
2018-04-03 21:50:17.664 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb3 received (expected 0xb3)
2018-04-03 21:50:17.664 Info, Node010, Request RTT 1347 Average Request RTT 1360
2018-04-03 21:50:17.664 Detail,   Expected callbackId was received
2018-04-03 21:50:17.664 Detail,   Expected reply was received
2018-04-03 21:50:17.664 Detail,   Message transaction complete
2018-04-03 21:50:17.665 Detail, 
2018-04-03 21:50:17.665 Detail, Node010, Removing current message
2018-04-03 21:50:17.665 Detail, 
2018-04-03 21:50:17.665 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb2, Expected Reply=0x04)
2018-04-03 21:50:17.665 Info, Node010, Sending (Send) message (Callback ID=0xb2, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-03 21:50:17.673 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:50:17.673 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:50:17.690 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0xeb
2018-04-03 21:50:17.691 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-03 21:50:17.691 Info, Node010, Request RTT 25 Average Request RTT 692
2018-04-03 21:50:17.702 Detail, Node010,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0xba, 0x4c, 0xa2, 0x4d, 0xa8, 0x63, 0x16, 0x47, 0x70
2018-04-03 21:50:17.703 Info, Node010, Received SecurityCmd_NonceReport from node 10
2018-04-03 21:50:17.703 Info, Node010, Sending (Send) message (Callback ID=0xb4, Expected Reply=0x04) - UserCodeCmd_Get (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x63, 0x02, 0x0a, 0x25, 0xb4, 0x15
2018-04-03 21:50:17.714 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:50:17.714 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:50:17.736 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0xb4, 0x00, 0x00, 0x02, 0x5d
2018-04-03 21:50:17.736 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb4 received (expected 0xb4)
2018-04-03 21:50:17.736 Info, Node010, Request RTT 70 Average Request RTT 381
2018-04-03 21:50:17.736 Detail,   Expected callbackId was received
2018-04-03 21:50:18.985 Detail, Node010,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x02, 0x98, 0x40, 0x23
2018-04-03 21:50:18.985 Info, Node010, Received SecurityCmd_NonceGet from node 10
2018-04-03 21:50:18.985 Info, NONCES: 0xd6, 0xe1, 0x41, 0x25, 0xf0, 0x72, 0x8f, 0x0c
2018-04-03 21:50:18.986 Info, NONCES: 0xc2, 0x33, 0x32, 0xd3, 0xbf, 0x53, 0x95, 0x23
2018-04-03 21:50:18.986 Info, NONCES: 0x4e, 0x4f, 0x6a, 0x84, 0x7b, 0x70, 0xb0, 0xfd
2018-04-03 21:50:18.986 Info, NONCES: 0xf7, 0xd7, 0x37, 0x89, 0xd4, 0x55, 0xab, 0x93
2018-04-03 21:50:18.986 Info, NONCES: 0x82, 0x06, 0xc1, 0x84, 0xca, 0x2d, 0xf5, 0xe6
2018-04-03 21:50:18.986 Info, NONCES: 0x35, 0xf2, 0x65, 0x73, 0x19, 0xd1, 0xc4, 0xe3
2018-04-03 21:50:18.986 Info, NONCES: 0x61, 0x50, 0xea, 0x0e, 0x3d, 0x5f, 0x30, 0x20
2018-04-03 21:50:18.986 Info, NONCES: 0x3a, 0xbc, 0x3d, 0x3d, 0x1b, 0xe6, 0xa9, 0xc9
2018-04-03 21:50:18.987 Info, Node010, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x0a, 0x0a, 0x98, 0x80, 0xd6, 0xe1, 0x41, 0x25, 0xf0, 0x72, 0x8f, 0x0c, 0x05, 0x01, 0xb3:
2018-04-03 21:50:18.996 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:50:18.996 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:50:19.014 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0x01, 0x00, 0x00, 0x02, 0xe8
2018-04-03 21:50:19.014 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2018-04-03 21:50:19.015 Info, Node010, Request RTT 1349 Average Request RTT 865
2018-04-03 21:50:19.036 Detail, Node010,   Received: 0x01, 0x1e, 0x00, 0x04, 0x00, 0x0a, 0x18, 0x98, 0x81, 0x29, 0xc2, 0x34, 0x37, 0x1b, 0x24, 0x70, 0x76, 0x66, 0x4a, 0x96, 0x57, 0xf3, 0xd6, 0xfa, 0x24, 0x6e, 0x70, 0x9c, 0xd9, 0xce, 0xc3, 0x7f
2018-04-03 21:50:19.037 Info, Raw: 0x98, 0x81, 0x29, 0xc2, 0x34, 0x37, 0x1b, 0x24, 0x70, 0x76, 0x66, 0x4a, 0x96, 0x57, 0xf3, 0xd6, 0xfa, 0x24, 0x6e, 0x70, 0x9c, 0xd9, 0xce, 0xc3, 0x7f
2018-04-03 21:50:19.037 Detail, Node010, Decrypted Packet: 0x00, 0x71, 0x05, 0x70, 0x0a
2018-04-03 21:50:19.037 Detail, 
2018-04-03 21:50:19.037 Info, Node010, Response RTT 1372 Average Response RTT 1550
2018-04-03 21:50:19.037 Info, Node010, Received Alarm report: type=112, level=10
2018-04-03 21:50:19.037 Detail, Node010, Refreshed Value: old value=21, new value=112, type=byte
2018-04-03 21:50:19.037 Detail, Node010, Changes to this value are not verified
2018-04-03 21:50:19.038 Detail, Node010, Refreshed Value: old value=1, new value=10, type=byte
2018-04-03 21:50:19.038 Detail, Node010, Changes to this value are not verified
2018-04-03 21:50:19.038 Detail, Node010, Notification: ValueChanged
2018-04-03 21:50:19.068 Detail, Node010, Notification: ValueChanged
2018-04-03 21:50:27.665 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-04-03 21:50:27.667 Detail, Node010, Removing current message
2018-04-03 21:50:27.667 Detail, Node010, Notification: Notification - TimeOut

Developer services menu:

2018-04-03 21:58:25.632 Info, Node010, Value::Set - COMMAND_CLASS_USER_CODE - Code 10: - 10 - 1 - 0x31 0x32 0x33 0x34
2018-04-03 21:58:25.632 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-03 21:58:25.633 Detail, Node010, Queuing (Send) UserCodeCmd_Set (Node=10): 0x01, 0x0f, 0x00, 0x13, 0x0a, 0x08, 0x63, 0x01, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb6, 0x1f
2018-04-03 21:58:25.633 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2018-04-03 21:58:25.633 Detail, Node010, Queuing (Send) UserCodeCmd_Get (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x63, 0x02, 0x0a, 0x25, 0xb7, 0x16
2018-04-03 21:58:25.633 Detail, 
2018-04-03 21:58:25.634 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb6, Expected Reply=0x13)
2018-04-03 21:58:25.634 Info, Node010, Sending (Send) message (Callback ID=0xb6, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-03 21:58:25.641 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:58:25.642 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:58:26.934 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x82, 0x6b
2018-04-03 21:58:26.934 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-03 21:58:26.935 Info, Node010, Request RTT 1300 Average Request RTT 1082
2018-04-03 21:58:26.946 Detail, Node010,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0xa8, 0xcb, 0xad, 0x56, 0x1f, 0x9f, 0x19, 0xd9, 0x2b
2018-04-03 21:58:26.947 Info, Node010, Received SecurityCmd_NonceReport from node 10
2018-04-03 21:58:26.947 Info, Node010, Sending (Send) message (Callback ID=0xb8, Expected Reply=0x13) - UserCodeCmd_Set (Node=10): 0x01, 0x0f, 0x00, 0x13, 0x0a, 0x08, 0x63, 0x01, 0x0a, 0x01, 0x31, 0x32, 0x33, 0x34, 0x25, 0xb8, 0x11
2018-04-03 21:58:26.959 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:58:26.959 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:58:26.982 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0xb8, 0x00, 0x00, 0x03, 0x50
2018-04-03 21:58:26.982 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb8 received (expected 0xb8)
2018-04-03 21:58:26.982 Info, Node010, Request RTT 1348 Average Request RTT 1215
2018-04-03 21:58:26.982 Detail,   Expected callbackId was received
2018-04-03 21:58:26.983 Detail,   Expected reply was received
2018-04-03 21:58:26.983 Detail,   Message transaction complete
2018-04-03 21:58:26.983 Detail, 
2018-04-03 21:58:26.983 Detail, Node010, Removing current message
2018-04-03 21:58:26.983 Detail, 
2018-04-03 21:58:26.983 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb7, Expected Reply=0x04)
2018-04-03 21:58:26.983 Info, Node010, Sending (Send) message (Callback ID=0xb7, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2018-04-03 21:58:26.992 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:58:26.992 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:58:27.008 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0x02, 0x00, 0x00, 0x03, 0xea
2018-04-03 21:58:27.009 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2018-04-03 21:58:27.009 Info, Node010, Request RTT 25 Average Request RTT 620
2018-04-03 21:58:27.021 Detail, Node010,   Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0x04, 0x48, 0xd1, 0x76, 0x9c, 0x3c, 0x57, 0x7f, 0x90
2018-04-03 21:58:27.022 Info, Node010, Received SecurityCmd_NonceReport from node 10
2018-04-03 21:58:27.023 Info, Node010, Sending (Send) message (Callback ID=0xb9, Expected Reply=0x04) - UserCodeCmd_Get (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x63, 0x02, 0x0a, 0x25, 0xb9, 0x18
2018-04-03 21:58:27.034 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-04-03 21:58:27.034 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2018-04-03 21:58:27.056 Detail, Node010,   Received: 0x01, 0x07, 0x00, 0x13, 0xb9, 0x00, 0x00, 0x02, 0x50
2018-04-03 21:58:27.056 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb9 received (expected 0xb9)
2018-04-03 21:58:27.056 Info, Node010, Request RTT 73 Average Request RTT 346
2018-04-03 21:58:27.056 Detail,   Expected callbackId was received

@cjlee89
Copy link

cjlee89 commented Apr 5, 2018

@turbokongen: I am also having the same trouble setting, changing, and deleting user code. I am on 0.66.1 HASS.io.

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

@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants