My new Conbee II USB stick kept timing-out & reconnecting in my VM host (Debian 10), getting a new USB device number assignment every 30 seconds. So I flashed the Conbee II firmware to the latest version and that behavior stopped. After that, my HA VM guest (qemu/qcow2 image) was able to find and auto-configure the Conbee II USB stick. It also survives across guest & host reboots.
Hello,
Looks like I ran into a similar problem. I installed OMV + KVM plugin on old PC. I started Home Assistant on virtual machine and everything works except Conbee II. It is visible in HA, but in Zigbee2MQTT it shows an error. I came across this thread and tried to modify the xml configuration by editing virsh edit but I am not sure if I am making the correct entries.
Output of lsusb:
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 012: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Hardware in HA:
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2451933-if00
/dev/serial/by-path/pci-0000:00:1d.1-usb-0:2:1.0
DEVNAME: /dev/ttyACM0
DEVPATH: /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/tty/ttyACM0
I am asking for help, how should I modify the xml in this situation to make it work properly.
I went round on circles on this, so if it helps anyone: If you follow these steps and it still doesnât work - try removing any other USB devices.
It was only that I spotted that the device in my HA VM was showing up as âaudioâ instead of âdialoutâ like on the host that I realised a Bluetooth Audio usb dongle I had plugged in was interfering!
My setup: OMV+KVM plugin ; updated Conbee II firmware to latest version
Whatâs unclear to me is if you still need to use the âadd usbâ option of the KVM plugin.
If I just add the provided xml snippets from this thread then the device is not found in Home Assistant.
If I use the âadd usbâ option then the device is found, with or without the extra xml option, but the setup of ZHA fails. On one of the tries it did work, but after a while it failed and Home Assistant could again not find the device anymore.
Iâm having similar issues, I get it working - but then when I restart HA or the VM itâs pot luck if the Conbee stick will be discovered properly or my ZHA is borked again.
So far it seems the only âfixâ is to ensure the USB stick is detached in KVM/Unraid, ensure hardcoded XML is set again, then start the VM and pray. And even then it seems to still be potluck if it wants to work.
Starting to wonder if it might be easier to put the conbee stick on a Pi I have running a RF Remote (MiHome) over MQTT and somehow do ZigBee over MQTT back to HA as well. At least the Pi is less likely to be rebootedâŚ