Yonsm / MiService

XiaoMi Cloud Service for mi.com
MIT License
662 stars 201 forks source link

ha配置小米账号 报错 #4

Open gmshiwoge opened 3 years ago

gmshiwoge commented 3 years ago

Setup failed for zhimi: Requirements for zhimi not found: ['miservice>=2021.3.24']. 提示这个 配置 zhimi: username: '18xxxxxxxx' password: 'xxxxxxxx'

ilaer commented 3 years ago

尝试用账号,而非手机号码。

Sciroccogti commented 3 years ago

似乎需要带引号,譬如 export MI_USER="189xxxxxxx",即便使用手机号也可以。

zlc000190 commented 1 year ago

账号在哪里配置啊?

jjiikkkk commented 1 year ago

似乎需要带引号,譬如 export MI_USER="189xxxxxxx",即便使用手机号也可以。

scription': '登录验证失败', '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/ubuntu/.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 ubuntu@VM-4-7-ubuntu:~/MiService$

永远都是这样,上不去

jkj-jim commented 1 year ago

这一步是登录你的小米账号,不是随便配置的