Skip to content

[Feature]: Write Exercise to Health Connect & Health kit #1750

Description

@collie-code

What problem does this solve?

I am logging multiple walking pad walks a day (Walking (Indoor). I would love to be able to just log everything in Sparky and have it sync to another service via Health Connect since I need the distance in another application. This is currently not possible, since the app only writes Nutrition and Hydration to Health Connect. I would love to have all my data in my own Sparky instead of with other services.

Describe the feature you'd like

An implementation that writes Exercise entries created in the SparkyFitness Android app to Health Connect, similarly to how it already writes Nutrition and Hydration. This would need to take into account the type of exercise. For my use case, I'd love to be able to log Walking (Indoor) with Duration, Distance, Calories, or at least Exercise with Duration, Distance. This would also apply to other Exercise types.

My wishful use case:

  • walk multiple times a day on a walking pad
  • immediately log duration and distance to SparkyFitness Android App as a custom exercise type ("Walking into Mordor") after each walk, since the walking pad does not have memory and deletes stuff quickly
  • Sparky writes the Exercise to Health Connect
  • a different application can read the exercise entry and add Distance to it's counter

Which area does this relate to?

Mobile app (Android)

How important is this to you?

Would significantly improve my workflow

Alternatives you've considered

I could log everything in Google Fit (which is being phased out) and have it be read by Sparky through Health Connect, but that's not my own server. I also want to have my own exercise type, which Sparky already has. Since I don't do GPS walks I'm not using Garmin to track this and need to create the entries manually in Sparky/other, not self hosted app.

Additional context

This issue is related to #1395 and #887, but since only the Nutrition and Hydration has been implemented, I created this one after asking in Discord.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions