-
Notifications
You must be signed in to change notification settings - Fork 43
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
Mi Band/Amazfit restriction #319
Conversation
b90eb3c
to
7baabe7
Compare
Mi Band/Amazfit decoder restriction to not catch wrongly decoded devices like the Amazfit Bip S and similar.
7baabe7
to
780f7b0
Compare
Unfortunately, I wasn't able to decode any sensible data in
So maybe, for now, just keep reading the 'steps' measurement, and omit the 'bpm' part. |
Thanks for the info @toomyem, so are the steps still broadcast in the servicedata with the same encoding for the Bip S? I haven't caught any Bip S servicedata braoadcasts here so far. It also requires active scanning for the service data to be received.
With this manufacturerdata, was this taken when an activity was actually started on the Bip S, and with activity heart rate sharing turned on for the Bip S in the Zepp Life App? |
Similar data is being sent regardless if watch is in idle or any activity is started. I also have a similar option in Zepp application to enable data sharing in real time, but I cannot turn it on. It apparently requires some third party app to be registered first. |
So you do not see any steps with your Amazfit Bip S at all, i.e. no servicedata being received if you set pubadvdata to true? If you do, would you mind sharing the servicedata and its servicedatauuid? |
Service data is being sent and it contains steps measurement. The missing part is heart rate. "servicedata": "ef050000", -> 0x05ef -> 1519 steps (and it corresponds to actual reading on the watch). What is interesting, I can connect to the device via BLE Tester app on my phone and then get heartbeats readings when some activity on the watch is started, and it also matches the actual readings on the watch: EDIT: It looks like ongoing activity is not required. That data is sent even if the watch is in idle, but less frequently. |
As we're not able to connect to the Bip S to get the activity heart rate, and only can get it though the advertising manufacturerdata for the other models, I have changed the decoder to still recognised the Bip S as being part of the
decoder , but only retrieve its steps counts, and restricted the activity heart rate retrieval from the manufacturerdata only for compatible 570102 models. Thanks for your testing and input on this! |
Mi Band/Amazfit decoder restriction to not catch wrongly decoded devices like the Amazfit Bip S and similar.
Checklist: