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

Get heart rate from Xiaomi Mi1S wristband via Gadgetbridge #430

Open
ghost opened this issue Aug 6, 2016 · 6 comments
Open

Get heart rate from Xiaomi Mi1S wristband via Gadgetbridge #430

ghost opened this issue Aug 6, 2016 · 6 comments
Milestone

Comments

@ghost
Copy link

ghost commented Aug 6, 2016

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?

@cpfeiffer
Copy link

cpfeiffer commented Feb 28, 2017

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.

@jonasoreland
Copy link
Owner

jonasoreland commented Mar 4, 2017 via email

@cpfeiffer
Copy link

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.

@gerhardol gerhardol added this to the no_target milestone Aug 9, 2017
@gerhardol
Copy link
Collaborator

@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.

@boun
Copy link

boun commented Jul 8, 2018

I am implementing a contentprovider in Gadgetbridge: Freeyourgadget/Gadgetbridge#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

screenshot_20180705-162843

I'll keep you posted.

@racuna
Copy link

racuna commented Mar 31, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants