Yonsm / MiService

XiaoMi Cloud Service for mi.com
MIT License
634 stars 185 forks source link

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

Open mm2fox opened 1 year ago

mm2fox commented 1 year ago

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 commented 1 year ago

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

fuxiyc commented 1 year ago

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

gemingzhe commented 1 year ago

oo ,我是Mac系统

jjiikkkk commented 1 year ago

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

jjiikkkk commented 1 year ago

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

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

bowencool commented 6 months ago

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

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

我改了可以用

BruceChen5683 commented 5 months ago

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

有效

firstuanl commented 4 months ago

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

谢谢,用这个方法解决了

snpstudios commented 2 weeks ago

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

我修改了无效

image image