toz/MediLog
9
51
Fork
You've already forked MediLog
3

Some way to add activity data #565

Closed
opened 2025年10月21日 18:35:31 +02:00 by vakulenchuk · 4 comments

I would love to add my bike rides, with distance and duration (maybe cadence or some other metrics). My hope was to track activity to see if there is an improvement in my blood pressure over time.
Ideally I could somehow import FIT data from my stationary bike
I found this but i think its a little different than what I had in mind. #528

I would love to add my bike rides, with distance and duration (maybe cadence or some other metrics). My hope was to track activity to see if there is an improvement in my blood pressure over time. Ideally I could somehow import FIT data from my stationary bike I found this but i think its a little different than what I had in mind. https://codeberg.org/toz/MediLog/issues/528
Owner
Copy link

Indeed, all #528 does is adding a revord to the Diary tab with a reference/link to an external service which holds the activity details. Hence not adding any details other than the fact that an activity happenend on that day.
If I want the details I'd have to click on the link.

My first reaction to supporting FIT is that it's too far outside of MediLogs sweet spot, but I'd be interested in having a look, do you happen to have a sample file?
https://developer.garmin.com/fit/protocol/

Indeed, all #528 does is adding a revord to the Diary tab with a reference/link to an external service which holds the activity details. Hence not adding any details other than the fact that an activity happenend on that day. If I want the details I'd have to click on the link. My first reaction to supporting FIT is that it's too far outside of MediLogs sweet spot, but I'd be interested in having a look, do you happen to have a sample file? https://developer.garmin.com/fit/protocol/

Sure, I attached a file.

Sure, I attached a file.
Owner
Copy link

Thanks for the file 👍
Turns out FIT is a binary format which means I either would have to decode myself or find a library.
After reading this https://jamesmillner.dev/blog/2023/07/08/all-things-fit-%EF%B8%8F/ and thinking about this some more I'll pass.
Adding libraries and accepting proprietary licenses isn't a good fit for OpenSource MediLog.
Also, once the data is imported one would rightly want to see charts and pdfs which would definitely steer MediLog in a different direction.
If your Garmin allows to create weblinks which point to your activities I could consider having MediLog accept links sent from your Garmin app. Similar to what's already implemented for the Sigma app. That way you'd get to track which days you were active in MediLog

Thanks for the file 👍 Turns out FIT is a binary format which means I either would have to decode myself or find a library. After reading this https://jamesmillner.dev/blog/2023/07/08/all-things-fit-%EF%B8%8F/ and thinking about this some more I'll pass. Adding libraries and accepting proprietary licenses isn't a good fit for OpenSource MediLog. Also, once the data is imported one would rightly want to see charts and pdfs which would definitely steer MediLog in a different direction. If your Garmin allows to create weblinks which point to your activities I could consider having MediLog accept links sent from your Garmin app. Similar to what's already implemented for the Sigma app. That way you'd get to track which days you were active in MediLog

totally understand and I agree about avoiding those proprietary licenses. I didn't realize it wasn't open. It comes from an 'echelon' bike using a bridge app to my android phone. currently i parse those files into a table on my nextcloud server and graph them. but I'm going to move off nextcloud and so I'm looking for alternatives.

totally understand and I agree about avoiding those proprietary licenses. I didn't realize it wasn't open. It comes from an 'echelon' bike using a bridge app to my android phone. currently i parse those files into a table on my nextcloud server and graph them. but I'm going to move off nextcloud and so I'm looking for alternatives.
Sign in to join this conversation.
No Branch/Tag specified
main
3.6.0
3.3.8
master
v3.3.2
v3.2.7
v3.2.5
v3.2.1
v3.2.0
v3.1.2
v3.1.0
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v2.7.4
v3.0.3
v3.0.1
v3.0.0
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.3
v2.6.2
v2.6.0
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.0
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v3.7.1
v3.6.5
v3.6.4
v3.6.3
v3.6.2
v3.6.0
v3.5.1
v3.5.0
v3.4.1
v3.4.0
v3.3.11
v3.3.10
v3.3.9
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.3
v3.3.2
v3.2.7
v3.2.6
v3.2.5
v3.2.4
v3.2.3
v3.2.1
v3.2.0
v3.1.2
v3.1.1
v3.1.0
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.5
v2.2.4
v2.2.3
v2.2.1
v2.2.2
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.6
v2.0.5
v2.0.1
v3.7.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
toz/MediLog#565
Reference in a new issue
toz/MediLog
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?