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

Calories are zero on all imported activities. #3

Open
Roadieee opened this issue Mar 19, 2021 · 2 comments
Open

Calories are zero on all imported activities. #3

Roadieee opened this issue Mar 19, 2021 · 2 comments

Comments

@Roadieee
Copy link

Have you thought about changing from Activity to Workout in the Garmin API? The iFit tcx exports contain calories burnt. As it stands today (using Activity), calories always show up as 0 on imported activities in Garmin Connect. Using Workout lets you set calories under duration_calories.

https://developer.garmin.com/fit/file-types/workout/

I really appreciate your work. This project is exactly what I was looking for when trying to integrate the two!

@flackdl
Copy link
Owner

flackdl commented Mar 19, 2021

That does makes sense, but Garmin Connect doesn't officially allow 3rd party tools (I tried requesting) to access their system, so I'm relying on another library (https://github.com/La0/garmin-uploader) which sort of fakes the process of a user uploading data to their website, which appears to only support Activities (vs Workout). If you know of another way please send it my way. Garmin isn't open to this type of thing unfortunately.

@sanicki
Copy link

sanicki commented Jan 21, 2023

An indirect solution would be to sync iFit to Strava and export activities from Strava.

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

No branches or pull requests

3 participants