Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strava 0 Watt Challenge #13

Closed
bvanelli opened this issue Nov 10, 2022 · 1 comment
Closed

Strava 0 Watt Challenge #13

bvanelli opened this issue Nov 10, 2022 · 1 comment

Comments

@bvanelli
Copy link

Hello,

Recently I've been wondering to implement a a feature to track what is the longest you rode with your bike without doing any effort (hence, 0W challenge). I wanted to implement as a challenge that is tracked throughout your activities and updates whenever you had a new personal best, that's why I came across your project.

The concept is simple: if you have data from either power meter or cadence sensor, it would track the individual distance segments that you covered without doing any effort, and it would take the max segment for the ride. It would then be a select-able metric for your strava automation.

My questions are:

  • Do you think this is doable using the strava api?
  • Would you be willing to review such feature?
  • Could you point me out, in the current implementation where this could be done?

I'm of course willing to implement this feature.

@igoramadas
Copy link
Contributor

Hi Brunno,

technically this is possible to do, but in practice I wouldn't trust the data so much as Strava does a lot of post-processing to remove data points that they consider "redundant". Even Garmin (when recording in Smart mode) will do that. So the distance of a 0-effort segment could be off by a few hundred meters, maybe more.

If implemented in Strautomator, this would be part of the "Personal records" feature (main method here and interface schema here). And the data would come from the activity stream APIs.

I currently don't fetch streams for activity processing, so such feature would effectively double the amount of API calls per activity processed. Strava is known to be very very restrictive with their API quotas, so that's something to keep in mind.

If you want to implement this for me to review and consider adding to the production version, feel free to fork the project and add the necessary changes. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants