Yep, using a Raspberry Pi 3 and the built-in Bluetooth chip.
EDIT: the documentation for the Bluetooth LE tracker seems to have been updated, so based on that I just ran sudo setcap cap_net_raw,cap_net_admin+eip /srv/hass/hass_venv/bin/python3. After that, I added the tracker to my HASS config and restarted HASS. Unfortunately, the performance issues are back sighs
For me it seems like the performance are related to how much HA should handle.
I have a server running HA which has alot of entities and it has a performance issue when BLE tracker is added.
While my RPI2 with USB BLE that I’m using for testing purpose and it has no problem with performance when BLE tracker is added.
Yeah, same result. I will try with another bluetooth dongle instead of using the RPI3 built in adapter. Has anyone got this working with the builtin bluetooth adapter on the RPI3?
It works for me, it just impacts the performance of Home Assistant quite a bit, to the point that I don’t use it. I don’t know if that’s a HASS issue or an RPi issue…
the scan seems to take ages to run - I wonder if this is the cause of the performance issues with hass that people are seeing when turning on the BLE Tracking?
(I am seeing several devices but it doesn’t finish in a hurry)
My system is a Rp2 model B with a USB bluetooth 4 adaptor.
I ran a lescan last night and found around 15-20 items in range of my pi… Interestingly none of them matched the supposed bluetooth mac of the 2 iphones or 2 ipads in my house …
Is there an easy way to link up the BLE entries in the known_devices.yaml file with my actual home devices?
I second this. I do not see a benefit from using pygattlib, if the installation requires a compilation of outdated bluez parts. Bluez is usually shipped as a binary packag with the operating system.
For me it was ibboost-thread-dev which was missing. Now gattlib seems installed.
But I also have this performance issue… My Rp2 is very very slow… Maybe because bluetooth is scanning all the time? Scanning every x seconds could enhance performance ?
I’ve tried BLE tracker yesterday with version 0.39 and I confirm performance issues on RPI3.
It seem to have gotten to the point where my MQTT temperature readings stopped arriving.
Turned off BLE for now, I will play around with it some more later.