Live data from Hacker News

GarminDB

github.com

41–50 of 74 posts

Re: GarminDB

#41
post #2

I was hoping this would be a way to import and track data directly from the device, but it appears it talks to the Connect API, so I'm still tied to the official app.

I've given up on that, I now use http://www.rungap.com/ to extract Garmin data from their API to my iCloud storage.

You can select the filetype too: gpx, fit or tcx.

Re: GarminDB

#42
What you can always do to get ALL your raw data out of Garmin connect (as FIT files) is using the data export (https://support.garmin.com/en-US/?faq=W1TvTPW8JZ6LfJSfK512Q8).

There are some good OSS libraries to read and interpret those files (e.g. Python https://github.com/polyvertex/fitdecode, Go https://github.com/tormoder/fit).

To get your _current_ data, it is possible to pull the current .FIT files from your device (watch, bike computer, ..) when it is plugged to your computer and mounted as file system.

I once started a side project to do exactly that, but abandoned it after a while (https://github.com/jo-m/garmin-disconnect).

Re: GarminDB

#43
post #38
post #28

Earlier quoted context omitted.

> We may use your Personal Data to contact you with newsletters, marketing or promotional materials and other information that may be of interest to you. Noped the f outta there

> ... You may opt out of receiving any, or all, of these communications from us by following the unsubscribe link or the instructions provided in any email we send.

Nah thanks, I'll press the "report spam" button instead, k thnx have a nice day bye.

Re: GarminDB

#44
post #13

Be warned anyone that uses this - it uses Garth ( https://github.com/matin/garth ) to authenticate. It masquerades as an Android app (a single instance of one at that) and does some hacky stuff to login via web forms. Garmin is such a horrible company to try to integrate with. I don't know why they lock down their stuff so hard like this. And if you do manage to gain access to one of their offical APIs or SDKs, they…

Garmin has nothing on Strava. If you integrate with Strava and the user revokes the link, you have to delete all the data that came from Strava or you risk losing access to the API. > I don't know why they lock down their stuff so hard like this. Same reason every other company locks down your data. You are the product and they want to keep you locked in, feeding them data. They can't have you running off with all yo…

Isn't that just following the law? User revoked their consent for you to have their data.

Re: GarminDB

#45
post #13

Be warned anyone that uses this - it uses Garth ( https://github.com/matin/garth ) to authenticate. It masquerades as an Android app (a single instance of one at that) and does some hacky stuff to login via web forms. Garmin is such a horrible company to try to integrate with. I don't know why they lock down their stuff so hard like this. And if you do manage to gain access to one of their offical APIs or SDKs, they…

> Garmin is such a horrible company to try to integrate with

Is it still? A few years I built integration for creating posters from route GPS data, and it seemed pretty much the same experience as Strava and RunKeeper, but then they changed their TOC and wanted about $10K to connect.

It seems to be free now - although they still require approval. https://developer.garmin.com/gc-developer-program/overview/

If you want data for your own use - and to send data from one service to another - then tapiriik is great (or atleast was, I haven't used it for a few years):

https://tapiriik.com/

Re: GarminDB

#46

A friend recently put me on to Intervals ( https://intervals.icu ) for Garmin / Strava related data nerdery and I’ve enjoyed it very much. As a rower it was nice that you can construct reports that give rowing related metrics rather than just the usual cycle / run stuff.

Intervals.icu is great, and totally worth paying to support. Really fun to see progress over time, and the ability to customize charts is neat.

Re: GarminDB

#47
post #42

What you can always do to get ALL your raw data out of Garmin connect (as FIT files) is using the data export ( https://support.garmin.com/en-US/?faq=W1TvTPW8JZ6LfJSfK512Q8 ). There are some good OSS libraries to read and interpret those files (e.g. Python https://github.com/polyvertex/fitdecode , Go https://github.com/tormoder/fit ). To get your _current_ data, it is possible to pull the current .FIT files from your…

um, have you tried to export all your raw data from garmin? i have 15 years of logged data, and that dump does not include any fit/gpx/tcx files. it was 196 json files (228mb) which are just high-level summaries. using one of the hacky third-party export libraries, i was able to get the actual fit files (5708 files, 373mb). even that has missing files, empty files, and duplicates. very frustrating.

the lesson i learned is you can't just expect these exports from any online services to be complete or what you expect. i highly recommend going through an export of anything you depend on and see if it has what you expect.

Re: GarminDB

#48
post #14

Earlier quoted context omitted.

You are right, but I've worn out the USB ports on multiple Garmins from using the ports to recharge and download the files. Now I just use the app and download the files later from the Garmin website, and use a magnetic charger plug also to eliminate the wear and tear on the port. I wish I could wirelessly access the files and cut out the Garmin app/download steps.

I've been through a lot of Garmin devices and mine always have battery degradation before the USB port is in any way non-functional. Especially with USB-C on the newest ones, that really shouldn't be happening.

I've been using 520-530-540 on a bicycle and ride every day but only need to charge once every three days or so, but these came with microUSB ports.

Re: GarminDB

#49

Earlier quoted context omitted.

You are right, but I've worn out the USB ports on multiple Garmins from using the ports to recharge and download the files. Now I just use the app and download the files later from the Garmin website, and use a magnetic charger plug also to eliminate the wear and tear on the port. I wish I could wirelessly access the files and cut out the Garmin app/download steps.

How old is your Garmin watch/device? I'm still using a Forerunner 935 from 2017 and I haven't had any problems with charging/syncing data. I use the USB charger about once a week. Once every two weeks during winter when I don't use the GPS as much. Only thing I have updated on the watch is the free loop, which holds the watch band after you've threaded it through the buckle. I'm gonna have to replace the watch band e…

I use mine every day for recording year round barring a few breaks and need to charge every three days or so. I've had one long enough to have to change the battery because the life went down so much.

Re: GarminDB

#50
post #42

What you can always do to get ALL your raw data out of Garmin connect (as FIT files) is using the data export ( https://support.garmin.com/en-US/?faq=W1TvTPW8JZ6LfJSfK512Q8 ). There are some good OSS libraries to read and interpret those files (e.g. Python https://github.com/polyvertex/fitdecode , Go https://github.com/tormoder/fit ). To get your _current_ data, it is possible to pull the current .FIT files from your…

um, have you tried to export all your raw data from garmin? i have 15 years of logged data, and that dump does not include any fit/gpx/tcx files. it was 196 json files (228mb) which are just high-level summaries. using one of the hacky third-party export libraries, i was able to get the actual fit files (5708 files, 373mb). even that has missing files, empty files, and duplicates. very frustrating. the lesson i learn…

This is particularly relevant with the recent blue triangle of death episode where all their newest watches downloaded a corrupted gps ephemeris data file and entered a boot loop.

One of the recommended fixes was a factory reset of the watch, which deletes all of the stored .fit files.

Post reply on HN