Skip to content

rdchip/FIT-to-CSV-converter-for-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIT-to-CSV-converter-for-windows

This code is intended to use for Garmin files products with heart rate monitor, I tested it with Fenix 5 Plus smart watch. The workout file from the Fenix 5 is *.fit and this one is binary file which means you can not see your data, you need to convert it to *.txt or better *.csv file. Once in csv format, just open it in Excel and watch your heart rate data. The Fitparse package extract all data from *.fit file to the ram memory and you get access to the raw data after conversion.

The original code is from https://github.com/mcandocia/fit_processing I did small modifications because the code is for Linux and the final *.csv file has empty line for each line of data. The modification that I did is in the end of write_fitfile_to_csv section. All credits is for mcandocia.

First, you need to install Fitparse package. You can download it from: http://pythonhosted.org/fitparse/ the link in github is https://github.com/dtcooper/python-fitparse

After download go to the master directoy and look for setup.py using CMD windows terminal in CMD run:

py setup.py install

Other libraries (CSV, OS and pytz) are installed with the basic Python 3 installation. Now, place the FIT_to_CSV_forWin.py in the same location of the *.fit file and the result will be *.csv file with the same name.

Just run:

py FIT_to_CSV_forWin.py

Now you can open the *.csv file with Excel and see something like this.

I have another proyect making a plot of the heart rate data comparing Garmin Fenix 5 Plus with H10 Polar. In this case the code is in R script. Here is the link: https://github.com/rdchip/Heart_rate-plot.r

You can wtach the tutorial in Youtube: https://youtu.be/k8vrTdcHtt0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages