Skip to content

Multi-platform application for generating FIT files from scales data

License

Notifications You must be signed in to change notification settings

akryvtsun/weight2fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weight2fit

Build Status Coverage Status Hits-of-Code

weight2fit is a multi-platform application for generating Flexible and Interoperable Data Transfer (FIT) files. The input data for the program are values from a scale (weight, body fat percentage, bone mass etc.). After creation FIT file may be uploaded to sport Garmin Connect portal.

How to Use

GUI

Enter weight values in corresponding input fields and press button for creating output FIT file.

windows

macos

Command Line

To start the program execution from the command line

java -jar weight2fit-<platform>-<version>.jar -w (--weight) value [OPTIONAL_PARAMETERS]

Here are parameters

 -t (--timestamp) yyyy-MM-dd       : Timestamp of measurement
 -w (--weight) value               : Weight of the body in kg
 -bf (--bodyFat) value             : Fat of the body in %
 -bw (--bodyWater) value           : Water of the body in %
 -vf (--visceralFat) index         : Visceral fat
 -mm (--muscleMass) value          : Muscle mass of the body in kg
 -pr (--physiqueRating) index      : Physique rating
 -bm (--boneMass) value            : Bone mass of the body in kg
 -dci (--dailyCalorieIntake) value : Daily calorie intake in kcal/day
 -ma (--metabolicAge) value        : Metabolic age in years
 -o (--out) FILE                   : Output FIT file name
 -h (--help)                       : Shows help info (default: true)

If timestamp param is missing then current date value will be used. If out param is missed timestamp value will be used as a name of output file.

The detailed params description on Tanita site here and here and on Garmin Connect.

Building

Regardless of your operating system, you must have the following things installed on it and included in your path:

  • JRE 1.6 or greater
  • Maven 3.x or greater

Open a system shell and check out the sources into some directory. Then cd into that directory and type:

mvn clean package

The resulting platform-specific built artifact will be located under the target directory.

License

Code is under the Apache Licence v2.

Similar FIT software

Useful Links

About

Multi-platform application for generating FIT files from scales data

Resources

License

Stars

Watchers

Forks

Packages

No packages published