Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
67 stars 12 forks source link

Keep sleepy bthome devices available in HA #55

Closed Ernst79 closed 1 year ago

Ernst79 commented 1 year ago

Describe the bug Some sensors do not broadcast on a regular basis. We should apply a similar fix as we did for the Xiaomi sensors. https://github.com/home-assistant/core/pull/87654

pvvx commented 1 year ago

In new versions of thermometers, it is supposed to introduce "periodic advertising" from Bluetooth 5.0. This is especially true when operating in the "Le Long Range" mode due to the increased consumption during transmission. Transmission of data from sensors and battery will occur when they change. "Periodical advertising" also implies a partial lack of transmission of headlines to the main advertising channels. Let's see how "Bluez" and Linux handle it :) Implementation of AoA and AoD from Bluetooth 5.2 is also possible.

Ernst79 commented 1 year ago

Added preparations for this in #67. Working on the documentation and HA integration right now

Ernst79 commented 1 year ago

Sleepy devices are now possible in BTHome V2. docs are updated