-
Notifications
You must be signed in to change notification settings - Fork 795
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
[BT] Device tracker presence detection #1548
Conversation
Add device tracker detection and automatic creation following HA discovery convention So as to trigger the away state add an offline status to the identified BLE trackers
Good catch, let me fix that |
@toomyem just for the compatibility records - would you mind sharing which Mi Band/Amazfit Watch model you have? Thanks |
No problem: "name": "Amazfit Bip S" |
Let me also add, that it would be nice if device's name was used for tracker name, instead of model_id. |
Having caught a few Amazfit Bip S broadcasts in my area, I get the feeling that they don't match the Mi Band/Amazfit Watch decoder, and give incomplete and possibly wrong decoded information - like always activity heart rate, even if there is no activity going on, and far too high, near dangerous heart rates, and no servicedata/steps at all. I think the Bip line can be differentiated from other Amazfit Watches/Bands, which adhere to the decoder, by their leading 570100 of the manufacturerdata, compared to 570102 of the compatible models. Would you be willing in helping to confirm this, and possibly creating a separate correct decoder for the Bip watches/bands? Ideally in The Theengs Decoder discussions |
Yes, I can take a look at this. I have also access to Amazfit GTS mini and Xiaomi Miband 5, so I can check them as well. |
That would be great, thanks a lot. I have already prepared a PR to restrict the current Mi Band/Amazfit decoder and think the Bip S and similar might need a separate decoder, as they seem to have a lot more information in their manufacturerdata, and possibly only use the manufacturerdata and no servicedata for their steps count as well. Mi Band 5 and 6 are apparently still fine with the current decoder scheme, and hopefully the latest 7 as well. |
Description:
Add device tracker detection and automatic creation following HA discovery convention So as to trigger the away state add an offline status to the identified BLE trackers
Checklist: