strautomator / web

Strautomator Web / API
https://strautomator.com/
MIT License
30 stars 1 forks source link

Add more power metrics #9

Closed costa-alex closed 2 years ago

costa-alex commented 2 years ago

Is it possible to have more power metrics available to add to activity descriptions? Like normalized power, tss, intensity factor, etc.

Thanks

igoramadas commented 2 years ago

Normalized power = weighted watts = ${wattsWeighted} Intensity factor = relative effort (more or less) = ${relativeEffort}

TSS and other metrics are not available via the API, and not easily estimated with the existing data, so I can't add those for now.

costa-alex commented 2 years ago

There's a tool very similar to yours that connects to Garmin Connect and get's that info. Maybe on a future release? ;)

igoramadas commented 2 years ago

I know ActivityFix :-) At the moment it's very difficult to get access to the Garmin Connect API, unless you have a registered business (freelancers not allowed).

Regarding TSS, I know the formula to calculate it, but it will be based on Strava data and very likely differ from what you see on Garmin or Training Peaks. I'll see if I can get that metric implemented later.

igoramadas commented 2 years ago

So "later" became "very soon": https://github.com/strautomator/core/commit/44560b076ccbc37c33448b5c462ec2f6b19ff808

igoramadas commented 2 years ago

TSS now live: https://github.com/strautomator/web/releases/tag/v22.275.12349