core: Bluetooth Integration Fails to Setup/Start Bluetooth Adapter

The problem

This issue was previously reported and marked as closed for 2022.8, but still exists in 2022.9. The Bluetooth adapter fails to initialize with message:

Retrying setup: hci0 (58:11:22:53:1A:80): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress

What version of Home Assistant Core has the issue?

2022.9.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bluetooth/

Diagnostics information

The option to download diagnostic information did not appear until after running bluetoothctl power off, power on, and scan on in the command line config_entry-bluetooth-f77680e969acca3b9ab7d010a0f19ff4.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

From the log, with the first two lines repeating ad infinitum

2022-09-07 19:48:28.397 WARNING (SyncWorker_5) [bluetooth_auto_recovery.recover] hci0 (58:11:22:53:1A:80) have no BT LE capabilities and will be ignored.
2022-09-07 19:48:28.401 ERROR (MainThread) [bluetooth_auto_recovery.recover] hci0 seems not to exist (anymore), check BT interface mac address in your settings; Available adapters: {}
2022-09-07 19:48:28.414 WARNING (MainThread) [homeassistant.config_entries] Config entry '58:11:22:53:1A:80' for bluetooth integration not ready yet: hci0 (58:11:22:53:1A:80): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background


### Additional information

System is Home Assistant OS running on VMWare in Windows 11.
Using an Asus BT-500 USB Bluetooth adapter, which is shared to the VM via VMWare by default and is on the list of known working bluetooth adapters for Home Assistant.
No additional bluetooth settings in the VMWare UI.
`Allow the computer to turn off this device to save power` has been disabled in Windows device manager settings, but did not affect this issue.

The bluetooth device `hci0` does not appear in the home assistant all hardware list, but deleting the bluetooth configuration will cause it to reappear as a discovered integration.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (1 by maintainers)

Most upvoted comments

I think I figured it out! This seems to be an issue with VMWare’s Bluetooth settings. By disabling Share Bluetooth devices with the virtual machine, under USB Controller in Virtual Machine Settings, I was able to attach the Bluetooth device to the VM like my Zwave dongle, and it just worked! Deleted and reconfigured the Bluetooth integration, and the August/Yale Bluetooth lock was immediately found! image