zepp-health / rest-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export data description and units

LeonDpl opened this issue · comments

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 ?

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

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?

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 maxPace
1000 - the results in seconds.
not sure what the "distance" column refers to...