[General Accessories] xmxm:
Report descriptions:

mi_data.html:

This report shows overview of the data being extracted. It consists of 3 elements:

a. The chart on the left shows sleep data over time. Total bar height represents overall sleep time and colored segments represent light and deep sleep parts of it.

b. The chart on the right shows daily activity metrics over time. It shows total distance, number of steps and calories burned.

c. The chart on the bottom shows all data inside text table. You can sort the data by any column by clicking on the title of that column. If you select any specific row in the table, same day will be hightlighted in two other charts.

Both graphic charts also show target goals in green line, so you could see how well your results are matching target values. You can dynamically change target values by pressing + and - buttons. The table below has arrows next to Total Sleep and Total Steps columns which would be green for days when goal was met and red for days when goal was not achieved.

mi_data_byDoW.html:

This report allows you to see the scatter of your activities grouped by the day of the week.

This would be a good chart to see if you are performing better on any specific day of the week.

There are 4 charts on that report:

a. The left chart shows various metrics in scatter chart. You can select a specific metric from the dropdown located above the chart. You can also see a daily goal trendline in green and an approximation line in black. If the approximation line is not flat and you have statistics over many weeks, this might mean that your performance is consistently different depending on the day of the week.

b. The right chart shows line chart data for the metric selected in the left chart. It has time zoom controls at the top to only show the data over last day, last 5 days, 1 week, 1 month, 3 months, 6 months and 1 year. You can also select time interval manually by dragging time sliders at the bottom of the chart.

c. The chart at the bottom is a calendar view for your activity-related metrics. It shows a calendar and each days recorded activity is colored based on whether the value for that activity is above or below the goal. The days that have metric value below daily goal will be colored red, the days with metric value above the goal will be colored blue. The higher the deviation from the goal, the more intense color would be. In other words, the days where results are significantly above the goal would be colored in saturated blue and the days where results are significantly below the goal would be colored in saturated red.

This chart could help searching for more complicated patterns in your performance, patterns that are not just days of the week.

You can also change goal values dynamically by using + and - buttons at the top and see green trendline moving on the left chart and days changing colors on the bottom chart.

d. The last chart shows a timeline of your sleep on a daily level. This chart will only be visible if you select "Sleep Timeline" metric from the dropbox. This chart shows the time you went to sleep and the time you woke up. It shows this information for each day the history data is available and weekends are colored in a different color. This chart could help you to see how consistent your sleep/wake hours across different days and also if you have same sleeping patterns on weekends.

Google Fit Syncronization:

Limitations:

1. Daily summary statistics is synced, so charts by Week and Month will show correct data; chart by day will show correct totals, but not correct hourly breakdown.

Prerequisites:

1. You need to have at least version 5.71 of miband_extract package.

2. You will need to have Internet access and your browser should be configured to enable pop-ups at least from a specific domain below.

3. You need to open following URL: Get Fit Token and allow it to access your Google Fit data. Latest version of Chrome worked for me, while IE 11 had issues with popups.

Installation:

1. Download latest version of meband_fit package and unpack it to the directory where you have miband_extract v5.71 or above.

2. If you upgrade from previous version of fit sync package, you will need to clean up old data populated by old version. To do so run following command:

fit clean

Running Sync:

1. Synchronize your data from smartphone to desktop.

2. Obtain a new OATH key for syncing data with Fit - open Get Fit Token and copy resulting string to your clipboard.

3. Run fit.bat and when asked for new token paste the string from previous step and press enter. If fit.bat did not ask you for token and failed with Authentication error, just run it again.

Troubleshooting:

1. The process is logging into fit\*.log files. If you have errors, review these logs first.

2. The token from step 2 is valid for 1 hour - you will need to refresh the token after that. After 1 hour subsequent fit syncs will start failing until you obtain a new token.

3. Current token is cached in GKey environment variable. Once batch determines that old token is expired, it would clean the variable and will ask you for a new key on a subsequent run.