Couldn't discover bluetooth devices

Hi everyone!

I’m getting this error on and off with the Bluetooth tracker:

Logger: homeassistant.components.bluetooth_tracker.device_tracker
Source: components/bluetooth_tracker/device_tracker.py:73
Integration: bluetooth_tracker (documentation, issues)
First occurred: 10:42:08 AM (1 occurrences)
Last logged: 10:42:08 AM

Couldn't discover bluetooth devices: error communicating with local bluetooth adapter

I got a few devices tracked and it used to work with a Pi3B, now I moved to a mini computer and bought an external BT dongle, running the latest version of HAOS (7.4). Could it be that the dongle isn’t fully compatible?

All the posts I see about this error are from 2020. My dongle is meant to be BT 5.1.

Anything else I could have a look at? I still have time to return the dongle if that’s the issue.

Thanks!

Similar here. Latest HAOS 7.4 too. UB400 dongle on Home Assistant Blue

I forgot to answer to my post but I found out that connecting the dongle further from other BT sources (like laptop or mouse) improved a bit the quality.

I bought another one and it was even worse, so I ended up returning the new one

Thanks for updating, but in my case there are no other bluetooth sources/devices…

Any progress?

Not really, I keep getting the same error every now and then, but having a dongle with antenna makes it less frequent

I’m getting this error since long time but I don’t get from what is caused. Bluetooth adapter is working fine as I’m using it with other integration.
image

Could it be related to the BT tracker only?

I reply to myself. This is an interesting discussion: https://github.com/home-assistant/core/issues/67433

But basically the BT tracker integration has been broken since 2022.7 due to Python upgrade: 2022.7: A stunning performance - Home Assistant

1 Like

I ended up using Bluetooth presence monitor long time ago. Still not perfect, had to create an automation to restart it overnight, but so far so good

This one? GitHub - Limych/addon-presence-monitor: Hassio Add-on. Passive Bluetooth presence detection of beacons, cell phones, and other Bluetooth devices.
I’m currently tracking presence through the Unifi integration, Not perfect too, but somehow satisfied.

Yes, but I’m using the edge version, don’t remember why I ended up with edge, probably something not working properly

What’s the Edge version ?

After you follow these instructions it’ll show 2 addons, the regular one and the edge

Thanks ! I’ll give it a try

So just installed it and I noticed after a while it was consuming a lot of CPU… As soon as I turn it off, it went from 80% more to like 10% CPU usage… Could it be because I have other add-ons using the BT interface?

I’d try disabling other addons and restarting the host so everything is clean.

I’ve checked and I have peaks of 25% usage but the majority of the time is quite low

Is this project maintained? I attemted to install and setup the plugin made by Limych and I cannot connect to the local MQTT server. I attemted to use the LAN IP and the 127.0.0.1 using a user/pw that works great with a Room-Assistance monitor.

Thnaks,