You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently created a custom integration for a Bluetooth scale that seems to communicate in a way that's different than other currently supported bluetooth devices. The way it works is when the user steps on the scale an advertisement (which is always exactly the same) is repeatedly sent as a signal that the scale woke up and the client should register to receive measurement notifications from the scale. The issue is that this sort of scenario doesn't seem to have been considered as there seems to be an implicit assumption that repeated identical advertisements are of no interest and they're always filtered out in scanner_adv_received (which iirc is inherited from BluetoothManager in habluetooth, but my undertstanding is that while separate that library is also managed by you guys at Home Assistant).
I realize that's probably not a very common scenario as it seems to not have come up so far, but might be worth considering adding that option (maybe some flag at the domain/device level for scanner_adv_received to avoid filtering out the advertisement when the flag is enabled?)
My integration doesn't actually need it as I've already worked around it by managing bluetooth separately (which also means for example that bluetooth proxy functionality also has to be supported separately), but I think it's worth considering at least for future integration developers who might encounter the same issue.
What version of Home Assistant Core has the issue?
core-2025.3.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered:
The problem
I've recently created a custom integration for a Bluetooth scale that seems to communicate in a way that's different than other currently supported bluetooth devices. The way it works is when the user steps on the scale an advertisement (which is always exactly the same) is repeatedly sent as a signal that the scale woke up and the client should register to receive measurement notifications from the scale. The issue is that this sort of scenario doesn't seem to have been considered as there seems to be an implicit assumption that repeated identical advertisements are of no interest and they're always filtered out in scanner_adv_received (which iirc is inherited from BluetoothManager in habluetooth, but my undertstanding is that while separate that library is also managed by you guys at Home Assistant).
I realize that's probably not a very common scenario as it seems to not have come up so far, but might be worth considering adding that option (maybe some flag at the domain/device level for scanner_adv_received to avoid filtering out the advertisement when the flag is enabled?)
My integration doesn't actually need it as I've already worked around it by managing bluetooth separately (which also means for example that bluetooth proxy functionality also has to be supported separately), but I think it's worth considering at least for future integration developers who might encounter the same issue.
What version of Home Assistant Core has the issue?
core-2025.3.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: