Danfoss RXZ-2C Receiver Inclusion (Z-Wave Add Node) failure

Hello folks,

I have a very specific problem in that I cannot seem to include either of the two new RXZ-2C dual-channel z-wave receivers I have purchased.

Despite some obstacles (with respect to instructions/missing information) getting the RXZ-2C factory reset, which is a pre-cursor to putting it into inclusion mode in the first instance, I am now at a stage where when I try an Add Node in the HA GUI via Z-Wave Network Management, the node_add fails.

For anyone interested in how to get this thing factory reset (PROG LED slow green flashing), the sequence is as follows:

(I figured it out by following an openHAB thread (openHAB thread) on the same subject of inclusion to Chris’ Z-Wave device DB here: Chris Jackson’s openHAB stuff)

  1. Place in Program Mode (press PROG so the LED is on steady RED)
  2. Hold CH1 for >=15 seconds (Prog LED flashes red/green)
  3. Press PROG for >=15 seconds (CH1/CH2 show steady RED and PROG LED slow flashes green)

At this point, I can then put the receiver into inclusion/pairing mode by pressing PROG to make it solid red and subsequently pressing and holding PROG and CH1 for >=3 seconds which starts some slow red flashing of the PROG LED.

Can anyone help me with this?

These are the details surrounding my configuration:

I am running HA 105.5 (supervisor 209) in docker on Ubuntu 18.04.3.

The only addons I run from within HA so-to-speak are:

  • Check Home Assistant configuration
  • Samba share

I have an Everspring SA413 USB stick (plugged in to a long USB extension lead - not the back of the server tin!) which is reported as a “Z-Wave (Sigma Designs) UZB Z-Wave USB Adapter” in HA.

I do NOT have ModemManager!!! (previosuly removed with an apt-get purge)

I am running open-zwave 1.6 which I have git-pulled into a subdirectory of my config and my configuration.yaml includes the following lines for my z-wave config:

# z-wave component
zwave:
  usb_path: /dev/serial/by-id/usb-0658_0200-if00
  network_key: !secret zwave_network_key
  config_path: /config/openzwave_config

I have 16 x Eurotronic Spirit Z-Wave TRVs, all of which have been tickety-boo for over a year. They have just worked for me. They are all Z-Wave plus devices and are all included “secure”.

I have 4 x Aeotec Z-Wave repeaters dotted about the house to build my mesh.

I have turned on debug logging for homeassistant.components.zwave but get two lines when I try and add (then subsequently remove) the node:

2020-03-07 13:49:25 INFO (SyncWorker_0) [homeassistant.components.zwave] Z-Wave add_node have been initialized
2020-03-07 13:50:11 INFO (SyncWorker_3) [homeassistant.components.zwave] Z-Wave remove_node have been initialized

This is an extract from my OZW_Log.txt:

