Hi!
I extracted files with Bonoboo tasker extraction tool, and got a Mi_Band_Table.csv
I tried to use fitnesssyncer to synd and i got the error "Unknown error has occurred. (Sun Feb 08 16:06:14 PST 2015)"
Any ideas? Maybe the csv from tasker is different? I wanted to use your extraction tool to try, however, my OSX isnt capable to adb right now (always show device offilne...)
Hi.
I'm using Tasker to extract because I cant connect my laptop to my mobile.
Can you tell me the differences in the extraction so i can update my tasker?
Seems that fit2 works great but one thing though ;] What to do when I have fit installed on my phone and it gatheres steps and I add data from mi band. They sum up and I have twice as much steps ;p Will I have to uninstall google fit from my phone?
If you have Google Fit on your phone and it already counts your steps, why would you want to Sync the data from Mi Band?
As far as I understand the way Google Fit works, my app could only delete data that was created by app itself, so you'll need to pick just one app to feed the data into Fit.
It might be technically possible but I do not know Unix/OSX shell scripting well enough to translate "for /F" behaviour and calling subroutines. You may be able to get native curl and jq apps for OSX and then try to manually reproduce all steps from the batch, but this might be a complex undertaking. I think that at this point it might be easier to install VM with Windows or use some Wine implementation to run it natively under Windows.
I guess it's because google fit app is less accurate than miband, and because we wear miband all day and not the mobile phone.
I think i understand his question, because i also have google fit app installed, so i can add sport activities, however i would like the steps to come from miband. Unfortunatly, google fit app doesnt let disable step count.
If you have Google Fit on your phone and it already counts your steps, why would you want to Sync the data from Mi Band?
As far as I understand the way Google Fit works, my app could only delete data that was created by app itself, so you'll need to pick just one app to feed the data into Fit.
So my understanding is that you'd like to have steps coming from Mi Band, but to be able to enter other activities from Google Fit, right? I haven't used Fit app on my phone much, but I do not think it is counting steps for me. When I open settings in Google Fit on my smartphone, I see "Activity detection" switch which reads "allow Google Fit to collect & store data, including your location". I have this setting OFF. Could you try changing it to OFF and see if it stops step counting?
I'd recommend to look into tools made by Bonoboo: http://xdaforums.com/showpost.php?p=56311839can there be a way to make this band vibrate when user is idle lets say for 30mins or an hour? If not, can this funtion be implemented into the MiBand app?
[B]v5.92 06/20/2015[/B]
Added support for Mi Scale - extracting weight history into weight.csv
[B]v5.90 03/14/2015[/B]
Walking and Running statistics with minute granularity are now extracted from Raw data thanks to the input provided by mritsch and Osid.
[B]v5.80 03/07/2015[/B]
Google Fit sync package 0.3:
Fixed error in 1324438.json file which prevented Fit Sync for some users.
Added FitTools.bat which allows pulling various information from Google Fit account.
[B]v5.80 03/01/2015[/B]
Extraction package:
Added experimental support for raw data extraction. To enable raw data extraction, set ExtractRaw=Y in run.bat
Analytics package:
German localization added to analytics package (thanks to joshmosh)
default app_locale.js file is added to analytics package to support data extracted from iOS devices.
Data Extraction Tool v0.1 for iOS is added along with instructions on how to manually extract Mi Band data from iPhone
[B]v5.71 02/16/2015[/B]
Extraction package:
Extra fields added to extract.csv to support for Google Fit sync v0.2.
extract.json is not created anymore, this data is now calculated on the fly from extract.csv
Google Fit sync package 0.2:
Added sync for activity durations (walk duration, run duration, sleep duration)
Added sync for distance walked. Since distance metric is considered location, Token application will request new permission:
https://www.googleapis.com/auth/fitness.location.write
Fixed activity timestamps - Google Fit expects time to be in UTC time zone.
[B]v5.70 02/16/2015[/B]
Extraction package:
Initial support for Google Fit sync.
Google Fit package 0.1:
Initial release
[B]v5.50 02/05/2015[/B]
Extraction package:
Added new columns to CSV file for better FitnessSyncer compatibility.
Added support for time correction. See db\offset.sql for sample entries.
Updated run.sh from [URL="http://xdaforums.com/member.php?u=6091617"]jlaunay[/URL] to support new run.bat parameters and localization.
Analytics package:
Changed mi_data_byDoW.html to use AnnotationChart for right graph - support for time interval zooming.
Added new metric to mi_data_byDoW.html called "SleepTimeline" to show Sleep Timeline chart.
Various small fixes.
[B]v5.35 02/03/2015[/B]
Extraction package:
Fixed logging issue - adb would sometimes lock the log files and subsequent extraction invocations would fail completely on locked log files.
Added support for ADB over Wifi - see instructions in the first post.
Analytics package:
Fixed sorting order on main table
Second fix for incorrect sleep/wake hours calculation
Updated colors across all reports to be consistent
Converted total/deep/light sleep from minutes to hours and minutes in the main table. Show percentages of deep/light sleep compared to total sleep.
Add fall asleep and wake up times as selecrable metrics to mi_data_byDoW.html
mi_data_byDoW.html absorbed all functionality from mi_data_Sleep.html - the sleep calendar functionality and sleep timeline is available when you select Total Sleep metric. You will need to scroll down to see sleep timeline chart.
[B]v5.3 02/02/2015[/B]
Extraction package:
Add new column with number of walk time + run time in seconds (as per request)
Added new parameter ForceBackupMode to skip attempt at rooted extraction and go straight for backup mode
[B]v5.2 02/1/2015[/B]
Splitted program into data extract package and analytics packages. Data extract should be pretty stable now and reports could be updated independently.
Spanish translation (thanks to Viriatox)
[B]v5.1 01/31/2015 [/B]
Fix for incorrect sleep/wake hours calculation
[B]v5.0 01/31/2015[/B]
Localization setting is pulled from Mi database - no need to set it manually anymore (in most cases)
Two completely new reports - Sleep Report and Statistics by day of the week.
Fixes to unix shell script encoding.
[B]v4.0 01/29/2015[/B]
Month number calculation fixed.
Removed extra rows with zeroes that we incorrectly extracted
Localization moved to separate file, all other components are unified for all languages
Scripts for rooted and non-rooted phones combined into one.
Daily goals and data grouping added on main report.
Unix shell script for data extraction (thanks to jlaunay)
French translation (thanks to jlaunay)
[B]v3.0 01/26/2015[/B]
New script to support data extraction for non-rooted phones
Reverse sort order in table part of report, so newest dates are on top.
Week number and day of the week added to report.
[B]v2.0 01/25/2015 [/B]
All needed Windows binaries included in the package.
Batch file to automatically run all binaries to extract the data.
First report showing overall statistics.
[B]v1 01/24/2015[/B]
Initial release.
https://drive.google.com/folderview?id=[B][COLOR="Red"]123-abcdcdefghijklmnopqrstUV[/COLOR][/B]&usp=sharing
0. Get more sleep :)
1. Titles for each chart
2. Implement dashboard comparing current week with previous statistical data. (For same days of week)
3. Use timeline component for right chart in data_byDow.htm
4. Show percentage of good days based on selected goals. Show min/max values for each metric.
5. Modify scatter chart to allow using any other series for X axis (Search/display correlations between sleep time and total number of steps).
6. Make a help page showing all the charts and how to use them.
7. Add ratio of deep/light sleep as part of selectable charts.
8. Merge all reports into single multi-tab document.
9. Parse detailed daily binary data - this is going to be a big one.
From my perception the corresponding class is located in cn\com\smartdevices\bracelet\analysis\DataAnalysis.java