Page 1 of 1

Add distance from stationary bike

Posted: Fri Feb 12, 2021 8:12 pm
by geneld
I'm riding a stationary bike using my Fenix HR to track time and HR, but I can't capture distance. The bike has a readout of distance which I can add to the data in Garmin Connect, but I can't find any way to have the distance show up in Strava when I send over using the tool.

Is there a way to do this?

Re: Add distance from stationary bike

Posted: Sat Feb 13, 2021 4:14 pm
by fulmar2
Link to the tool to Add Distance from Stationary Bike.


This is a good question, and one I get a lot. If you export as a FIT or TCX from my tool, the distance from your original files will be embedded in the output file. To get the distance to embed, you will need to make sure you check the "Distance" box in the streams and then check the "Use Existing Embedded Distance" option. Both of those boxes are highlighted in the image below:

Embedding Distance from a GPS file.
Embedding Distance from a GPS file.

Re: Add distance from stationary bike

Posted: Sat Feb 13, 2021 5:28 pm
by fulmar2
I re-read your question, and now I see that your device cannot embed distance. This inspired me to write some additional code that manufacturers distance in a linear format. In other words, since you don't have the point-to-point information, you're just going to get one straight line for speed (it will match your average speed)... but the tool will fabricate your total distance based on what you enter in the "Override Total Distance" box. Here is how you need to set up the tool to achieve this:

How to Add Distance from a Stationary Bike to Strava.
How to Add Distance from a Stationary Bike to Strava.

Notice how you need to select "FIT" as your Output File Format. Also, you ought to select "Virtual Ride" to tell Strava that this was an indoor workout. Next, you need to select "Calculate Distance." This tells my tool to fabricate a point-by-point distance for your new file. To do this, the tool counts up the total number of points, and then takes the distance that you enter, and it divides the number of points by the distance. This will cause a flat line in your speed. Hope that helps!

Re: Add distance from stationary bike

Posted: Sat Feb 13, 2021 10:01 pm
by geneld
Thanks for the updated feature. Works great.