Repository navigation
Support boxing .fit files - #2873
Merged
robiningelbrecht merged 4 commits intoOct 20, 2026
Merged
Conversation
Garmin records boxing as FIT sport 47, which had no mapping, so these files were rejected with "Unsupported FIT sport 47 (sub sport 0)". Map it to Workout, the same fallback used for disc golf. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks for your contribution. I think I will add "boxing" as a separate sport type as well. It make sense to have a specific icon for these workouts? |
Contributor
Author
Yes please! That would be great |
Collaborator
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Author
Collaborator
|
Can you send me an example FIT file of yours so I can test this? |
Contributor
Author
boxing-hrm600.zip |
robiningelbrecht
added a commit
that referenced
this pull request
Oct 20, 2026
robiningelbrecht
added a commit
that referenced
this pull request
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What type of PR is this? (check all applicable)
Description
Garmin devices (e.g. the HRM 600) record boxing as FIT sport
47.FitSportTypehas no mapping for it, so importing a boxing activity fails with:Dreeve has no boxing sport type, so this PR maps sport 47 to
Workout. That's the same fallback disc golf uses. It also adds aboxingcase toFitSportTypeTest.Testing:
FitSportTypeTestandFitFileParserTestpass (135 tests)..fitfile recorded on an HRM 600 failed with the error above on v5.6.1. With this change it parses as a Workout.🤖 Generated with Claude Code