DATA MODEL Vifit Tracker Stats - Medisana/vitadock-api GitHub Wiki
(access with tracker/stats)
TrackerStats are generated / refreshed whenever new Tracker Activity / Tracker Sleep data is uploaded to the server. The measurementDate is / must be set to 0:00am UTC of the day that corresponds to the measurements. Running_steps are added on top of steps, i.e. if someone walks 8000 steps and runs 2000 steps, "steps" would show 8000 and "running_steps" would show 2000 (instead of steps showing 10000 and running_steps showing 2000).
Friendly Name | Parameter name | Description | Type | Comment |
Calories | calories | Calories | Float | |
Steps | steps | Number of steps (including running steps) |
Integer |
|
Running Steps | running_steps | Number of steps done running | Integer | |
Distance | distance | Distance walked/run | Float | |
Duration activity | duration_activity | Sum of all activity duration in minutes | Integer | Range: 1-1440 minutes |
Duration sleep | duration_sleep | Total sleep duration in minutes | Integer | Range: 1-1440 minutes |
Excellent sleep quality duration | excellent_sleep_quality_duration | Total sleep duration with an excellent sleep quality | Integer | Range: 1-1440 minutes |
Good sleep quality duration | good_sleep_quality_duration | Total sleep duration with a good sleep quality | Integer | Range: 1-1440 minutes |
Medium sleep quality duration | medium_sleep_quality_duration | Total sleep duration with a medium sleep quality | Integer | Range: 1-1440 minutes |
Bad sleep quality duration | bad_sleep_quality_duration | Total sleep duration with a bad sleep quality | Integer | Range: 1-1440 minutes |
Sleep quality | sleep_quality | Total movements during that sleep | Integer |