Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Login step for Xiaomi method failing #32

Open
johnnymck opened this issue Apr 6, 2021 · 3 comments
Open

Login step for Xiaomi method failing #32

johnnymck opened this issue Apr 6, 2021 · 3 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@johnnymck
Copy link

When running python huami_token.py --method xiaomi --bt_keys and following the instructions in README.md, after the copying and pasting the redirect URL into the terminal, I get the following error:

Traceback (most recent call last):
  File "huami_token.py", line 352, in <module>
    device.login()
  File "huami_token.py", line 141, in login
    raise ValueError(f"Login error. Error: {login_result['error_code']}")
ValueError: Login error. Error: 0117```

If this is an error on my end, I'll be glad to best figure out how to solve this :)
@argrento
Copy link
Owner

argrento commented Apr 6, 2021

This error stands for AUTH_SERVER_ERROR_ACCOUNT_NOT_REGISTER. Try this: #22 (comment)

@argrento argrento self-assigned this Apr 6, 2021
@argrento argrento added the bug Something isn't working label Apr 6, 2021
@johnnymck
Copy link
Author

I'll give this a go, thanks :)

@argrento argrento added the duplicate This issue or pull request already exists label Apr 6, 2021
@johnnymck
Copy link
Author

Tried linking with Zepp, then trying the amazfit login. Worked a treat, TYSM. Might want to add a note to this effect on the readme?

Cheers and all the best.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants