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

strava-garmin-sync? #12

Open
sanicki opened this issue Jan 20, 2023 · 5 comments
Open

strava-garmin-sync? #12

sanicki opened this issue Jan 20, 2023 · 5 comments

Comments

@sanicki
Copy link

sanicki commented Jan 20, 2023

Would it be possible to modify ifit-garmin-sync to export Strava activity TCX files and import them to Garmin?

Workouts exported directly from iFit by ifit-garmin-sync import to Garmin without details like Power, Pace, and Calories burned.

Workouts synced from iFit to Strava then exported from Strava and imported to Garmin include that information:

Screenshot 2023-01-20 163937

Note that the Strava TCX file must have the leading spaces removed before being able to be imported to Garmin:

image

image

@flackdl
Copy link
Owner

flackdl commented Jan 21, 2023 via email

@sanicki
Copy link
Author

sanicki commented Jan 21, 2023

Understood. Ok if I keep adding stuff in case someone becomes interested in forking?

@sanicki
Copy link
Author

sanicki commented Jan 21, 2023

Samples (rm .txt):
ifit_workout.tcx.txt
strava_activity_wo_spaces.tcx.txt

iFit->Garmin:

ifit

iFit->Strava->Garmin:

strava

@sanicki
Copy link
Author

sanicki commented Jan 21, 2023

Not sure if something like this might be what is needed in order to crawl the Strava TCX files.

The following iFit references appear in the Strava TCX, so it might be possible to filter Strava Activities to only sync iFit workouts to Garmin:
<Name>IFIT</Name>
<Name>iFit.com</Name>

This one-liner should remove the leading space from the the Strava TCX:
sed "s/^[ \t]*//" -i youfile

@flackdl
Copy link
Owner

flackdl commented Jan 22, 2023 via email

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

2 participants