Comments (9)
Okay so after hours of research, it turns out that they changed the authentification method.
While I don't have a solution for this, I was at least able to extract the token to get gadget bridge to work by doing the following:
- Install Notify for Mi Band
- Download Firmware 1.0.3.22 and install it with an "update" with Notify for Mi Band in it's settings.
- Install the modded Mi Fit 5.0.1 app from freemyband and pair the band with the app.
- Take AuthKey from the file created by freemyband.
I'm only typing this up in case it helps anyone else with the same issue.
from huami-token.
Hello! Can't confirm that.
Authentication from the Gadgetbridge issue 2360 is a authentication between Mi Band and app, not between app and a server. I just checked: for my Xiaomi account, script returns all auth keys for all devices.
If you use xiaomi
login method, you do not need to specify e-mail and password (with keys -e
and -p
), because e-mail and pass will be prompted at the login page in your browser. Probably you have multiple accounts. Ensure that the user id in the Mi Fit app is equal to the user id printed by the script (Logged in! User id: ...
).
from huami-token.
Thanks for taking your time to look into this - especially since it's my incompetence to use it made you take the time. I'll close the issue then if the script still works as intended.
I'm sure I used the same account tho.
It's "solved" for me now through this alternative process.
from huami-token.
I'd like to clarify,
- You have paired your Mi Band 6 with your Mi account and see this device in Mi Fit app.
- The user id in the script output and Mi Band is the same.
- You have a single device paired to your Mi account.
from huami-token.
- Yes
- Interestingly no! Thanks for asking, I did not check that.
It is interesting because I literally just reinstalled the app and logged in with the same credentials on both devices. So I guess that's why I don't receive any result, but since I use the same credentials, I have no idea what to do about it. - Yes.
IMHO you can close this issue since it's apparently my fault for having two accounts.
Sorry for taking your time like this.
from huami-token.
Thanks for your answers!
from huami-token.
I'm having the same issue. The script shows a different user id even though I'm using the same account.
Also, I can't see any devices in the 'Manage Devices' section on the Mi Account website, even though it's paired in the app.
from huami-token.
I too see no linked devices. Repro steps:
- Create MI Account
- Login to Mi Fitness
- See an 'Account Not Registered' error while running the script.
- Link MI account through Zepp app.
- Successfully run script, see no 'linked wearables'
from huami-token.
I was using the MiFitness App. Switching to the MiFit App seemed to register the device properly (although I think the app was renamed).
from huami-token.
Related Issues (20)
- ModuleNotFound HOT 8
- 我已经注册了小米的账号 还是一直报这个问题
- Questions about Xiaomi Wear liteApp HOT 3
- no mac or auth_key analyzed HOT 4
- please,help me fix it!!!! HOT 3
- 404 Error after logged by XIaomi Account HOT 6
- Unable to start getting AuthKey using Xiaomi account HOT 1
- method amazfit - ValueError: Wrong E-mail or Password.Error: ['401'] HOT 3
- huami-token
- Please add support for mi wear lite (now known as Mi fitness)
- Pls add support for mi wear lite(now known as mi fitness)
- Error when bind Mi account HOT 4
- 最后一步获取认证key为0x00 HOT 1
- Error 401 when correct details are inputted (Amazfit Method)
- ValueError: Login error. Error: 0125
- No linked wearables HOT 4
- ValueError: Login error. Error: 0121 HOT 1
- Mi band 5
- Xiaomi Mi Band 7 Pro
- Same
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huami-token.