I have this adapter, and I have the custom bluetooth integration installed. It works for a while but then Bluetooth dies. Wondering if this patch is the issue.
I’m now getting this error “Platform error device_tracker.bluetooth_tracker - Requirements for bluetooth_tracker not found: [‘PyBluez==0.22’].” since 2023.9.0 update.
BTW, @Neil_Brownlee , could you give more information about MM? What’s that and how to use with HA?
I’m writing a bluetooth-based custom component for a device that is not BLE-compatible. The new bluetooth integration, including the advice on building a bluetooth integration, only supports BLE. Ran into a whole lot of pain (including trying to install pybluez on HAOS – impossible), but this is what worked for me:
First, make sure that that the new bluetooth integration is disabled – it takes full control over the bluetooth device and makes it scan for only BLE-compatible devices.
Next, SSH in and use bluetoothctl to find and pair with the device you want to communicate with.
Hello everyone,
This bug depends only on software or depends also from hardware. I use hass os: if I buy an external USB bluetooth antenna, can I solve the problem?
My workaround, described in #29, still works for me.
The developers did not released the code with the python3.11 fix yet. But the changes are already committed…
You just have to build it. It works.
I can detect my bt devices as before.
This is not a bug.
It is simply a feature that has been deprecated.
HASS used PyBluez, which is the module that allows Python code to access the host machine’s Bluetooth resources.
PyBluez development seems to be abandoned (stale code for over a year), and does not support the latest Python version that HASS uses.
Until PyBluez is updated or someone contributes an updated module to HASS development, it will not work.
Perhaps you should look into BLE as an alternative for device tracking, if that is what you are attempting to do.