dblock / slack-strava

(Re)Post Strava activities to Slack
https://slava.playplay.io
MIT License
37 stars 6 forks source link

Provide graphs for elevation, power, heart rate, speed, cadence, etc. #52

Open dblock opened 5 years ago

dblock commented 5 years ago

We can display a graph with detailed activity information similar to what the app shows, in slack.

dblock commented 4 years ago

image

dblock commented 4 years ago

From a potential customer.

I work mainly with cyclists, but also work with triathletes. In cycling many people have a power meter which measures the power being produced to make the bike travel at a specific velocity, under specific conditions. Power meters record data at 1-sec intervals, and cyclists typically train for 1 hour to 6 hours (a lot of data points). Additionally, and unlike running power output is stochastic — it can vary significantly for brief periods of time, e.g., as you accelerate out of a corner, up a hill, you ease up for a descent, etc. For e.g., a very well trained masters cyclist maybe able to average 250 watts (W) for 1 hour. Looking at these data from an outdoor ride, the high could be 700 W and the low 0 W.

See power image where it says 699W.

image

In Strava, when you move your cursor along the power line it tells you the second by second data. This is frankly useless. You need as a bare minimum need to know the average of the data you’re looking.

In the image above (i’m hoping it’s above!) at 1:30 there’s a sharp rise in power and then it tails off. At a guess this rider has just gone hard up a hill. here’s a subset of that data, which i use my mouse to click and drag across the main part to select the minute or so at 1:30.

image

I can then see that the 90-secs or so i selected above has an average power of 226 W

I don’t know if these options are available in even the paid version of strava. Some of their other data is incorrect. For e.g. in the paid Strava they have something where i think they use metrics to look at long term fitness (chronic training), short term fitness (acute) and training stress balance. I’ve just checked — they call these terms fitness and freshness in strava. These data are incorrect in strava. I was part of a test group, that helped test them 19 or 20 years ago or thereabouts. so that a Performance Management Chart (PMC) could be developed. These used exponentially weighted averages to calculate these data

image