Back Original

eShiftMetrics: electronic shifting gear usage

Earlier this year I built up a Santa Cruz Stigmata gravel bike with SRAM AXS electronic shifting (it’s sweet, will have to do a separate write up).

The eletronic shifters are ANT+ compatible so they can communicate with your bike computer and tell it what gear you are in. This data gets written to your activity recording and then SRAM has a cool webapp where you can review your gear usage post-ride.

   
SRAM gear usage chart SRAM gear analysis

But it’s another place you have to look, and it requires you to send all of your Garmin activities to SRAM.

I decided to whip up a Connect IQ datafield that would provide similar gear usage analytics but let me review the data in Garmin - where I’m already looking after my rides. The usage stats are calculated on device during the ride and then written to the activity recording in developer fit fields.

I was planning on using Garmin’s monetization program to try and sell a premium version, but unfortunately their monetization program is not compatible with cycling computers (the main target device for my datafield) so I used Stripe and built my own licensing system.

Here’s the stack:

  • Connect IQ datafield (monkey c)
  • Payments & license distribution (stripe + aws lambda + aws ses + aws dynamodb)
  • Documentation site (eleventy.js on cloudflare pages)

The app was approved today and should be live soon in the Connect IQ store!