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

Missing stroke number Garmin #69

Open
TbsJah opened this issue Dec 8, 2017 · 12 comments
Open

Missing stroke number Garmin #69

TbsJah opened this issue Dec 8, 2017 · 12 comments

Comments

@TbsJah
Copy link

TbsJah commented Dec 8, 2017

Garmin does not shows the stroke number
Maybe it is a tcx problem

@svenmeier
Copy link
Owner

Coxswain exports strokes as steps in a TCX extension:

<Extensions>
<LX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2">
<Steps>898</Steps>
</LX>
</Extensions>

I don't know why Garmin doesn't accept these :(

@Joe4ro
Copy link

Joe4ro commented Dec 11, 2017

On my Pixel XL running Android 8.1 it only shows the count down timer. All other data stays at all zeros. I un-installed and re installed the app. Same issue. This started after the update.

@svenmeier
Copy link
Owner

svenmeier commented Dec 11, 2017

@Joe4ro "All other data stays at all zeros"

Are you referring to the Garmin tcx export or a general problem with the workout display? If the latter, try resetting the bindings in the preferences "Reset workout bindings to defaults".

@Joe4ro
Copy link

Joe4ro commented Dec 11, 2017 via email

@TbsJah
Copy link
Author

TbsJah commented Dec 11, 2017

4.9 working fine for me (s8)
Please delete data and cache. That was the solution for me

@svenmeier
Copy link
Owner

@Joe4ro please open a new ticket if the problem persists, thanks.

@j-rowe
Copy link

j-rowe commented Oct 24, 2018

Hoping to resurrect this issue. Having the .tcx files import to garmin correctly would be the final touch to this great app. Currently when I upload they get classified as a ride with some random straightline GPS coordinates and the strokes saved as steps. If the files could either be generated correctly or to use the garmin api (wishful thinking probably!) that would be wonderful. Sorry, I'm not a coder or would try and help more...

@svenmeier
Copy link
Owner

svenmeier commented Oct 25, 2018

Garmin keeps steps in their .tcx files in the exact same format:

http://developer.garmin.com/downloads/connect-api/sample_file.tcx

And it seems we're not the only ones having that problem:

https://forums.garmin.com/forum/into-sports/garmin-connect/troubleshooting/1344771-step-details

@j-rowe
Copy link

j-rowe commented Nov 16, 2018

Thanks for replying but if we are uploading can the file from coxswain not tell Garmin that this is an indoor row rather than a ride? Then surely it will apply the fields correctly?

@svenmeier
Copy link
Owner

Sorry, but I don't have time to sort out this problem. It doesn't seem like Garmin is really interested in interoperability with other apps.

What you can do: Take your .tcx file to Garmin and ask them what's wrong with it.
Perhaps this issue has been solved by someone else already. I assume you are already registered, so you could ask on that forum thread I linked above.

@foxytop
Copy link

foxytop commented Jul 13, 2020

I believe this is an issue because garmin does not view the activity as a row. The activity type needs to be updated to "indoor rowing". When I import the tcx into garmin the activity type automatically shows as "other".

@inonoob
Copy link
Collaborator

inonoob commented Nov 5, 2020

To recap:

Problem: Garmin connect is not showing strokes for indoor rowing. Despite the fact that the TCX file developed by Garmin and used in Coxswain has been structures as required by Garmin it is still not working. link

Proposed solution: Implement the new Garmin format "FIT" file. Which is a binary format of an activity link
So Coxswain should take the data from the gym database, encode them according to the FIT file specs and export them in order to have the best Garmin connect integration.
The SDK and all the information can be download from here: link

Background: in the early days of smartwatch and date gathering for sport activities, Garmin developed the program Garmin Training Center link and along with the program the exchange file Training Center XML (TCX) has been developed. This file format has only 3 categories for sport : ( Running, Bike and Others).
Years passed by and then the Cloud revolution begun everything had to be in the cloud and smartwatches became more and more a thing. So Cloud + IoT = new era.
Garmin decide to introduce a new format which is called the FIT format. Which has a lot more information and can be used for a lot of fitness IoT devices. Rowing machine, Smartscales and the list goes on.
This new file is a binary file which has all the information needed. An example is each sport has an dedicated number. But also a lot of other things can be stored in that file. The Waterrower for example has the manufacture id 118 so it exist but not yet used.
Garmin connect is complete centered and focused on the FIT file system. The TCX format is a legacy format which is still used as it is widely adopted for a lot of fitness tracking pages, apps and fitness machines.
I should mention that the FIT format is proprietary to Garmin.

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

No branches or pull requests

6 participants