[BUG]: no value Avg Power from .fit file #5

Open
opened 2025-07-08 08:37:20 -04:00 by AtHeartEngineer · 0 comments

Originally created by @juanro49 on 7/2/2025

Checklist

  • I have searched existing issues to make sure this bug hasn't already been reported.
  • I have checked the documentation at https://docs.endurain.com and didn't find a solution.

Description

Importing an activity from Strava, it shows the Avg Power value, but importing that same activity from its .fit file or from Garmin Connect, it does not show its value even though it is included in the file.

According to the fit file import utility 878f9ebab4/backend/app/fit/utils.py (L150), avg_power is being imported from the session structure of the .fit file, but despite being present in the file, it is not displayed.

Steps to Reproduce

Import activity from .fit file or from Garmin Connect

Screenshots, logs or files

Activity from Strava con Avg power value https://oraclearm.dynme.ovh/activity/305
Image

Same activity from .fit file without Avg power https://oraclearm.dynme.ovh/activity/309
Image

avg_power present in session secion in .fit file
Image

.fit file
19583882423_ACTIVITY.fit.txt

.fit file in readable csv format
19583882423_ACTIVITY.csv

Additional Context

Docker dev_25062025 version

*Originally created by @juanro49 on 7/2/2025* ## Checklist - [x] I have searched **existing issues** to make sure this bug hasn't already been reported. - [x] I have checked the **documentation** at [https://docs.endurain.com](https://docs.endurain.com) and didn't find a solution. ## Description Importing an activity from Strava, it shows the Avg Power value, but importing that same activity from its .fit file or from Garmin Connect, it does not show its value even though it is included in the file. According to the fit file import utility https://github.com/joaovitoriasilva/endurain/blob/878f9ebab4d0a868a7514cd85f4bf5f66482a705/backend/app/fit/utils.py#L150, avg_power is being imported from the session structure of the .fit file, but despite being present in the file, it is not displayed. ## Steps to Reproduce Import activity from .fit file or from Garmin Connect ## Screenshots, logs or files Activity from Strava con Avg power value https://oraclearm.dynme.ovh/activity/305 ![Image](https://github.com/user-attachments/assets/96fe7218-65e6-4594-8d15-b33e819de231) Same activity from .fit file without Avg power https://oraclearm.dynme.ovh/activity/309 ![Image](https://github.com/user-attachments/assets/0a0a3366-7234-4e58-ae98-0496f37458ba) avg_power present in session secion in .fit file ![Image](https://github.com/user-attachments/assets/85c89121-88bc-4d20-926c-689d47a60d22) .fit file [19583882423_ACTIVITY.fit.txt](https://github.com/user-attachments/files/21026336/19583882423_ACTIVITY.fit.txt) .fit file in readable csv format [19583882423_ACTIVITY.csv](https://github.com/user-attachments/files/21026342/19583882423_ACTIVITY.csv) ## Additional Context Docker dev_25062025 version
AtHeartEngineer added the bugbugbug labels 2025-07-08 08:37:21 -04:00
Sign in to join this conversation.
No Label bug bug bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/endurain#5