argrento/huami-token

No linked wearables

heuwerk opened this issue · 4 comments

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.

Sorry, I will try this workaround first: #22 (comment)

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.