I would like to import all of my Garmin Connect activities and wellness data into intervals.icu, but my Garmin account also contains Vivofit Junior data for my kids and other data like social interactions, addresses, phone numbers, etc., that I don’t necessarily want to share.
Even if Garmin already has this data and I trust David as much if not more, security breaches happen and there is value in reducing the risk surface. While I am willing to risk my activity and wellness data for the value intervals.icu provides, I don’t think it should be necessary to upload absolutely all the data that Garmin ever collected. It’s actually a bit scary if you review it
I looked into the ZIP file prepared by Garmin and I believe what’s really necessary is in DI_CONNECT and specifically in DI-Connect-Aggregator (UDSFile: wellness data like RHR; HydrationLogFile: hydration data), DI-Connect-Fitness (summarizedActivities: activity summaries), DI-Connect-Metrics (ActivityVo2Max: VO2Max, TrainingReadiness: HRV), DI-Connect-Uploaded-Files (UploadedFiles: FIT files), DI-Connect-Wellness (sleepData: wellness data related to sleep; userBioMetrics: weight). Is anything else necessary?
When I keep the above mentioned files and let the importer download the ZIP, the log.txt says:
No activity summaries found
No zips with uploaded files found
Which is strange, because I definitely kept the summaries and zips files with uploaded files. What am I missing?
It doesn’t work if you download…
Paste the link in underneath window, which also tells you what is downloaded. And that’s Activity files (original FIT and TCX files recorded by your device), and wellness data as you select them.
Thanks, that’s what I used. Except that I removed unwanted and sensitive files (like my kids data or customer.json) and asked the importer to download the trimmed ZIP from my Google Drive. Which worked - the importer displayed a green banner that the ZIP was downloaded. And I received an email after the ZIP was parsed.
What didn’t work is the parsing itself. That’s why I am asking which files in the Garmin ZIP are needed, so that I can make sure they are included. I can even offer creating an open source tool that only keeps the files imported by intervals.icu. I hope David (or someone else with sufficient knowledge) can share which paths are needed, so people can upload the data they want and keep the rest of their data private.
Unfortunately, the contents of my ZIP folder are somewhat different, here is the file list: https://pastebin.com/hSp9PS0Q
Namely, my DI-Connect-Social folder contains comments and likes. My profile pic is in DI-Connect-User. Why do you need a profile pic, though? Is that the user_profile.json that you actually care about?
In any case, I included the *_sleepData.json, *_summarizedActivities.json, DI-Connect-Uploaded-Files, user_profiles.json and profile pics in the ZIP file. Unfortunately, the importer still did not find any activities nor wellness data.
David, would it be possible for you to take a look at the pastebin with the list of files and instruct me which ones I should keep? I hope to bring the script to a working state for everyone’s benefit.
Do you also have plans to use more files, in order to include weight, HRV, VO2Max, and other wellness data that you normally import through the online connection?