Login step for Xiaomi method failing
johnnymck opened this issue · 3 comments
johnnymck commented
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 commented
This error stands for AUTH_SERVER_ERROR_ACCOUNT_NOT_REGISTER
. Try this: #22 (comment)
johnnymck commented
I'll give this a go, thanks :)
johnnymck commented
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.