Di2 Gear Selection Graph

I see that “export original” from Strava includes the Di2 data, however, I’m not sure if they are providing that data via their api download. If so, could it be added as a graph on the workout page? I do many of my workouts in non-ERG mode on the trainer or outside and might find some utility in knowing what gear ratio I was using during a previous workout and if I had to shift during an interval.

I realize that rides uploaded from Zwift and TrainerRoad to Strava won’t include that data as they have no functionality to connect to a D-fly sensor; it seems that only rides from a D-fly compatible device (Garmin/Wahoo/etc) would include that data in their original fit file.

EDIT: on thinking through this a little further, I’m not sure the best way to visualize the data in the graph. Di2Stats.com uses color codes for each gear combination and overlays it on the gpx route. Possibly a second graph with a line that changes colors at each gear change or draw the power graph with the color codes? It’s sounding more complicated as I think through and type this.

1 Like

Unfortunately I can’t get the original file from the Strava API. I need to add an option for manual upload of the file for a Strava activity and also Garmin Connect integration to make these things possible! That is on the list already for L/R power balance.


I see uploads work now, and my first thought was to see if you graph Gear Ratio, but unfortunately do not yet. I also use Di2Stats as well as GC (which shows a line for “gear inches”) but Gear Ratio would be simple enough as then you don’t need to input the Wheel size, but if you were fancy you could simply calculate it if the user also had a cadence sensor since you already know the speed Gear inches - Wikipedia

Could you please mail me a .fit file with the gear change info. Tx.

Now with Garmin sync, Di2 data is available i think. Not only simple chart is interesting but for example same (climbing) segment with different gear and cadence in terms of efficiency. I always curious about most efficient gear/cadence at HR/Power.

I had a look at a .fit file with this info and it is quite complicated. So its on the list but will take a little while.

I just updated my offline viewer (how I look at my kids data that don’t have strava accounts) and on their website they have a simple graph of how they handle Gear Changes that you could perhaps consider: https://www.gpxsee.org/gallery/gear_ratio.png

Thanks thats very helpful. Would need to add big/small ring indicator as well I suppose.