Code Monkey home page Code Monkey logo

Comments (9)

SpinahVieh avatar SpinahVieh commented on June 13, 2024

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:

  1. Install Notify for Mi Band
  2. Download Firmware 1.0.3.22 and install it with an "update" with Notify for Mi Band in it's settings.
  3. Install the modded Mi Fit 5.0.1 app from freemyband and pair the band with the app.
  4. 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.

argrento avatar argrento commented on June 13, 2024

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.

SpinahVieh avatar SpinahVieh commented on June 13, 2024

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.

argrento avatar argrento commented on June 13, 2024

I'd like to clarify,

  1. You have paired your Mi Band 6 with your Mi account and see this device in Mi Fit app.
  2. The user id in the script output and Mi Band is the same.
  3. You have a single device paired to your Mi account.

from huami-token.

SpinahVieh avatar SpinahVieh commented on June 13, 2024
  1. Yes
  2. 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.
  3. 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.

argrento avatar argrento commented on June 13, 2024

Thanks for your answers!

from huami-token.

Pi77Bull avatar Pi77Bull commented on June 13, 2024

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.

mpope9 avatar mpope9 commented on June 13, 2024

I too see no linked devices. Repro steps:

  1. Create MI Account
  2. Login to Mi Fitness
  3. See an 'Account Not Registered' error while running the script.
  4. Link MI account through Zepp app.
  5. Successfully run script, see no 'linked wearables'

from huami-token.

mpope9 avatar mpope9 commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.