Bring weight, HRV, and resting HR history into MetricHistory.
The same CSV importer (core/services/csv_importer.py) also
recognises TrainingPeaks biometrics exports. Each row in
the file becomes a MetricHistory entry: weight, HRV,
resting HR, or other tracked biometrics.
The importer detects this format by looking for all three of these columns in the headers:
TimestampTypeValueIf your TP biometrics export has those columns, it will be recognised.
In TP, go to your athlete metrics export and select Biometrics. Pick a date range, save as CSV.
MetricHistory row for each
biometric reading and reports a summary.Each row creates a MetricHistory entry with:
metric_type mapped from the TP Type field (weight,
hrv, resting_hr, etc.).value from Value.date from Timestamp.source tagged as the CSV import.MetricHistory entries depending on
the unique-constraint setup. Inspect after import and
clean up if needed.See also: Importing TP workout notes, Importing TP activities (FIT zip).
Still stuck? Ask us a question and we'll write up an answer.
Ask a question