Vpower
A virtual power to TCX file for Tacx Blue Motion T2600
Install / Use
/learn @cast42/VpowerREADME
vpower2
Add virtual power to your trainer ride on the Tacx Blue Motion T2600. Record your speed during your workout on your Garmin and add virtual power with this Python program. The advantage of vpower2 over vpower is that the convertion step from FIT file to TCX is not needed anymore.
Installation
- Clone or download vpower:
git clone https://github.com/cast42/vpower.git
- Create the environment:
conda create -n vpower environment.yml
Usage
- Activate the environment:
source activate vpower
- Execute:
python vpower2.py <file>.fit
- A new file is created (or overwritten) called
vpower_<file>.tcxthat contains the calculated power values derived from the speed recorded by your Garmin. - Upload the generated file
vpower_<file>.tcxto Strava for analysis - By default, it's assumed the lever is at position 5. If your lever was at another position during your workout, specify this as follows (assuming lever position was 6):
python vpower2.py --lever=6 <file>.fit
- Deactivate the environment
source deactivate vpower
vpower
Add virtual power to your trainer ride on the Tacx Blue Motion T2600. Record your speed during your workout on your Garmin and add virtual power with this Python program.
Usage
- First, obtain a TCX file corresponding with the .fit file from your Garmin.
- Download the file vpower.py into the same directory of the .tcx file.
- Execute:
python vpower.py <file>.tcx
- A new file is created (or overwritten) called
vpower_<file>.tcxthat contains the calculated power values derived from the speed recorded by your Garmin. - Upload the generated file
vpower_<file>.tcxto Strava for analysis - By default, it's assumed the lever is at position 5. If your lever was at another position during your workout, specify this as follows (assuming lever position was 6):
python vpower.py --lever=6 <file>.tcx
fit2gpx
Setup
The python fitparse library requires Python 2.7. I created a conda environment to set this up:
conda create -n vpower environment.yml
If you are still running python 2.7, you can just install fitparse and docopt:
pip install docopt
pip install fitparse
Usage
- Execute:
python fit2gpx.py <file>.fit
- A new file is created (or overwritten) called
<file>.gpxthat contains the ride in gpx format.
Future plans
These tools rely on fitparse that is still using Python 2.7. To upgrade, those version should be rewritten with fitdecode that uses a modern Python version (>= 3.6).
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
