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

Export health data to Gnome Health #898

Open
1 task done
darkdragon-001 opened this issue Dec 30, 2021 · 5 comments
Open
1 task done

Export health data to Gnome Health #898

darkdragon-001 opened this issue Dec 30, 2021 · 5 comments

Comments

@darkdragon-001
Copy link

darkdragon-001 commented Dec 30, 2021

Verification

  • I searched for similar feature request and found none was relevant.

Pitch us your idea!

I would like to analyze the steps and heart rate on my PinePhone. The convergent app Gnome Health could be used for this.

Description

Gnome Health is a great and open application which is able to analyze health data in a privacy conscious way. It would be great if we can somehow get the health data from the PineTime into Gnome Health.

References

@trman
Copy link

trman commented Dec 30, 2021

hi ,
this issue should be put first and foremost on github/gitlab.. of Gnome Health itself :
they need to accept infinitme device and take on it's data that are shared by bluetooth.
(that the same tings that have been done for gadgetbridge buy an user of initime.

maybe you @darkdragon-001 could check where @JF002 could retrieve the needed info , first ?

@darkdragon-001
Copy link
Author

hi , this issue should be put first and foremost on github/gitlab.. of Gnome Health itself : they need to accept infinitme device and take on it's data that are shared by bluetooth. (that the same tings that have been done for gadgetbridge buy an user of initime.

I added issues there and linked it in the updated references section.

maybe you @darkdragon-001 could check where @JF002 could retrieve the needed info , first ?

How and where should I check what?

@JF002
Copy link
Collaborator

JF002 commented Jan 1, 2022

Hi and thanks for your suggestion, Gnome Health looks like a nice application!

For now, InfiniTime exposes the "real time" value of the heart rate sensor (when enabled) and of the step count. The documentation for the BLE API is available here.

We plan on adding features for fitness/health companion app (historical data, for example) but that's not available yet.

How and where should I check what?

I'm not sure what @trman would like us to check, but feel free to ask any question you like ;-)

@darkdragon-001
Copy link
Author

darkdragon-001 commented Jan 2, 2022

For now, InfiniTime exposes the "real time" value of the heart rate sensor (when enabled) and of the step count. The documentation for the BLE API is available here.

Is this a custom API or is there some sort of standard which many different smart watches follow (would make integration in the companion apps easier this way as libraries might exist or code could be copied from other watches e.g. in Gadgetbridge)?

Furthermore, I can't find the documentation for the step counter in your linked document.

We plan on adding features for fitness/health companion app (historical data, for example) but that's not available yet.

Looking forward to this!

@JF002
Copy link
Collaborator

JF002 commented Jan 2, 2022

The HR services implements the API defined in the BLE spec. The motion service is custom as there's no standardized service for these data.

The motion (which exposes the step counter) service is documented here.
And the HR one is here.

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

3 participants