cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
394 stars 111 forks source link

REQ - Add Peloton stats after the ride on charts #255

Open hoveeman opened 3 years ago

hoveeman commented 3 years ago

Located in /api/ride/{rideId}/details there is a lot of great data that provides information about the ride from Peloton Bike users. Here is an example:

For Ride ID: 62367df65488467087558018511daaa2 - 45 min Pop Ride with Cody Rigsby

"difficulty_rating_avg": 7.7602, "difficulty_rating_count": 35681,

"total_workouts": 147772,

"averages": { "average_total_work": 296, "average_distance": 11.91, "average_calories": 411, "average_avg_power": 112, "average_avg_speed": 16.2, "average_avg_cadence": 73, "average_avg_resistance": 42 },

Here is the data displayed on the site pedalpal: https://pedalpal.app/workouts/62367df65488467087558018511daaa2

It would be great to have a header for the comparison chart that shows

Total Workouts: 147,772 Difficulty: 7.8 out of 35,681 ratings

Then it'd be cool to show a comparison chart on the charts page that shows your ride data compared to the average ride data from Peloton. It would be a great way to see if you performed above or below the average.

(note that average resistance should be compared against the peloton average resistance conversion that you do in the app).

cagnulein commented 3 years ago

Wow wonderful idea! Absolutely!!

Il gio 8 apr 2021, 20:16 hoveeman @.***> ha scritto:

Located in /api/ride/{rideId}/details there is a section of data called "averages" that provides information about the ride from Peloton Bike users. Here is an example:

For Ride ID: 62367df65488467087558018511daaa2 - 45 min Pop Ride with Cody Rigsby

"difficulty_rating_avg": 7.7602, "difficulty_rating_count": 35681,

"total_workouts": 147772,

"averages": { "average_total_work": 296, "average_distance": 11.91, "average_calories": 411, "average_avg_power": 112, "average_avg_speed": 16.2, "average_avg_cadence": 73, "average_avg_resistance": 42 },

Here is the data displayed on the site pedalpal: https://pedalpal.app/workouts/62367df65488467087558018511daaa2

It would be great to have a header for the comparison chart that shows

Total Workouts: 147,772 Difficulty: 7.8 out of 35,681 ratings

Then it'd be cool to show a comparison chart on the charts page that shows your ride data compared to the average ride data from Peloton. It would be a great way to see if you performed above or below the average.

(note that average resistance should be compared against the peloton average resistance conversion that you do in the app).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBH7RBB5KXKXU3ENMLTHXXJPANCNFSM42TM5LJQ .

hoveeman commented 3 years ago

AWESOME!

I'm always looking at the data after the fact comparing the upload on Strava vs. Pedalpal, and this will be one less step and I'll be able to see it immediately after the ride.

Thank you!

hoveeman commented 3 years ago

Also, note that when I said chart, I meant a comparison table with one column being your data by rows and another column with the Peloton data.

cagnulein commented 3 years ago

Could you please make a mockup?

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno lun 12 apr 2021 alle ore 16:56 hoveeman @.***> ha scritto:

Also, note that when I said chart, I meant a comparison table with one column being your data by rows and another column with the Peloton data.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/255#issuecomment-817881461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDMB5ED6AX6C2FTSGDTIMC2RANCNFSM42TM5LJQ .

hoveeman commented 3 years ago

I was thinking something like this. Feel free to modify coloring, etc... I tried to put the items in order that I thought would be of most interest, but my priority may be different than others.

Peloton Comparison

cagnulein commented 3 years ago

I already added something similar with the email report in the beta ;) I guess it should meet your expectations

Il lun 12 apr 2021, 20:23 hoveeman @.***> ha scritto:

I was thinking something like this. Feel free to modify coloring, etc... I tried to put the items in order that I thought would be of most interest, but my priority may be different than others.

[image: Peloton Comparison] https://user-images.githubusercontent.com/18269595/114442191-4b911400-9b9a-11eb-8de6-5aa6b044117a.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/255#issuecomment-818027889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFFZEN7LVAPZU5P3B3TIM3ALANCNFSM42TM5LJQ .

hoveeman commented 3 years ago

Great! I'm looking forward to checking it out.

cagnulein commented 3 years ago

i mean i've to put the coloumn about peloton, but it's definitely doable :)

cagnulein commented 3 years ago

i was checking this. do you know where extract the rideid? i guess it's not the same as the workout_id

hoveeman commented 3 years ago

@cagnulein I believe you found the rideid, based off this comment, correct? https://github.com/cagnulein/qdomyos-zwift/issues/279#issuecomment-823465680

cagnulein commented 3 years ago

Yep found and already in the ios beta. I will build the android soon

Il gio 22 apr 2021, 22:41 hoveeman @.***> ha scritto:

@cagnulein https://github.com/cagnulein I believe you found the rideid, based off this comment, correct?

279 (comment)

https://github.com/cagnulein/qdomyos-zwift/issues/279#issuecomment-823465680

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/255#issuecomment-825170838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFJJOLC3VMFCJOBWK3TKCCYZANCNFSM42TM5LJQ .

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.