Open Zxis233 opened 2 years ago
Does this error shown after you log in?
I have the same error message after clicking on the URL the script provides, and logging in with a Xiaomi account:
{"code":404,"message":"routes not found"}
I have Bip Lite, and successfully used this script with the same device/account several months ago to obtain the Bluetooth access token, so it's a recent change.
Ok so I managed to fix my issue by sheer luck. I tried downloading my data directly from the mi fit app (about => compliance) and got an email but when I tried to log in there it said account not registered. I had to add a xiaomi account in the mi fit app (even though I think I set one up when i first used the mi fit app). I was then able to download my data and I figured why not try this again. Now running through the above steps again and everything is the same including the 404 error; except for the very last step: when I paste the url it now sees my device and displays the bt key. I have since succesfully used this with gadgetbridge. Thank you for your amazing work!
Be advised, I was able to get the auth_key for a MiBand 6 by using amazfit
method.
I am pleased to report that this issue is fixed with the current pull.
I bond the Miband 6 with Mi Fit. But after I clicked the link and logging, the return code was 404 and it said that routes not found. Could you help me? I've reset the band and reconnected it with Mi Fit several times, but it didn't work.