cpfair / tapiriik

tapiriik keeps your fitness in sync
https://tapiriik.com
Apache License 2.0
1.71k stars 292 forks source link

Strava 'Workout' type with GPS data is not synced with Dropbox and Endomondo #116

Open marguslt opened 9 years ago

marguslt commented 9 years ago

Hi, some background: logs from Suunto Ambit watches are sent directly to Suunto Movescount service, to get my activities accessible for Tapiriik, I use Strava as a middle man and have set Movescount to sync to Strava. It kind of works for runs and rides. For pretty much everything else I do, e.g. orienteering, Strava sets activity type to 'Workout'. Tapiriik in turn translates it to 'Gym', even if there's GPS data, which in turn will not sync with Dropbox and Endomondo.

Is it possible to change Strava 'Workouts' with GPS-data to 'Other' instead of 'Gym' ? Strava: image Tapiriik image

christofferholmstedt commented 8 years ago

Yea, experiencing this problem as well but with heart rate and not gps data (Syncing Strava to Dropbox, indoor workouts with heart rate).

@marguslt is this still a problem for you? Any workaround?

marguslt commented 8 years ago

@christofferholmstedt , I haven't noticed any change here, so I'm still manually updating those Workout types to Hikes in Strava (like once a week) and when they show up in Endomondo, I'm changing there again to orienteering or whatever the activity originally was in Movescount. Filenames in Dropbox are not updated, but in my case it's not really a problem.

Your case is actually quite different. For example - what would be the desired file type and content in Dropbox for indoor workouts?

christofferholmstedt commented 8 years ago

@marguslt thanks for the response.

I think the use cases are pretty much the same except that you want the GPS data and I want Time, Heart Rate, Cadence and Distance. For example a pure indoor treadmill run I'll upload to Strava manually and set to Run (Treadmill tag) and I get in Dropbox the following data for each trackpoint in the tcx file:

<Trackpoint>
            <Time>2015-10-06T05:46:42.000Z</Time>
            <DistanceMeters>1979.2</DistanceMeters>
            <HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
              <Value>138</Value>
            </HeartRateBpm>
            <Cadence>97</Cadence>
            <Extensions>
              <TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2">
                <Speed>2.8</Speed>
              </TPX>
            </Extensions>
          </Trackpoint>

If I instead do warm up on the treadmill and continue with the gym workout I want the same information but the type of activity is "Workout" in Strava, in Dropbox the only differences would be the name of the files. Of course a simple workaround for my use case is to (1) upload to Strava (2) set all activities to run (3) put a custom tag in the activity name. So all files in Dropbox would have the name "Running" as suffix but in the middle I would have my own tag "Run" or "Workout".