We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HA错误提示login fail: not exist,对应的是获取不到usertoken。 已通过以下命令,授权第三方应用,并可以看到usertoken,不知道啥原因? import time import hashlib tick = int(time.time()) appkey = " " callbackurl = "http://localhost" apptoken = " " sdata = "appkey=" + appkey sdata += "&auth_callback=" + callbackurl sdata += "&time=" + str(tick) sdata += "&apptoken=" + apptoken sign = hashlib.md5(sdata.encode(encoding='UTF-8')).hexdigest() url = "https://api.ilifesmart.com/app/auth.authorize?id=001&" url += "&appkey=" + appkey url += "&time=" + str(tick) url += "&auth_callback=" + callbackurl url += "&sign=" + sign url += "&lang=zh" print(url)
import time import hashlib tick = int(time.time()) appkey = " " callbackurl = "http://localhost" apptoken = " " sdata = "appkey=" + appkey sdata += "&auth_callback=" + callbackurl sdata += "&time=" + str(tick) sdata += "&apptoken=" + apptoken sign = hashlib.md5(sdata.encode(encoding='UTF-8')).hexdigest() url = "https://api.ilifesmart.com/app/auth.authorize?id=001&" url += "&appkey=" + appkey url += "&time=" + str(tick) url += "&auth_callback=" + callbackurl url += "&sign=" + sign url += "&lang=zh" print(url)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HA错误提示login fail: not exist,对应的是获取不到usertoken。
已通过以下命令,授权第三方应用,并可以看到usertoken,不知道啥原因?
import time import hashlib tick = int(time.time()) appkey = " " callbackurl = "http://localhost" apptoken = " " sdata = "appkey=" + appkey sdata += "&auth_callback=" + callbackurl sdata += "&time=" + str(tick) sdata += "&apptoken=" + apptoken sign = hashlib.md5(sdata.encode(encoding='UTF-8')).hexdigest() url = "https://api.ilifesmart.com/app/auth.authorize?id=001&" url += "&appkey=" + appkey url += "&time=" + str(tick) url += "&auth_callback=" + callbackurl url += "&sign=" + sign url += "&lang=zh" print(url)
The text was updated successfully, but these errors were encountered: