theironrobin / siglo

GTK app to sync InfiniTime watch with PinePhone
Mozilla Public License 2.0
153 stars 23 forks source link

Export health data (steps, heart rate, ...) #100

Open darkdragon-001 opened 2 years ago

darkdragon-001 commented 2 years ago

It would be great if Siglo could export health data in a format understood by other Linux applications like Gnome Health.

References:

Siroj42 commented 2 years ago

I've laid out my ideas for an API for watch companion apps in my issue on Gnome Health's Gitlab page. I'd appreciate working together on this because I'm currently trying to achieve the same thing in wasp-companion.

MaxGitHubAccount commented 2 years ago

Another way could be implementing the FHIR[1] protocol.

This way nothing new is invented and one could synchronize steps and heart rate to self hosted, open source services like Kailona or even to your doctor if he supports that format.

[1] https://en.wikipedia.org/wiki/Fast_Healthcare_Interoperability_Resources

Siroj42 commented 2 years ago

I have been working on this again recently. There's a new dbus-api branch on Wasp Companion's Github with a basic DBus interface. I've also got some basic documentation on the detection method as well as an example python application that plays the part of the health app for testing purposes. I would appreciate your feedback on this.