SauceLLC / sauce4strava

Sauce for Strava™
MIT License
200 stars 23 forks source link

power_data api has ftp and weight #84

Open mayfield opened 2 years ago

mayfield commented 2 years ago

Looks like this is actually the weight at the time of the activity! We can maybe build a weight history from this..

image

mayfield commented 2 years ago

I can implement a full "auto" mode for weight and ftp with this. It will only work for athletes with premium and power data, but that covers a big chunk of serious athletes.

freaki85 commented 2 years ago

Looks like this is actually the weight at the time of the activity! We can maybe build a weight history from this..

image

Amazing

mayfield commented 2 years ago

Tested last night.. It actually works.

mayfield commented 2 years ago

Related to #74

mostafamossaad commented 2 years ago

Hello, not sure if this is the right place for this, but here goes. I have my weight syncing from another platform to Strava. Which shows in "My Profile". However, it doesn't seem to be reflected in the Sauce section of "weight" on any of my activities. Is this the issue here? I played around a bit and noticed that if I removed the (tags?) in "Advanced Option" like

"weight_lastknown": "weight_override": "ftp_lastknown": "ftp_override":

Sauce "seems" to bring in whatever values that are in My Profile. And they're in blue, not orange. Also, while we're on the "Advanced Options" window. Who are all those other athletes I see there? I recognize them all, but what brought them in there?

Thank you very much. Keep up the good work.

mayfield commented 2 years ago

@mostafamossaad #74 is the right place. This issue is more an internal memo for me on some of the implementation details I'll potentially use for implementing #74 or some more extended weight/ftp syncing model.

metyl commented 2 years ago

@mayfield can you use for calculations and show in the widget weight from /power_data, if it's available, instead of weight from user profile?

I'm auto-updating my weight at Strava everyday in the morning and it's seems keep track of weight history.

mayfield commented 2 years ago

@metyl Yup, that's the plan.

mostafamossaad commented 2 years ago

@metyl Sorry to butt in. But what service are you using to auto-update your weight in Strava every morning?

metyl commented 2 years ago

@mostafamossaad withings scale plus applet at ifttt.com