yashsingh1/xdaforums huggingface dataset:
[General Accessories] jcgtreize:
1st time here

Hi all

Comin here fo the 1st time (my 1st band, since 2 weeks, then english isn't my native langage, so...)

So many posts inside this topic, and I can't read them all for now, sorry

I'm looking about MiBand & Nexus 5 Lollipop: The MiFit application (tweaked 1.2.811) see it and do the job (must do a better job I hope, don't tell when I was sleeping...) BUT the system Bluetooth don't see the band so I cant use it in order to unlock my phone

:crying:

Any advice?

If someone wrote about that I apologise, really I can't read all now
[General Accessories] Ofthecats:
Top 3 dots upper right corner, my devices, smart lock, start
[General Accessories] jcgtreize:
1st : French menu, so other texts inside...

Top 3 dots upper right corner inside Bluetooth menu, MiBand isn't :crying: so...

Inside another 3 dots menu maybe, which?

Really Im lost, feel like I was with my 1st ZX81 "computer"...
[General Accessories] Ofthecats:
nothin in french menu that has similar words to what i described?
[General Accessories] jcgtreize:
THANKS

Changed language from French 2 English US, followed what you said, done

Back to French (France)

My missing point was an average EN 2 FR translation, a bit ambiguous
[General Accessories] CanBostanci:
Does it have Google Fit support?
[General Accessories] Bonoboo:
No, but possible will.

If FitnessSyncer service add integration with Google Fit.

They said it will be in near future (darren1 asked).

Then you can automaticly export stats via 3rd party app into CSV > Dropbox > FS > GF
[General Accessories] mir3k:
Sleep as Android Api released

The developer of Sleep as Android (Sleep Tracking and Alarm app) just released an API for third party apps to integrate smart devices. Link: sites.google.com/site/sleepasandroid/doc/3rd-party-smart-watch-integration
[General Accessories] Bonoboo:
There no possibility to get from bracelet accelerometer data that API requires.

Also they clearly said that Mi Band not supported because not have open API (last line in table, thread)
[General Accessories] appl87:
Inaccurate step algorithm

I don't think the step counter takes physical attributes into account at all.

6024 steps / 4.87 km (3.026 miles) = 1990 steps per mile.

Factoring this, my stride would be 1 mile [MENTION=1331062]5280[/MENTION] ft/1990 steps = 2.65 foot stride

A person at 5'11 height (me) would typically have about 2100 steps per mile. I would have to be about 6'6 for this to make sense. My strides cannot possibly be that long. Has anyone else realized this?
[General Accessories] pakure:
My thinking: 1 step is one leg movement... So one step is actually 2 steps (left leg step and right leg step)
[General Accessories] Rebkos:
Is it possible to export measured activity into Runtastic? I have bought and i am using plenty of their apps, so i dont really feel like changing to different sports trackers. Or very leats use Mi Band along with Sleep as Android or Sleep better with Runtastic? Runtastic Orbit is super expensive...
[General Accessories] Devo7v:
http://xdaforums.com/showthread.php?t=3019156

You cannot use the band with any other app than the official MiBand app. However you can extract the data from the official app and load it into the other apps you mentioned.
[General Accessories] HTCtm:
MiBand app issue after february 10 update

After update with version 1.2.811 of the MiBand (now Mi Fit) app from play store, the app won't find the MiBand. Is there an issue with the app?

They added new permissions like phone and camera. I wonder what for?

One of my friends have this issue with a MiBand and a Galaxy S5.

Anyone have the same problem?
[General Accessories] Bonoboo:
Try very older app version, e.g. this and then update for newer.

Know a lot people with those problem.

Calls for their internal health service (to call via number).

Camera - don't know.
[General Accessories] naeem86:
Guys..I just received my mi band. It's really cool. So now what app should I download? Am confused. I see many apps or many versions and I dont know what to use. Can someone guide me plz?
[General Accessories] Bonoboo:
Of course modded

It's based on last and fresh from Chinese market.

In Google Play app very outdated BTW.
[General Accessories] HTCtm:
And what if firmware update error occurred?
[General Accessories] Bonoboo:
Ignore it, firmware in fact must be updated.
[General Accessories] naeem86:
thanks a lot mate. Am really loving it this far!:D