2020-03-07 13:49:25.293 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2020-03-07 13:49:25.293 Info, contrlr, ADD_NODE_STATUS_LEARN_READY
2020-03-07 13:49:25.293 Detail, Node001,   Expected callbackId was received
2020-03-07 13:49:25.293 Detail, Node001,   Expected reply was received
2020-03-07 13:49:25.293 Detail, Node001,   Message transaction complete
2020-03-07 13:49:25.293 Detail, 
2020-03-07 13:49:25.293 Detail, contrlr, Removing current message
2020-03-07 13:49:25.293 Detail, Notification: ControllerCommand - Waiting
2020-03-07 13:49:25.294 Info, WriteNextMsg Controller nothing to do
2020-03-07 13:49:32.239 Detail,   Received: 0x01, 0x16, 0x00, 0x4a, 0xdf, 0x02, 0x1d, 0x0f, 0x02, 0x10, 0x00, 0x25, 0x60, 0x91, 0x72, 0x8f, 0x86, 0x43, 0xef, 0x8f, 0x85, 0x8e, 0x84, 0x7d
2020-03-07 13:49:32.239 Detail, 
2020-03-07 13:49:32.239 Info, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2020-03-07 13:49:32.239 Info, ADD_NODE_STATUS_NODE_FOUND
2020-03-07 13:49:32.239 Detail, Notification: ControllerCommand - InProgress
2020-03-07 13:49:32.242 Detail,   Received: 0x01, 0x16, 0x00, 0x4a, 0xdf, 0x04, 0x1d, 0x0f, 0x02, 0x10, 0x00, 0x25, 0x60, 0x91, 0x72, 0x8f, 0x86, 0x43, 0xef, 0x8f, 0x85, 0x8e, 0x84, 0x7b
2020-03-07 13:49:32.242 Detail, 
2020-03-07 13:49:32.242 Info, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2020-03-07 13:49:32.242 Info, ADD_NODE_STATUS_ADDING_CONTROLLER
2020-03-07 13:49:32.242 Info, Adding controller ID 29
2020-03-07 13:49:32.242 Detail, Notification: ControllerCommand - InProgress
2020-03-07 13:49:54.111 Detail,   Received: 0x01, 0x07, 0x00, 0x4a, 0xdf, 0x07, 0x1d, 0x00, 0x77
2020-03-07 13:49:54.111 Detail, 
2020-03-07 13:49:54.111 Info, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2020-03-07 13:49:54.111 Info, ADD_NODE_STATUS_FAILED
2020-03-07 13:49:54.111 Detail, Removing current message
2020-03-07 13:49:54.111 Detail, contrlr, Queuing (Command) Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2020-03-07 13:49:54.111 Detail, Notification: ControllerCommand - Failed
2020-03-07 13:49:54.113 Detail, 
2020-03-07 13:49:54.113 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x4a) - Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2020-03-07 13:49:54.166 Detail, contrlr,   Received: 0x01, 0x07, 0x00, 0x4a, 0xdf, 0x06, 0x00, 0x00, 0x6b
2020-03-07 13:49:54.166 Detail, 
2020-03-07 13:49:54.166 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2020-03-07 13:49:54.166 Detail, Node006,   Expected reply was received
2020-03-07 13:49:54.166 Detail, Node006,   Message transaction complete
2020-03-07 13:49:54.166 Detail, 
2020-03-07 13:49:54.166 Detail, contrlr, Removing current message
2020-03-07 13:49:54.166 Detail, Notification: ControllerCommand - Completed
2020-03-07 13:50:11.696 Detail, Queuing (Controller) Remove Device
2020-03-07 13:50:11.697 Info, Remove Device
2020-03-07 13:50:11.697 Detail, contrlr, Queuing (Command) ControllerCommand_RemoveDevice: 0x01, 0x05, 0x00, 0x4b, 0x81, 0xe0, 0xd0
2020-03-07 13:50:11.697 Detail, Notification: ControllerCommand - Starting
2020-03-07 13:50:11.698 Detail, 
2020-03-07 13:50:11.698 Info, contrlr, Sending (Command) message (Callback ID=0xe0, Expected Reply=0x4b) - ControllerCommand_RemoveDevice: 0x01, 0x05, 0x00, 0x4b, 0x81, 0xe0, 0xd0
2020-03-07 13:50:11.703 Detail, contrlr,   Received: 0x01, 0x07, 0x00, 0x4b, 0xe0, 0x01, 0x00, 0x00, 0x52
2020-03-07 13:50:11.703 Detail, 
2020-03-07 13:50:11.704 Info, FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK:
2020-03-07 13:50:11.704 Info, REMOVE_NODE_STATUS_LEARN_READY
2020-03-07 13:50:11.704 Detail, Node001,   Expected callbackId was received
2020-03-07 13:50:11.704 Detail, Node001,   Expected reply was received
2020-03-07 13:50:11.704 Detail, Node001,   Message transaction complete
2020-03-07 13:50:11.704 Detail, 
2020-03-07 13:50:11.704 Detail, contrlr, Removing current message
2020-03-07 13:50:11.704 Detail, Notification: ControllerCommand - Waiting
2020-03-07 13:50:11.705 Info, WriteNextMsg Controller nothing to do
2020-03-07 13:50:18.587 Detail,   Received: 0x01, 0x07, 0x00, 0x4b, 0xe0, 0x02, 0x00, 0x00, 0x51
2020-03-07 13:50:18.587 Detail, 
2020-03-07 13:50:18.587 Info, FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK:
2020-03-07 13:50:18.587 Info, REMOVE_NODE_STATUS_NODE_FOUND
2020-03-07 13:50:18.587 Detail, Notification: ControllerCommand - InProgress
2020-03-07 13:50:18.798 Detail,   Received: 0x01, 0x16, 0x00, 0x4b, 0xe0, 0x04, 0x1d, 0x0f, 0x02, 0x10, 0x00, 0x25, 0x60, 0x91, 0x72, 0x8f, 0x86, 0x43, 0xef, 0x8f, 0x85, 0x8e, 0x84, 0x45
2020-03-07 13:50:18.798 Detail, 
2020-03-07 13:50:18.798 Info, FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK:
2020-03-07 13:50:18.798 Info, REMOVE_NODE_STATUS_REMOVING_CONTROLLER
2020-03-07 13:50:18.798 Info, Removing controller ID 29
2020-03-07 13:50:18.798 Detail, Notification: ControllerCommand - InProgress
2020-03-07 13:50:18.801 Detail,   Received: 0x01, 0x16, 0x00, 0x4b, 0xe0, 0x06, 0x1d, 0x0f, 0x02, 0x10, 0x00, 0x25, 0x60, 0x91, 0x72, 0x8f, 0x86, 0x43, 0xef, 0x8f, 0x85, 0x8e, 0x84, 0x47
2020-03-07 13:50:18.801 Detail, 
2020-03-07 13:50:18.801 Info, FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK:
2020-03-07 13:50:18.801 Info, REMOVE_NODE_STATUS_DONE
2020-03-07 13:50:18.801 Detail, Notification: ControllerCommand - Completed
2020-03-07 13:50:18.802 Detail, Node029, Notification: NodeRemoved
2020-03-07 13:50:18.898 Detail,   Received: 0x01, 0x07, 0x00, 0x4b, 0xe0, 0x06, 0x00, 0x00, 0x55
2020-03-07 13:50:18.898 Detail, 

