Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

micli list got Error https://api.io.mi.com/app/home/device_list: Login failed #28

Open
mm2fox opened this issue Mar 25, 2023 · 9 comments

Comments

@mm2fox
Copy link

mm2fox commented Mar 25, 2023

Exception on login mm2fox: {'qs': '%3Fsid%3Dxiaomiio%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '0psXfr43eNI0IX6q9Suk3qWbRqU=', 'sid': 'xiaomiio', 'result': 'error', 'captchaUrl': None, 'callback': 'https://sts.api.io.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Traceback (most recent call last):
File "/home/mm2fox/.local/lib/python3.10/site-packages/miservice/miaccount.py", line 69, in login
raise Exception(resp)
Exception: {'qs': '%3Fsid%3Dxiaomiio%26_json%3Dtrue', 'code': 70016, 'description': '登录验证失败', 'securityStatus': 0, '_sign': '0psXfr43eNI0IX6q9Suk3qWbRqU=', 'sid': 'xiaomiio', 'result': 'error', 'captchaUrl': None, 'callback': 'https://sts.api.io.mi.com/sts', 'location': '', 'pwd': 0, 'child': 0, 'desc': '登录验证失败'}
Error https://api.io.mi.com/app/home/device_list: Login failed

@gemingzhe
Copy link

我也遇到这个问题了,这是为什么

@fuxiyc
Copy link

fuxiyc commented Mar 31, 2023

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username=''
self.password=''

@gemingzhe
Copy link

oo ,我是Mac系统

@jjiikkkk
Copy link

jjiikkkk commented Apr 9, 2023

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username=''
self.password=' 那也就是说 他们的源代码有BUG了

@jjiikkkk
Copy link

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username='' self.password=''

改了也没用,我真的怀疑,这个方法被和谐了

@bowencool
Copy link

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username='' self.password=''

改了也没用,我真的怀疑,这个方法被和谐了

我改了可以用

@BruceChen5683
Copy link

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username='' self.password=''

有效

@firstuanl
Copy link

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username='' self.password=' 那也就是说 他们的源代码有BUG了

谢谢,用这个方法解决了

@snpstudios
Copy link

好像是因为在windwos中 用户名和密码并没有被读取到,我在miaccount.py的第56行下手动设置了self.username='' self.password=' 那也就是说 他们的源代码有BUG了

我修改了无效
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants