jimmykane / quantified-self

Compare files from various activity trackers
GNU Affero General Public License v3.0
191 stars 25 forks source link

"Alpine Skiing" and "Ski Touring" imported as "Telemark Skiing" from SuuntoApp #240

Open moscicki opened 3 years ago

moscicki commented 3 years ago

I imported all my activities from SuuntoApp and all "Alpine Skiing" and "Ski Touring" moves are imported as "Telemark Skiing".

This is equally for all the moves which had been previously migrated from Movecount to SuuntoApp as well as newly recorded moves directly to SuuntoApp.

I will provide the link to the example move in a pm on FB.

moscicki commented 3 years ago

I also found that two moves "Alpine Skiing" ended up in QS as "Trail Running". Perhaps a more generalized problem around recognition of skiing activities?

NainDeathlegs commented 3 years ago

Suunto seems to use off standard values for exporting to .fit. Their "Alpine Skiing" correctly uses sport code 13 but with sub type 9 (SUB_SPORT_DOWNHILL) which is only meant for cycling instead of 0 whichis generic. That might cause a problem here (different repository): https://github.com/sports-alliance/sports-lib/blob/e9069d9404cad51de1d31f782ee7d3ec68ff8988/src/activities/activity.types.ts#L433 Alpine skiing downhill is not Telemark skiing (but neither is cross country skiing downhill - which imho isn't a thing altogether)

For "Ski Touring" they use the sub type 37 which is backcountry and seems correct on the Suunto side.

This is a general problem as only about half of the sports activities defined by Suunto have a 1:1 equivalent in the current (by Garmin defined) standard (https://developer.garmin.com/connect-iq/api-docs/Toybox/ActivityRecording.html). And in defence of Suunto: they had quite a few of them before they were added to the so called standard.

The rest of the activities supported by Suunto don't have an equivalent and are with a few exceptions mapped into General, Other or Training categories.