Do also refer to https://www.home-assistant.io/integrations/bluetooth/
Update 13-06-2023 - Lately I had problems in NodeRED, where the browser hung when I should edit "State" nodes; the Root cause of this was all the Bluetooth devices found (my BT reaches out on the street in front of out house) and stored in the known_devices.yaml file - aprox. 13236 BLE devices (a problably more)... Deleting the file, and NodeRED was responsive again. So I have to look into that, see "track_new_devices: true" below
First, we need to add
-v /run/dbus:/run/dbus:ro
To the Docker parameters (also updated in Home Assistant on Docker)
After that, I installed the "Bluetooth" Integrations, but it insisted that AppAmours was blocking and, and "stop" and "disable" of AppAmours was not sufficient. So I removed it completely.
Now, the configure button on the Bluetooth Integration gives me:
And on the underlying Ubuntu OS:
➜ ~ bluetoothctl [NEW] Controller 74:C6:3B:7C:1E:40 sparrow.mos-eisley.dk [default] Agent registered [bluetooth]#
So that should be sufficient !
After that, adding to Device Tracking:
- platform: bluetooth_le_tracker track_new_devices: true
Restart Home Assistant.
And BT discovery starts showing up in the known_devices file:
hue_aurelle_panel: name: Hue Aurelle Panel mac: BLE_DD:3A:AC:D6:6B:30 icon: picture: track: true 65_31_d3_d3_4d_79: name: 65-31-D3-D3-4D-79 mac: BLE_65:31:D3:D3:4D:79 icon: picture: track: true 4c_c6_5a_9e_8a_30: name: 4C-C6-5A-9E-8A-30 mac: BLE_4C:C6:5A:9E:8A:30 icon: picture: track: true
These will show up i Home Assistant: