Ive been experimenting with a custom add-on. A C# application running in an alpine docker container with the dotnet runtime installed. My application uses a library to communicate with the bluetooth device using d-bus. I’ve exposed dbus to my container as described in the add-on docs. This works but performance is slow. Visible devices take an age to enumerate. If I disable Home Assistant’s devices in the bluetooth integration, this seems to speed up. Is it possible there’s a conflict between HA and my app? Can bluetooth-accessing add-ons exist alongside HA’s bluetooth integration?
Also, is it possible to disable bluetooth devices at a OS level? I want to disable the internal radio so it doesn’t interfere with the external dongle. It still seems to be active after disabling in HA (hci0 and hci1 both still exist).
Thanks all