I used to have Home Assistant running on a Virtual Machine that had a bluetooth dongle passed through to the home assistant VM, and never had any issues.
However, I’ve since migrated this VM to a Home Assistant Yellow and using the same dongle it will just randomly lose access to it, and any devices that rely on bluetooth no longer work. The only way to get it to work is unplug the dongle and replug it in, or reboot. Sometimes it might last week before it fails again, sometimes I’m lucky if it lasts a day.
Does any know why this might be happening or how to fix or workaround.
I tried adding a cronjob to reboot everyday at 1am, but the reboot command doesn’t seem to work via a cron job.
I’m using a TP-Link UB500. I’ll give the extension cable a try but didn’t need that when it was on a VM server, just plugged straight in the USB port on the motherboard.