I just bought a new Conbee II stick and I am trying to add it to my Home assistant instance. But unfortunately, looks like I cannot pass through this USB stick from host to guest properly.
Systems and setup:
Conbee II with flashed latest firmware (26780700), successfully flashed from CLI on debian
Host: Debian bullseye, latest updates, running on standard desktop computer
Virtualization: KVM 7.0
Guest: HAOS, latest version: Home Assistant 2022.9.6, Supervisor 2022.09.1, Operating System 9.0
Conbee II is on 2m USB cable to avoid interferences, no SSD nearby, only USB2 ports
What works:
I can see stick in my notebook (debian) and in deConz it looks it is alive
I can see stick in host (debian) and in deConz it looks it is alive
(or using virt-manager and GUI, does not matter), HA can see Conbee, but cannot use it (deConz addon cannot connect to stick), and on host is KVM filling the syslog with
usb 5-1: usbfs: process 2016 (qemu-system-x86) did not claim interface 1 before use
Thanks for reply and your config example. My Conbee II is also on /dev/ttyACM0 on my host, so I have copied and pasted this into KVM XML as is. Restart KVM guest. Unfortunately, I cannot see any serial device in HA (settings/system/hardware/all hardware, type “serial”).
Also in Terminal addon on HA if I write
the very important part was not to only restart KVM instance, but power off and then start it. I was only restarting it before and the usb-serial was not visible even it was present in KVM XML config. It must be properly shut down and then started and after that it was visible in HAOS. Maybe some glitch in KVM.
I ran into this problem and the solution provided doesn’t work for me. After adding the entry to xml and restarting OMV, there is still /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DEXXXXXXX-if00 in HA hardware section.
Does anyone have an idea what could be the cause? Hardware is x86.
Try changing the port from 4 to 5. It’s what made it work for my NUC. I don’t know the logic behind this so please fill me in, people.
This Conbee 2 mess was one of the more frustrating debugging sessions I’ve had…
Found out that the firmware flasher v4 doesn’t work (at least not on Ubuntu 22), but managed to flash using the flasher in deConz apt packages. Probably didn’t have to flash though, because this serial port forwarding trick is was what worked in the end. After trying a myriad of different ports.
Oh, and make sure to remove the USB Conbee device in kvm while using the serial port forward XML. Otherwise, I got no dice.
I’ve got it working, using the method above, however the deCONZ add-on recognizes my ConBee II as a regular ConBee. Do you have the same?
It’s working fine by the way…
the crucial point for me was to identifying the correct port for the source, thanks for the dmesg | grep tty command!
I also added the xml snippet by using virt-manager.
Thanks!