It should be noted that I only press the Add Node button in HA once. I also only press the Remove Node button in HA once.

I can supply my redacted configuration.yaml, full home-assistant.log and full OZW_Log.txt if requested.

TIA,
bikefright

Just in case it is specific to the Everspring SA413 USB stick, I’ve ordered an Aeotec Gen5 stick from a well known online presence which will be here tomorrow.

I have 3 x spare TRVs still in boxes (for another project) which I can use along with the Aeotec stick on a new docker container and/or spare RPi to see if the stick makes a difference. If it does, I’ll update my own thread :nerd_face:.

Just to rule it out, I ran a full Heal of my network - which was successful for all nodes - and tried inclusion again. Same dice.

To rule out my git pull of open-zwave, I commented out the relevant line of my configuration.yaml and rebooted; giving me the as-bundled standard z-wave integration with standard config files. I hope this has ruled the open-zwave config files out. Same dice.

bikefright.

So it is not the Everspring SA413 USB stick.

I believe it to be an issue with the open-zwave product_id and type values as defined in manufacturer_specific.xml

According to here: link to product detail on z-wavealliance.org the product_id is 0x2002 and the type is 0x0804.

If I look at the relevant section in manufacturer_specific.xml, there is an entry as follows:

    <Product id="2000" name="RXZ3 RF relay Switching Unit" type="8004"/>

So I added this line myself:

    <Product id="2002" name="RXZ2C RF relay Switching Unit" type="0804"/>

…and I got 1 step further with the pairing!

From HA’s point of view, it adds a new node with three available switches, as per the RXZ3 spec (the “3” is the number of relays in the receiver).

However, from the receiver’s perspective, the inclusion fails (rapid flashing orange PROG LED) and pressing either of the relay buttons does nothing in HA when looking at the states in developer tools.

If I look at my Z-Wave graph, the new node is there, but grey.

I used the “save config” option to write out the zwave config to the zwcfg_xxxx.xml and had a peek.

New node appears at the bottom of the file but the product_id and type both relate to the RXZ3 values.

No more time to play today, so I’ve wiped/restored from a full snapshot and I’ll revisit this later in the week. I feel I’m SOOOOOOOOOoooooo close here!

Look on the bright side - i’ve got a shiny new Aeotec Gen5 Z-Stick out of it with SWMBO’s blessing :slight_smile:

bikefright

Yup, that was it - I just wasn’t being patient enough. Third time lucky this lunchtime.

As far as the receiver is concerned, even though the node_add was successful in HA, the receiver rapidly flashes it’s PROG LED orange once pairing is complete - indicating some kind of failure from the receiver’s perspective (according to the documentation I have). This is VERY misleading!

However, the two relays are exposed correctly and I now have HA control of them.

Only annoying thing is that I’m now at Node042 !!! I only have 21 nodes on this controller :rofl: A problem for another day.

All is good in the world.
bikefright.

This isn’t a problem, once you hit the max it’ll roll over to the next unused node number.