cagnulein / qdomyos-zwift

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

.fit file missing some fields compared to Zwift #683

Open shuaiwang88 opened 2 years ago

shuaiwang88 commented 2 years ago

Archive.zip

Screen Shot 2022-02-16 at 3 28 35 PM Screen Shot 2022-02-16 at 3 28 11 PM

The fit file on the left is Zwift and qz on the right. I uploaded both files using Coros evolab in the pic, and only the Zwift fit file can be displayed and stats can be shown. I think adding more fields, to be more comprehensive like Zwift, could let QZ's fit file to show all the stats.

I included the two raw fit files.

Thanks!

cagnulein commented 2 years ago

Yes it will be a nice touch. I see what I can do. Right now I have to prioritise tickets because I'm receiving too many of them

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.

jcolp commented 2 years ago

I added the missing fields to the .fit file from QZ, and Coros still did not display the activity correctly, so for the purposes of importing into Coros there will be more to it. What exactly it wants that is missing, or is incorrect, I have yet to find.

cagnulein commented 2 years ago

Thanks for the feedback @jcolp Could you add here a fit file from a coros activity?

jcolp commented 2 years ago

I don't actually have an activity from a Coros device. The Coros website (https://t.coros.com) allows you to sign up without a device and upload FIT files. Files from Garmin also import correctly into Coros, but that's not exactly a simple FIT file to compare.

jcolp commented 2 years ago

I will say the Coros site seems to be a very simple viewer of FIT files. It doesn't seem to calculate missing fields itself, unlike Garmin.

cagnulein commented 2 years ago

@jcolp Share a screenshot of the errors of a fit created by qz devices imported on coros It should be easy to fix

jcolp commented 2 years ago

That's the problem and why it's difficult to figure out. It doesn't give any import error. It imports successfully but when viewing the activity it won't graph and gives minimal information on the side.

cagnulein commented 2 years ago

@jcolp Did you try to check the import with the developer console from your browser? Maybe you will see some errors there

jcolp commented 2 years ago

I tried that but it gave no information. May need to contact Coros and ask what's missing.

In general I think you'll need to decide what this issue encompasses. If it's for having the FIT files be compatible with Coros for importing, then I think this is going to be more work than expected and may require talking to Coros themselves.