Keep sleepy bthome devices available in HA
Ernst79 opened this issue · comments
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.
home-assistant/core#87654
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.
Added preparations for this in #67. Working on the documentation and HA integration right now
Sleepy devices are now possible in BTHome V2. docs are updated