Convert workout data from Peloton into a TCX file that can be uploaded to Garmin
- Download the repo here
- Extract the zip file
- Install the latest version of Python 3, currently 3.6.4
- Open
File Explorer
and navigate to the wherever you unzipped the downloaded project - Navigate so that you are inside the
peloton-to-garmin
folder - Open a command prompt by clicking in the
Location Bar
at the top and typingcmd
then hit enter - From the command prompt run the following command:
pip install -r requirements.txt
- Close the command prompt and return to the
peloton-to-garmin
folder - Edit the
config.ini
file and set your Peloton Email and Password, Save and Close
- Open a command prompt inside of the
peloton-to-garmin
folder - Run the following command:
python peloton-to-garmin
- You will be prompted to enter how many workouts you would like to fetch
- A TCX file for each workout will be created in the
output
directory - The resulting TCX file can then be uploaded to Garmin
- Build the image by running
docker build . -t pelotontogarmin
- Run the container by running:
docker run -v /full_path_here/peloton-to-garmin/output:/output pelotontogarmin