Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Does "Passive BLE Monitor" support multiple objects with the same ID (BTHome format)? #1407

Open
pvvx opened this issue Nov 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pvvx
Copy link

pvvx commented Nov 23, 2024

What happened?

Multiple objects with the same ID are not tracked (BTHome format).
Only the last "objects" is displayed.

Sample:

Displayed sensors in "Passive BLE Monitor":
image
No second "opening".

Displayed sensors in "BTHome" integration:
image

Sensor type

DIY

Relevant log output

No response

@pvvx pvvx added the bug Something isn't working label Nov 23, 2024
@pvvx
Copy link
Author

pvvx commented Nov 23, 2024

image


image

(The configuration shown here and similar ones have long been present in alternative firmware for thermometers.)

And there is a difference in the names of sensors with the same ID.
Example: "Power" in BTHome , and "Switch" in "Passive BLE Monitor"...

Switching to BTHome integration is difficult, as there is no support for all types of BLE devices. Sharing BT adapter does not work on different configurations.

Another problem occurs when using two BT adapters. This is due to the fact that one adapter receives in the "LE Long Range" and "Legacy" modes (PHY 1M + PHY Coded - BT5.0+), and the second only "Legacy" (PHY 1M - BT4.0).
When the BT adapter operates in two modes, it switches sequentially to receive one of the PHY types. During this time, events may arrive and gaps may occur.
For these reasons, it is advisable to turn on the second adapter only for "LE Long Range" reception. But then nearby sensors working with another adapter and "Passive BLE Monitor" integration are deprived of sensors.
"Passive BLE Monitor" does not support BT adapter operation in BT5.0+ modes. Resets in PHY 1M mode (when accessing the "Bleak" API. "Bleak" API does not support BT adapters with Bluetooth version higher than 4.2.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants