Skip to content

Wrapper to work with *.fit (Garmin) and *.tkl files by using fitplotter

License

Notifications You must be signed in to change notification settings

karaul/fitalyser

Repository files navigation

fitalyser

This is a wrapper to work with the fitplotter.

See screenshots

Motivation

To analyse my own 10 years running experience recorded in several thousands binary files, and just for fun

Installation

Installation for non-programmers who found this program in github

  • Click on the green button, download everything as zip file and unzip.
  • Install nodejs
  • Ιnstall fitplotter side-by-syde
  • click fitalyser.bat and then click Open
  • check if it works with the activies given in myactivities folder
  • close fitalyser
  • remove all files from myactivities
  • copy to myactivities folder your *.fit files
  • click summaryTable.bat and check that the *.csv table is created in myactivities
  • click fitalyser.bat
  • if I did no mistakes and you followed the above items, the table with your data will be opened

Installation for programmers who found it in github

github clone https://github.com/karaul/fitalyser.git

Usage

Υou need a table with the locations of the FIT files to be analysed. This table must be prepared in advance. In the utilities folder there are two utilities: checkFields.js checks fields in the FIT tested file, and summaryTable.js creates the table. If the table is builded correctly, then clicking on the "Plot" button sends the FIT file to the fitplotter form. To use these utilities do the following:

  • open command prompt;
  • move to the program location;
  • make sure you know where is node.exe;
  • open in a plain text editor the needed utlities and read first commented lines there. You should correct paths in this utlities to the directory with your FIT files. The final table will be in the same directory;

summaryTable.bat is to work with table.csv. If it does not exist table.csv will be created, otherwise new *.fit files, absent in the current table.csv, will be added in the existing table.csv.

To format table you can use tableHeaders.js. (To be continued - need how-to)

Read CHANGELOG.md for last changes - there are explanations how to use the program too.

How it works

fitalyser needs a static http-server to read local FIT files. Without the server, each time when you select a FIT file in the table, there will be a dialog asking for file's location and user's confirmation to open the file, alhough the path to the file is already in the table, and fitalyser aim is to avoid unnecessary clicks. Υou may use your own server or to use http-server-static.js, working with node.exe, which has to be installed before, download it from nodejs. All the *.bat files and *.js utlitiies must be preceeded by the node.exe. If something does not work at all, check path in the corresponding *.bat file, and read carefully messages in the command prompt.

License

MIT license

(c) Evgeny Votyakov aka karaul (about me in Russian), Nicosia, Cyprus, 2021

About

Wrapper to work with *.fit (Garmin) and *.tkl files by using fitplotter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published