Get heart rate from Xiaomi Mi1S wristband via Gadgetbridge
The wristband apparently does not support the normal heartrate BLE method but the Gadgetbridge app can get the heartrate.
https://github.com/Freeyourgadget/Gadgetbridge/wiki/Activity-Analysis
The app does not yet have any protocol to share this data with other apps, perhaps a broadcast could be used? Or are there better methods?
I'm sorry it took us (Gadgetbridge) so long to get back to this topic. What's the preferred way for Runnerup to get the data? We do not have any export to other apps yet, so we're not restricted in our decisions yet.
can't we just re-implement the part of gadgetbridge that gets the data from the wristband ?
or have I misunderstood
/Jonas
On Tue, Feb 28, 2017 at 9:05 PM, Carsten Pfeiffer [email protected] wrote:
I'm sorry it took us so long to get back to this topic. What's the preferred way for Runnerup to get the data? We do not have any export to other apps yet, so we're not restricted in our decisions yet.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonasoreland/runnerup/issues/430#issuecomment-283146688, or mute the thread https://github.com/notifications/unsubscribe-auth/AABYS3CxKUkiwGJOOVFMMbws9d5MYPdlks5rhH3wgaJpZM4JeQjS .
Sure, you can do that. You can also reimplement the code for all the Pebbles, the Mi Band 2 and all supported HPlus devices (e.g. Zeband).
Or we can send the data to you, as CSV or whatever.
@cpfeiffer Gadgetbridge could be a separate "sensor". I have no preferred format. One way is just to add a TCP/IP socket, reading raw values.
I am implementing a contentprovider in Gadgetbridge: https://github.com/Freeyourgadget/Gadgetbridge/pull/1138
and a HR Device in runnerup: https://github.com/boun/runnerup/tree/contentprovider
to do exactly that. At the time of writing I am waiting for a reaction by the GB devs. The code works so far, however at some point the device stops sending measurements.
Here i need input from the GB devs if that is because
- I have misunderstood the api
- There is in error in my code
- There is a service thread in GB that stops the device from sending
- My Firmware is cursed

I'll keep you posted.
HI, Gadgetbridge now supports "share" an activity. Also have "3rd party realtime HR access" in settigs wich I enabled, but I don't know how this works