Z-wave rename node not working

Is there a trick to renaming zwave nodes through the front end “z-wave” page? I’ve tried it a few times, but haven’t had much luck. Adding a device works fine.

When I look at the zwave log, nothing seems out of the ordinary.

If you tail/grep for zwave in the log you should see a message like ‘zwave device id x renamed successfully’. I also found that I had to restart HASS completely before the new name showed up in the device list.

Here is the log output for when I call the rename service. I’m trying to name the device “brewery_outlet”. I don’t see any errors, but to be honest I’m not completely sure what all of the hexadecimal stuff means.

2017-06-07 14:34:00.753 Info, Node026, NodeNaming::Set - Naming to ‘brewery_outlet’
2017-06-07 14:34:00.754 Detail, Node026, Queuing (Send) NodeNamingCmd_Set (Node=26): 0x01, 0x18, 0x00, 0x13, 0x1a, 0x11, 0x77, 0x01, 0x00, 0x62, 0x72, 0x65, 0x77, 0x65, 0x72, 0x79, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x25, 0xd0, 0x5c
2017-06-07 14:34:00.754 Detail, Node026, Notification: NodeNaming
2017-06-07 14:34:00.767 Detail,
2017-06-07 14:34:00.767 Info, Node026, Sending (Send) message (Callback ID=0xd0, Expected Reply=0x13) - NodeNamingCmd_Set (Node=26): 0x01, 0x18, 0x00, 0x13, 0x1a, 0x11, 0x77, 0x01, 0x00, 0x62, 0x72, 0x65, 0x77, 0x65, 0x72, 0x79, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x25, 0xd0, 0x5c
2017-06-07 14:34:00.777 Detail, Node026, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-06-07 14:34:00.777 Detail, Node026, ZW_SEND_DATA delivered to Z-Wave stack
2017-06-07 14:34:00.802 Detail, Node026, Received: 0x01, 0x07, 0x00, 0x13, 0xd0, 0x00, 0x00, 0x03, 0x38
2017-06-07 14:34:00.803 Detail, Node026, ZW_SEND_DATA Request with callback ID 0xd0 received (expected 0xd0)
2017-06-07 14:34:00.803 Info, Node026, Request RTT 35 Average Request RTT 42
2017-06-07 14:34:00.803 Detail, Expected callbackId was received
2017-06-07 14:34:00.803 Detail, Expected reply was received
2017-06-07 14:34:00.803 Detail, Message transaction complete
2017-06-07 14:34:00.803 Detail,
2017-06-07 14:34:00.803 Detail, Node026, Removing current message

For anyone having a similar issue, I was able to figure this out. The zwcfg_####.xml file in my HA config directory is a symlink and was referencing a file that was owned by root. I must have messed this up when I setup the symlink originally . I changed the ownership of the target file to my HA user “homeassistant” and everything seems to work fine now.

2 Likes