zepp-health / rest-api

251 stars 33 forks source link

Export data description and units #6

Open LeonDpl opened 5 years ago

LeonDpl commented 5 years ago

Hi all, Currently using https://api-mifit.huami.com/t/account_mifit to export my data but having trouble to understand which is the unit used to express distance exporting sports data. Do you know where to find description of the data and units used ?

ShiliangHM commented 5 years ago

Hi, LeonDpl, sorry to reply late. The unit of distance is meter no matter what unit you set in the app

flaflip commented 4 years ago

Hi. I also have this problem. I figured the date is a Unix timestamp but the distance is 1.8484938383. Also the pace values are not in a proper format. How to translate this?

nadavw commented 3 years ago

As far as I resolved in the file under the SPORT dir: The starttime should be converted as epoch [(https://www.epochconverter.com/)] The column "minPace" is the actual distance in meters. The avgPace should be converted using the following formula: avgPace1000 - the results in seconds. The maxPace is the value of the fastest KM and should be converted maxPace1000 - the results in seconds. not sure what the "distance" column refers to...