At least in the Edge 800 the weight information is stored in Garmin\Weight\Weight.fit. If Garmin does not let the manual input of fitness data but the weigth lets edit ourselves the Weight.fit file. Let´s use the FIT SDK for that!
- There are many ways to generate a Weight.fit file we will use the following stratregy: To edit the Weight.fit we will convert it to a .csv file edit that file and convert it again into Weight.fit
The process is as follows (with FIT SDK 1.0)
- Download the FIT SDK from http://www.thisisant.com/pages/products/fit-sdk (The documentation is quite good by the way)
- Backup Garmin\Weight\Weight.fit
- We will use the java utility FitCSVTool.jar that is inside the java directory (if java is not instaled in the computer download it from java.com)
- In the command line execute java -jar FitCSVTool.jar -b Weight.fit Weight.csv
- Open Weight.csv and add the following lines (adapted to the correct values for a particular reading. If you do not want to input a particular eading leave it blanc but keep the commas. Beware the line breaks. Each line begings always with Definition or Data)
Definition,0,weight_scale,timestamp,1,,weight,1,,percent_fat,1,,percent_hydration,1,,visceral_fat_mass,1,,bone_mass,1,,muscle_mass,1,,basal_met,1,,active_met,1,,
Data,0,weight_scale,timestamp,667690680,s,weight,71.3,kg,percent_fat,22.3,%,percent_hydration,8,%,visceral_fat_mass,3,Kg,bone_mass,15,Kg,muscle_mass,45.5,Kg,basal_met,1500,kcal/day,active_met,2300,kcal/day,
Definition,1,device_info,timestamp,1,,battery_voltage,1,,cum_operating_time,1,,,,,,,,
Data,1,device_info,timestamp,667690680,s,battery_voltage,1.5,V,cum_operating_time,45126,s,,,,,,,
- In the command line execute java -jar FitCSVTool.jar -c Weight.csv Weight.fit
- Copy Weight.fit into Garmin\Weight
- login into Garmin Connect, Upload data and select fitness data.
- Enjoy
Info:
- Absolutely no warranty ;-)
- I repeat it again. Backup Weight.fit
- This my first attempt. Things have to be ironed out.
- The timestamp are the slapsed seconds since UTC 00:00 Dec 31 1989. For a particular date they have to be calculated.
- I try to update the following fields: weight, percent_fat, percent_hydration, visceral_fat_mass, bone_mass, muscle_mass, basal_met, active_met. But visceral_fat_mass does not get updated.
To erase a reading from a weight scale, and keep it from appearing again and again when importing, open the Weight.csv file and erase the reading. Then generate again the Weight.fit file.