I resurrected my Gamin Forerunner from my hardware archives and started using it on my workouts. Now, I plan to use the data from my Garmin Forerunner to plot interesting stats.
To my surprise, getting the data out of my decade old (2008!) Garmin Forerunner on Ubuntu 15.10 turned out to be very simple and straightforward! Getting the data on my Macbook running OS X (El Capitan) was actually a bigger pain! However, I managed to get the data on my OS x too like I described here.
- Install pyUSB as described at https://github.com/walac/pyusb (I plan to use access the device using custom python soon!)
sudo pip install pyusb --pre
- I was lucky to find a package to extract the Garmin data without an issues! The data gets extract in proprietary Garmin format (
.gmnfiles) that can be extracted to well formed
.tcxfiles! Steps outlined below!
sudo apt-get install garmin-forerunner-tools libxml2-utils mkdir -p ~/gitlocal cd ~/gitlocal/ git clone https://github.com/cstrelioff/garmin-dev.git mkdir -p ~/GarminData cd ~/GarminData garmin_save_runs mkdir -p ~/GarminData/tcxfiles cd ~/GarminData/tcxfiles/ ~/gitlocal/garmin-dev/gmn2tcx ~/GarminData/2016/01/20160122T111803.gmn > run-name.tcx
The data extracted is actually pretty darn detailed. Love it! The data includes lots of stuff particularly ...
- Position (Lat & Long)
- Altitude (oooh!)
- Heart Rate (FTW!)
- Garmin forerunner and Ubuntu 14.04 — chris' sandbox
- cjoakim/tcx-js: home of the tcx-js npm library.
- pixelbreaker/garmin-strava-automator: Garmin Strava Automator
- cstrelioff/garmin-dev: A set of utilities for converting *.gmn files to *.tcx files for upload to the Garmin Connect website.
- kitofr/polar2garmin: A small polar (hrm) to garmin (gpx) writer that imports your hr data to a gpx-track file
- suve/importgarmin: CLI tool to import workouts in .tcx format from a Garmin Forerunner device.