Fitness Stats using Garmin Forerunner on Ubuntu 15.10

. 1 min read

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.

Installations

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 (.gmn files) that can be extracted to well formed xml data in .tcx files! 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 ...

  • Timestamp
  • Position (Lat & Long)
  • Altitude (oooh!)
  • Heart Rate (FTW!)

Workout data in Garmin tcx files

References


Tags

AWS Analytics Antifragile Apache Spark Apple Apps Arbitrage Automation Awesome BBMP Bangalore Black Swan Bonds Boonex Bootstrap Brokerage Charges CFPB CMS CSS Calypso Camelot Capital Markets Charts Chirp Choropleth Chrome Code Igniter Collections Containerization Converters Cycling DalalBeat Data Analytics Data Journalism Data Mining Data Munging Data Privacy Data Science Databases Debt Design Design Stock DesignStock Diet Django Docker Document Processing Dropbox Electron Electronics Entertainment Entrepreneurship Exercise FFMPEG Facebook Finance Fire TV Stick Fitness Forerunner From-The-News Fun Futures Gaana Garmin General Geocoding Getting Started Ghost Google APIs GraphicsMagick HHVM HTTPS Hackathon Hacks Hardware Health House Keeping Housing IBM BlueMix IBrokers IPinfo Ideas Image Conversion Image Processing Infographics Interactive Brokers Internet Investing IoT Legal Lets Encrypt Mac Machine Learning Mailbox app Mapbox Markdown Marketing Meteor Mockups MongoDB Mortgages Movies Music MyPad MySQL Nativefier Nature Netflix Newsletters Nginx Node.js Notes OCR OSX Open Source OpenCPU Options PDF PHP Pebble Peloton Personal Photography Picture Platforms Plex Portable Apps Productivity Property Tax PyroCMS Quantitative Finance R-Project Random Raspberry Pi Research Resources Reticulate Robot S3 SQLite STT Scraping Security Server Shell Shiny Side Project Sikuli Speech Recognition Spider Pro Spinning Spotify Startup Resources Startups Strategy Sublime Text System Monitoring Tax Terminal Tips To Do Tools Torrent Trading Trends Troubleshooting USElection2016 Ubuntu Unix Valuations Video Conversion Visualization Wagtail Wearables Weekend Fun WhatsApp Wordpress anaconda annie bash catalina cv2 daily coding dailycoding data.table debugging devtools downloader e-Signatures ggplot git go google maps hat-tip iOS iPad iPhone iTunes javascript jupyter logging macos numpy opencv optionality plotly python rstats videos youtube