Edit: after i installed the new app..my previous stats of the day got deleted? is that normal? isnt it suppose to be stored in cloud? Also what is you guys firmware version of the band? Mine is 1.0.9.0. Is that good? Cause everytime after updating..it says complete then a notification appears saying couldn't update.
[General Accessories] Bonoboo:
This can happens for unknow reasons.

Normally all stored in cloud and automaticly restored.

It's last firmware.

Such "loop" also happens for some users.

Maybe with next update this will fixed for you.
[General Accessories] signaleleven:
It's not working for me.

I tried running the task, and I verify that the %raw variable actually contains some JSON data.

However, the other variables get set, but they are all empty.

What might be the problem?
[General Accessories] Bonoboo:
Hi,

For test downloaded profile, launched – and all variables are set with correct data.

Hmm, parsing handled by pretty simple JavaScriptlet.

So maybe your Mi Band / Fit app outdated and therefore data format incompatible?

It was changed few times.

Mine 1.3.114, latest from Mi Market

In Google Play app long time not updated. but must be ok.

And Tasker version latest too – 4.6u3

2 All

Small announce: soon will upload app / profile that constantly monitoring connection with bracelet.

So it notify you if Mi Band get lost.
[General Accessories] signaleleven:
Hey Bonobo, thanks for the answer!

I printed the %raw variable and it looks ok.

I also run sqlite3 from the command line to see what it looks like (I simply removed the "where" statement because I did not know the format of the date)

It looks consistent to what the Javascriptlet is trying to parse.

{"slp":{"lt":0,"st":1423782000,"wk":0,"dp":0,"ed":1423782000},"v":5,"goal":7000,"stp":{"rn":0,"cal":33,"runDist":24,"wk":14,"ttl":917,"runCal":1,"dis":610}}
{"cnt":10,"v":1,"pb":{"tc":4,"br":10,"gltc":4,"glbr":9},"cal":1}

I don't have experience with Javascriptlet in Tasker so I did not try to debug it (for example, printing the array after decoding the JSON to see if it is populated)

I have in fact an old one for the Mi, 1.2.922 (the tweaked version). Tasker, same version.

But again, the db is there and the structure seems to be ok. I will try to change the version, though.

