argrento / huami-token

Script to obtain watch or band bluetooth token from Huami servers
MIT License
412 stars 94 forks source link

No linked wearables #66

Open heuwerk opened 2 years ago

heuwerk commented 2 years ago

I get the error message mentioned in the title when trying to log in with my Xiaomi account.

The account exists and I can log in with it.

Can you help me further?

Error Log:

Logging in...
Traceback (most recent call last):
  File "/home/user/git/huami-token/huami_token.py", line 353, in <module>
    device.login()
  File "/home/user/git/huami-token/huami_token.py", line 144, in login
    raise ValueError(f"Login error. Error: {error_message}")
ValueError: Login error. Error: 0117. Account not registered.
heuwerk commented 2 years ago

Sorry, I will try this workaround first: https://github.com/argrento/huami-token/issues/22#issuecomment-733890511

heuwerk commented 2 years ago

Unfortunately, this workaround did not bring any improvement either.

I can now log in, but I do not get any devices as output.

I own a Xiaomi Mi Smart Band 6 with firmware v1.0.6.16

Output:

Token: ['XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]
Logging in...
Logged in! User id: 10000000
Getting linked wearables...

Logged out.
Zzywdl commented 2 years ago

I am very sympathetic to your experience, but I have successfully deleted the device and restored the factory Settings. I hope there is no trouble for you

发自我的iPhone

------------------ Original ------------------ From: heuwerk @.> Date: Tue,Jun 28,2022 11:00 PM To: argrento/huami-token @.> Cc: Subscribed @.***> Subject: Re: [argrento/huami-token] Login error. Error: 0117. Account not registered. (Issue #66)

Unfortunately, this workaround did not bring any improvement either.

I can now log in, but I do not get any devices as output.

I own a Xiaomi Mi Smart Band 6 with firmware v1.0.6.16

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Zzywdl commented 2 years ago

Just stop in the web page and copy and paste the code to your Python3ide application you will get that new code. If you still confused i advice you do it from step one 

Hope you success https://youtu.be/hY_zMnlfuCU

发自我的iPhone

------------------ Original ------------------ From: heuwerk @.> Date: Mon,Jun 27,2022 1:01 AM To: argrento/huami-token @.> Cc: Subscribed @.***> Subject: Re: [argrento/huami-token] Login error. Error: 0117. Account notregistered. (Issue #66)

I get the error message mentioned in the title when trying to log in with my Xiaomi account.

The account exists and I can log in with it.

Can you help me further?

Error Log: Logging in... Traceback (most recent call last): File "/home/user/git/huami-token/huami_token.py", line 353, in <module> device.login() File "/home/user/git/huami-token/huami_token.py", line 144, in login raise ValueError(f"Login error. Error: {error_message}") ValueError: Login error. Error: 0117. Account not registered.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>