proper Logbook to Garmin Connect integration

Please add feature and function requests for PM3 firmware, DLL/API's, and documentation here.

proper Logbook to Garmin Connect integration

Postby oleksiy.yergiyev » January 13th, 2018, 3:51 pm

The relatively new capability to download workouts as .fit (or tcx) files provided by the Logbook won't work with Garmin Connect yet, I have elaborated on this in this thread viewtopic.php?f=7&t=165887, probably placing it in a wrong section.

It would be great if the created .fit files have a correct structure, so that they could be imported by Garmin Connect, and not only to the likes of Strava and Training Peaks. I managed to get some help on Garmin forum, and had my recent workout processed by this tool http://fitfilerepairtool.info/, both the original and fixed .fit files could be downloaded here if needed for reference https://drive.google.com/drive/folders/ ... sp=sharing. I don't know what exactly was changed by the app, but the repaired file is accepted by Garmin Connect now, and shows more data than I've previously seen in workouts transferred to GC from Strava online (currently this feature is now working for me). Thanks
oleksiy.yergiyev
Paddler
 
Posts: 12
Joined: April 26th, 2016, 2:01 pm

Re: proper Logbook to Garmin Connect integration

Postby oleksiy.yergiyev » January 19th, 2018, 7:23 am

By way of an update, in case someone needs this functionality:

(1) C2 Logbook has started producing FIT files that could be imported in Garmin Connect (or, alternatively, GC has corrected something in their import algorithm). The imported workouts contain all data and some additional unnecessary fields such as temperature (set at 0 Celsius), elevation (constant at minus 500 m), and GPS (ground zero location). These could be removed using online fitfiletools field stripper. There's no split section / intervals data in the imports. Both FIT files created by ErgData IOS and Android are imported this way now, historical workouts as well.

(2) I seem to have located the issue with TCX files output by the Logbook. The exported files include randomly introduced "dummy" lap data strings (or at least I think they are redundant - I'm not a programmer) that look like this:
<Lap StartTime="2018-01-17T18:51:00Z ">
<TotalTimeSeconds>0</TotalTimeSeconds>
<DistanceMeters>2</DistanceMeters>
<MaximumSpeed>0</MaximumSpeed>
<Calories></Calories>
<Intensity>Resting</Intensity>
<TriggerMethod>Manual</TriggerMethod>
<Track>
</Track>
</Lap>


Deleting these blocks in a text editor repairs the file, it's imported by Garmin Connect in full, shows all info you would expect except the number of strokes, and even provides complete details on the intervals in the split section. Hope C2 correct their export mechanics shortly, I don't think it's difficult to do.
oleksiy.yergiyev
Paddler
 
Posts: 12
Joined: April 26th, 2016, 2:01 pm


Return to Feature/Function Requests

Who is online

Users browsing this forum: fipdjtxb and 1 guest