- Finds the .fit files from your MyWhoosh installation.
- Fix the missing power & heart rate averages.
- Removes the temperature.
- Create a backup file to a folder you select.
- Uploads the fixed .fit file to Garmin Connect.
1. Download myWhoosh2Garmin.py and MyWhoosMonitor.ps1 to your filesystem to a folder or your choosing.
2. Go to the folder where you downloaded the script in a shell.
- MacOS: Terminal of your choice.
- Windows: Start > Run > cmd or Start > Run > powershell
You can directly call the PowerShell script if you have the required tools installed (see automation tips). This will setup a python venv and install all required packages.
.\MyWhooshMonitor.ps1
3. Install `pipenv` (if not already installed):
pip3 install pipenv
or
pip install pipenv
4. Install dependencies in a virtual envioronment:
pipenv install
5. Activate the virtual environment:
pipenv shell
5. Run the script:
python3 myWhoosh2Garmin.py
or
python myWhoosh2Garmin.py
6. Choose your backup folder.
7. Enter your Garmin Connect credentials
2024-11-21 10:08:04,014 No existing session. Please log in.
Username: <YOUR_EMAIL>
Password:
2024-11-21 10:08:33,545 Authenticating...
2024-11-21 10:08:37,107 Successfully authenticated!
8. Run the script when you're done riding or running.
2024-11-21 10:08:37,107 Checking for .fit files in directory: <YOUR_MYWHOOSH_DIR_WITH_FITFILES>.
2024-11-21 10:08:37,107 Found the most recent .fit file: MyNewActivity-3.8.5.fit.
2024-11-21 10:08:37,107 Cleaning up <YOUR_BACKUP_FOLDER>yNewActivity-3.8.5_2024-11-21_100837.fit.
2024-11-21 10:08:37,855 Cleaned-up file saved as <YOUR_BACKUP_FOLDER>MyNewActivity-3.8.5_2024-11-21_100837.fit
2024-11-21 10:08:37,871 Successfully cleaned MyNewActivity-3.8.5.fit and saved it as MyNewActivity-3.8.5_2024-11-21_100837.fit.
2024-11-21 10:08:38,408 Duplicate activity found on Garmin Connect.
(9. Or see below to automate the process)
What if you want to automate the whole process:
PowerShell on MacOS (Verified & works)
You need Powershell
brew install powershell/tap/powershell
Start the script. This will also setup a virtual python environment and starts monitoring the application.
.\MyWhooshMonitor.ps1
AppleScript (need to test further)
TODO: needs more work
You can simply start the monitor by doubleclick the StartMyWooshMonitor.bat
file which will execute PowerShell with the script.
If you prefer PowerShell you can start the script. This will also setup a virtual python environment and starts monitoring the application.
.\MyWhooshMonitor.ps1
Technologies used in the project: