Unable to add z wave nodes in HA

I have a HA environment installation on Oracle VirtualBox. I have Husbzb-1 USB stick and configured both Zigbee (using ZHA) and Z-Wave JS. I do not have any issue adding Zigbee devices but I’m unable to add any Z-Wave device (Node). The logs do not show any activity while adding the node!

I have successfully used that stick in my test environment on a Pi. how are you passing the stick to your VM?
In the past I have used the windows drivers and bridged the resulting COM ports to the VM.

Any other USB devices next to your stick using USB 3? That might cause interference. Is the Zwave integration working at all, using controller commands like heal network or anything? Are you trying to use secure include or the regular? Any information on the device you are trying to add?


This is how I’m passing the stick to the VM. Moreover, I’m able to see in the HW part and I have already configured the Zigbee integration and it’s working fine and devices were added using ZHA integration.

I have tried it while there is nothing other than mouse and keyboard connected to the USB and it did not worked!
The Zigbee part of the stick is working fine!
I have tried 3 devices, a switch, door sensor, and motion sensor and none of them was detected. The way to trigger the pairing in those devices was the same which was pressing a key 3 time and the LED light will go red 5 consecutive times.

I tried to add in both ways (Secure and non secure)

Below is a sample for the log during the inclusion process till it ends by itself:

=====

2021-06-11T15:39:12.640Z CNTRLR starting inclusion process…
2021-06-11T15:39:12.642Z DRIVER » [REQ] [AddNodeToNetwork]
payload: 0xc111
2021-06-11T15:39:12.667Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x11010000
2021-06-11T15:39:12.668Z DRIVER handling request AddNodeToNetwork (74)
2021-06-11T15:39:12.668Z DRIVER 1 handler registered!
2021-06-11T15:39:12.669Z DRIVER invoking handler #0
2021-06-11T15:39:12.669Z CNTRLR handling add node request (status = Ready)
2021-06-11T15:39:12.669Z CNTRLR the controller is now ready to add nodes
2021-06-11T15:39:12.670Z DRIVER the message was handled
2021-06-11T15:40:42.641Z CNTRLR stopping inclusion process…
2021-06-11T15:40:42.644Z DRIVER » [REQ] [AddNodeToNetwork]
payload: 0xc512
2021-06-11T15:40:42.710Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x12060000
2021-06-11T15:40:42.711Z DRIVER handling request AddNodeToNetwork (74)
2021-06-11T15:40:42.712Z DRIVER 1 handler registered!
2021-06-11T15:40:42.712Z DRIVER invoking handler #0
2021-06-11T15:40:42.712Z CNTRLR handling add node request (status = Done)
2021-06-11T15:40:42.712Z CNTRLR done called for 0
2021-06-11T15:40:42.712Z CNTRLR the inclusion process was stopped
2021-06-11T15:40:42.713Z DRIVER the message was handled

===

Some devices need to be factory reset before inclusion. That is always true for secure inclusion which must also complete within 15 seconded\s.

What is the output of the following command from the VM ?
sudo dmesg | grep tty

bwo@rpi3-20210209:~$ sudo dmesg | grep tty
[    0.000000] Kernel command line: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa020d3 bcm2709.serial=0x3618c5eb bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=29 bcm2709.disk_led_active_low=0 smsc95xx.macaddr=B8:27:EB:18:C5:EB vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait
[    0.000725] console [tty0] enabled
[    3.542891] console [ttyS1] disabled
[    3.544991] 3f215040.serial: ttyS1 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[    4.283888] console [ttyS1] enabled
[    4.741793] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[   10.868458] usb 1-1.1.3: cp210x converter now attached to ttyUSB0
[   11.033993] usb 1-1.1.3: cp210x converter now attached to ttyUSB1
bwo@rpi3-20210209:~$

My Z-Wave is on /dev/ttUSB0 & Zogbee is on /dev/ttyUSB1 This is on a Raspberry Pi though.

Continuing the discussion from Unable to add z wave nodes in HA:

I believe I have figured out the issue, it might be related to the fact that the devices and the USB stick are on different frequency!
I will get another devices and test them.

Thank you all

Your devices & stick MUST match your world region to be legal.