Skip to content

Convert workout data from Peloton into a TCX file that can be uploaded to Garmin

License

Notifications You must be signed in to change notification settings

padioca/peloton-to-garmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peloton-to-garmin

Convert workout data from Peloton into a TCX file that can be uploaded to Garmin

Setup

  1. Download the repo here
  2. Extract the zip file
  3. Install the latest version of Python 3, currently 3.6.4
  4. Open File Explorer and navigate to the wherever you unzipped the downloaded project
  5. Navigate so that you are inside the peloton-to-garmin folder
  6. Open a command prompt by clicking in the Location Bar at the top and typing cmd then hit enter
  7. From the command prompt run the following command:
    1. pip install -r requirements.txt
  8. Close the command prompt and return to the peloton-to-garmin folder
  9. Edit the config.ini file and set your Peloton Email and Password, Save and Close

Usage

  • 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

Runnning in docker

  • 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

⚠️ WARNING!!! Your username and password for Peloton and Garmin Connect are stored in clear text, WHICH IS NOT SECURE. If you have concerns about storing your credentials in an unsecure file, do not use this option.

About

Convert workout data from Peloton into a TCX file that can be uploaded to Garmin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%