Other than that, I am out of ideas :(
[General Accessories] Bonoboo:
Very good that you shared raw data.

I will try to explain.

Pretty old app version had different data format.

In same db cell together with walking / sleep data after line-break was written situps and rope skipping exercises stats.

It's second line in your example and I tricky parsed it too.

After some update it's gone and I removed parsing.

In your case due old app version JS-code not ready for second line and fails.

Also.

Now thanks your bugreport I discovered that latest app writes exc. stats into other db line.

But only if they performed at single day.

This may cause problem too: task will read wrong line and JS-code get unexpected data.

I don't use that counting functionality, so it always worked for me.

So I updated Tasker profile to version 1.5

It ready for exercises data and parses it: how many times you performed situps / rope-jumps today.

I.e. fixed bug where users may can't get data if performed some exercises.

--------------------

Now you need to:

1. Update tweaked companion app for latest version

2. Update profile

Tomorrow your stats will be parsed correctly.

Or even today: unpair bracelet, clear app data. So db will restored from cloud, now in proper format.
[General Accessories] Bonoboo:
2 All

Profile Gathering statistics for use in Tasker updated to version 1.5

Changes

– fixed important bug when data can't parsed if there performed some exercises – thanks signaleleven for tip

– gathering number of your todays situps / rope-skipping exercises

------------------

App / profile Reminder if you moving insufficiently updated to version 1.2

Changes

– fixed important bug when data can't parsed if there performed some exercises
[General Accessories] darren1:
FitnessSyncer have added read option for Google Fit and say write option coming soon. Here is what they tweeted

[MENTION=905034]fitness[/MENTION]Syncer: Use #GoogleFit? We need your help! Please sign up at http://t.co/H8g2TxIuOq and try our Google Fit integration. Adding update ability soon!
[General Accessories] xmxm:
I've released a beta version of my implementation of direct Google Fit syncronization (without the need to use FitnessSyncer service) in my topic http://xdaforums.com/general/accessories/xiaomi-mi-band-data-extraction-t3019156.

You'll need to download newest version of data extract package and miband_fit_01.ZIP. See post #2 in that thread for details on how to run the sync. For now only number of steps is being syncronized, but I plan to add sync for other metrics at some point in the future.

Current sync process will require you to obtain new Oauth token (almost) every time you run the sync - I need to learn more about Google's OAuth2 process and Web development in general to see if this could be better automated. On a side note I'd like to thank Google for providing documentation that is easy to read, but rather incomplete and also for using communication methods that are not easily supported in most browsers.

Please note that this is an early beta and it may have issues syncing data (or might not work at all).
[General Accessories] jelennn:
Hello,

I bought Mi Band to my Lenovo P780 and I have connection problem. I have paired both devices and everything works well but 10-20 times a day connection is lost. And after I open Mi Fit, app try to connect with phone and do a sync but it can't. Only after turning Bluetooth off/on app can connect to phone and do syncing. This is very annoying. Always after night the connection between Mi Band and phone is broken. What can I do about this problem? I need have a real-time notifications on Mi Band so I need have connection between phone and band all the time.

I have Lenovo P780 on 4.4.3 and Xiaomi Mi Band on firmware 1.0.9.0 + Tweaked Mi Fit with notify 1.2.922.
[General Accessories] macia10:
Hi

Google fit sync does not work for me :( It ends without any errors with populating data but I cannot see anything in google fit. I've started it again and got.

C:\Users\plmaciejewk\Desktop\miband_extract_v57>fit
Selected set is derived:com.google.step_count.delta:143391336197:Me:MeBand:1324437:MeStream
Deleting existing data
Populating data

But still nothing :(
[General Accessories] icALASAD:
Do you guys think it will be possible to change range in which Mi Band is able to unlock your phone? Currently it's too wide and almost unusable.
[General Accessories] xmxm:
Check the file post.log inside fit\ directory - does it has some data elements there? As of now I do not post sessions data, so you would not see your steps right away.

To check if your steps got imported, go to fit.google.com, click on the cicrle with number of today's steps to open the chart, select "Month" from data range and "Steps" from dropdown.

I am working on implementing workout sessions sync, so it would be visible right in the google's circle.
[General Accessories] skymera:
Anyone else finding theirs completely useless when driving?

My band counted more than 500 "steps" during the 30 min drive to work. And has counted another 80 since sitting down at my desk.

The actual count when walking is very accurate though
[General Accessories] defsix:
I think this happens with any band. Certainly all the ones I've tried. I don't think you can have it both ways, unless there was someway to tell it you are driving etc.
[General Accessories] skymera:
I can understand a small amount of steps being miscounted but 500 from a 30 minute drive?
[General Accessories] defsix:
I do get about the same. You've to take into account your hand movements. Changing gears, steering, uneven roads.
[General Accessories] herpez:
[MENTION=5037002]Bonoboo[/MENTION]

Is possible to create a task in tasker so we can use the google fit sync implemented by [MENTION=2986005]xmxm[/MENTION] ?
[General Accessories] Bonoboo:
Unfortunately this is too difficult.
[General Accessories] herpez:
[MENTION=5037002]Bonoboo[/MENTION]

and at least and extraction tool compatible? I'm asking this because i cant use the laptop extraction tool provided by xmxm. So i would extract the data via tasker and than sync with google fit with xmxm tool.
[General Accessories] Bonoboo:
There is extra data that must be exported. And it's implemented because sending it to Google as I said too difficult.

Wait when FitnessSyncer implement uploading data to GF – then exported files must be compatible after correct configuring at site.
[General Accessories] xmxm:
I've updated my thread Mi Band Data Extraction Tool with second version of Google Fit sync tool.

Please note Following:

1. You will need download newest versions of both Fit Sync - v0.2 AND Data Extraction - v5.71. New Fit Sync requires v5.71 of data extraction tool.

2. If you upgrade from previous version of Fit Sync tool, you will need to clean up data posted by old version. To do so, once you installed new versions of apps, run following command:

fit clean

3. I've added syncing of many metrics, however some of these are not being shown by Google Fit. New script syncs following:

Walking activity duration

Running activity duration

Total number of steps

Sleeping duration (not shown in Google Fit)

Distance walked (not shown in Google Fit)

If you find a way to enable showing sleeping time and distance walked in Google Fit, please let me know.

4. Distance walked parameter is for some reason requires Location permission from Google Fit, so when you will go to obtain the token, you will be asked to grant Fit Location permission for my application. It probably sounds scary, but this is a requirement to post/update distance metric. My app is not trying to spy on you - you can review the code in fit.bat and see that it only connects to www.googleapis.com. If enough people get concerned about this permission, I will remove distance sync altogether to drop this permission.

5. See post #2 in my thread for more instructions on running Fit Sync.

Here is how my Google Fit shows synced data now:

[IMG="Google Fit"]http://i.imgur.com/kVjMSPj.gif[/IMG]
[General Accessories] xmxm:
If anyone is using their Mi Band to track any additional activities besides walking and running and you would like to have these activities synced up with Google Fit, please send me your origin_db file along with the description of activity you were tracking and the values that Mi Band recorded for that activitiy for couple of days (for example: Swimming - on 2/19 Mi Band tracked 30 minutes or swimming, on 2/20 - 13 minutes etc).
[General Accessories] darren1:
Looks like FitnessSyncer have added Google Fit update support, no announcement yet. Just trying it out.
[General Accessories] xmxm:
Based on my experience with Google Fit, it aggregates the data coming from all sources and this aggregated data remains in place even after original source is being erased. If you would like to try and compare different syncronization methods, I would recommend doing full cleanup (Settings -> Delete All Data) between each test.
[General Accessories] pgptheoriginal:
Is there a way to automate the switch between priority and all notification mode when the band is connected? I'd like my phone to notify new messages only when my Mi Band is not in range, because at the moment I get no vibration for the messages when the band is disconnected.

I quickly tried it with tasker, but I couldn't find how to set this behaviour. Any tips or how tos? Even using other (simpler) apps is ok for me.

Sent from my Nexus 5
[General Accessories] Bonoboo:
There no action to set Priority mode in Tasker.

As workaround you can set volumes to 0 or enable "Vibration only".

Is it ok for you? I can create standalone APK if needed.

Also try AutomateIt app.
[General Accessories] pgptheoriginal:
Actually, I would have liked priority mode to be toggled by the Mi Band.

I'll try AutomateIt, or wait for Tasker to be updated to support priority mode in Lollipop ;)
[General Accessories] mgftp:
Started looking into a cheap fitness tracker, this band looks nearly perfect in many ways except it's not supported by apps such as myfitnesspal. Maybe this isn't a huge deal to some, but for those like myself who believe the biggest part of fitness is diet, it kills this as a potential band. I realize this band hasn't been on the market for too long but I can't find anything about support coming, does anyone here have any info?
[General Accessories] pakure:
Can someone make an app for this to vibrate every hour or so, ..and with quiet hours option....
[General Accessories] Bonoboo:
Link
[General Accessories] pakure:
Thanks.. Will try this... Already have my moto 360 with hourly chime app and watchmaker app doing that on the watch

Thanks, will try this app..:)
[General Accessories] Traxex_:
Did anyone try the necklace band?
[General Accessories] Engelhuber:
Hi guys, I own a MiBand for e few weeks and I'm happy with it. But I'm wondering how to sync the data between two Android devices. Do I need QQ Health?

And can you tell me how to backup all the data in case a sync isn't possible? Where is it stored?

THANKS
[General Accessories] easymacfu:
I've worn mine for 29/31 days so far. It seems accurate enough for a wrist pedometer. The sleep function seems very accurate. I can pretty much just look at the app the next morning to see how many times my dog woke me up the night before (normally too many). After 31 days, I still have 36% battery life. This is probably not typical, as my only complaint is the vibration is broken on mine. Vibration has not worked since I took it out of the box. Tried re-pairing and re-setting every setting, but nothing makes it vibrate. I might see if it magically starts working after the battery eventually runs out in 18 days.

For what I need (especially since my phone is within arms length 95% of the day and I can hear the phone vibrate), it works perfectly. Easily worth the $15 I spent on it.
[General Accessories] Ofthecats:
I've been running 52 days and have 49% battery left. Excellent. Ive completely forgotten it even has a battery.

I keep Bluetooth off most of the time. I usually enter the mi app before/after I sleep to sync.

Sleep tracking seems accurate. Steps less so, but enough for my needs.
[General Accessories] ncube2:
Just got my Mi Band - I have an iPhone 5s. So is the Mi Fit app from app store the only option ?

What features am i missing when compared the cracked Android version. I have a spare android

phone v4.2 - will that suffice.

Cheers !
[General Accessories] pgptheoriginal:
I'm afraid you'll need a 4.4+ android phone with BLE (BT4.0) if you don't want to pair your Mi Band with your iPhone...

Anyway, the only feature iPhone users can miss is notification support, which is a core feature of this band imho, and which I like more than the pedometer itself, but I suppose it depends on your tastes and needs :)

Sent from my Nexus 5
[General Accessories] Kawaisa:
does the tweaked/notify app have miles instead of km?
[General Accessories] Bonoboo:
Sure, checked.

It always based on last version of app.
[General Accessories] tincore:
I'm working on a new health app and I've added support for Miband. Still there are some missing things but it could be great if there were some motivated testers out there.

I'm testing now the activity/sleep analysis and stats.

https://play.google.com/store/apps/details?id=com.tincore.and.gliderun
[General Accessories] darren1:
Does this run independent of the offical MiBand app? I notice you mention Google Fit support on your apps Google Play page, will your app sync the MiBand to Google Fit?
[General Accessories] tincore:
Yes. Totally independent.

At the momento I'm syncing the tracked activities but as soon as I get the sleep right I may also send the step deltas that come from the band.
[General Accessories] lanewhit:
I will give it a go...
[General Accessories] pgptheoriginal:
It looks more like an activity app, to be used only when you go out for a run or something like that, isn't it? Is it an alternative to the whole Mi Fit app?

Sent from my Nexus 5
[General Accessories] tincore:
The target is both things. Detailed tracking and general tracking at the same time. If you go to wearables/sensors the Alarms can be setup for the miband.

As soon as I have the global stats (called now rest stats) tidied up it would become more obvious. I already auto sync activity data with the band. There will be a new alpha in the next hours with steps to google fit integration.
[General Accessories] pakure:
How to connect the band to this app... It is not showing up in the sensors/ wear
[General Accessories] maurizio53:
How to get always the latest release? Only through the play store?
[General Accessories] tincore:
Did you click on the + button?

---------- Post added at 02:55 PM ---------- Previous post was at 02:54 PM ----------

Yes, for now Iḿ uploading the alphas there.
[General Accessories] macia10:
You need to unpair it in mi fit app
[General Accessories] Bonoboo:
Via Mi Market, press green button and install downloaded APK.

If appears signature error – sync, unpair bracelet, delete current app, install new.

Later it will be unnecessary.

BTW after test launch without unpairing (only force stop Mi Fit) alarms won't work. This was a bit unpleasant.

In app was two toasts "Alarm cleared".

After unpairing, logout, log-in and pairing alarm works again.

So 2 All – be careful with alarms, perform test: set it few minutes forward.

And maybe create dedicated thread for app?

So users can discuss and test it there.
[General Accessories] tincore:
Done

http://xdaforums.com/android/software/app-gliderun-alpha-t3057985

About the alarms. The first time you exit the miband setup screen I send the new alarm configuration to the band. The alarms are disabled so they would be cleared. Isnt that what is happening? (We could continue this on the app thread)
[General Accessories] Bonoboo:
2 All who owns Windows Phone

There is unofficial MiBand Tracker app
[General Accessories] naeem86:
Hi guys..am seeing there's a new update from the playstore on 16 march. How should I get it? Go to the mi forum?
[General Accessories] JustinSang:
Can you make an app or tutorial to light of the lights on Miband ?
[General Accessories] uniqdom:
I'm planning to buy this, but I have a question. does it have to be ALL the time connected/paired with the smartphone in order to work?

I mean, I would love to do some sports (run, etc) without my smartphone, just with the wristband. It will track my sports and then when the connectivity is done with my smartphone it will transfer the data, right? And what if I set an alarm, and I leave my smarphone in my house. If I'm not in my house, will the alarm function work?
[General Accessories] naeem86:
No..I connect mine only like 3 4 times per day. The wristband has got some memory in it. It can track ur activities for several days without bwing connected to your phone. But it is preferable to sync ur band everyday or every night before going to sleep.

And for the alarm also it will work. I havent use the alarm function that much since having mine. I think I used it only twice.( have mine for like nearly 2 months) But when I used my alarm, I wasnt connected to my phone. I just set it in my app and disconnected. And it kept ringing and snoozing. :D

Hope I answered your questions. :)