Are you running Home Assistant Operating System (HA OS, formerly HASSIO) in a VM in VirtualBox? Or are you running a different Linux distribution and other type of Home Assistant installation?
Not sure if needed when running the USB port in pass-through mode to a VM in VirtualBox under Windows 10 but normally when wanting to access the adapter direct under Windows 10 you would need to install drivers:
Another reason for using a USB extension cable is that the USB-plug design of ITead’s Sonoff Zigbee 3.0 USB Dongle Plus hardware adapter is a little short which makes it harder and sometimes impossible to plug it into some USB ports if the computer enclosure/chassis/casing is to thick around the USB-port as that will physically prevent the USB dongle from actually making a proper connection inside the USB port even if it looks like it is plugged in all the way that is possible.
So it’s really hard for me to tell you guys how I solved it, I restarted everything, then I still had the same problem, so I restarted everything again, and again, a few times more, then when I lunched the VM
I heard the sound of the USB device being disconnected and then it appears in HA.
So it is working now, No idea what solved it. But apparently, I am an IT specialist now.
I’m running a VM in VirtualBox, on Debian Linux 11. HA is up and running fine but i can’t get the Sonoff zigbee USB to show up in the USB section of the VM?
Any ideas?
Do i need to find and install Linux drivers first?
Using the Home Assistant Operating System will make updatin releases much easier and will make it act more like an appliance similkar to a commercial smart home hub.
It is an option for you though - you run your PC as the media server, and also run VirtualBox already. So your could easily run HAOS as your VM guest, directly under your VirtualBox. This is what Hedda meant to convey.
This likely removes overhead to the full Debian, and most likely a lot of time down the road, just to keep your Debian + HA VM everything together.
(And with HAOS as the VM guest, you would not need any extension package.)
Exactly, I indeed meant that you should try to run “Home Assistant Operating System” in a VM as guest OS directly under your VirtualBox, there is even a pre-made image for it → https://www.home-assistant.io/installation/linux
In the future, the method that always works for me is to add the USB stick in virtualbox. Then remove the stick and shut down the virtual machine. While it is off, plug the stick back in. Then start the VM.
I run my HA on a NUC with proxmox, very strange the Dongle is not seen. I did a reflash on a different windows macvhine, and the flashing was success, the dongle exist. But when I insert it in the NUC USB it is not seen, no matter what I do (the USB port works well, if I put a Conbee is immediately seen, I remove the Conbee, put the SOnoff … puff nada, not seen at all)
VM on Windows 10:
Solved it by deleting the windows sonoff com port driver. After turning it off and on again virtualbox got the hardware in windows and created a virtualbox usb-device.
Had a similar problem, after migrating from HAOS to a VM using VirtualBox, HA was not listing the USB devices and could not bridge the Sonoff Zigbee 3.0 stick to the VM. It was just a matter of reading the error that was showing on the HA VM, my linux user was not added to the vboxusers, just followed this link and got it working!