Yonsm / .homeassistant

Home Assistant Extras for Yonsm
418 stars 139 forks source link

天猫精灵显示token返回不正确 #6

Open fireinice opened 5 years ago

fireinice commented 5 years ago

使用aligenie.py放到customize_components后,configuration中配置了aligenie, aligenie: expire_hours: 8760

但是从天猫精灵平台点进行配置后,显示token返回不正确。

debug日志中可以看到有code返回了: 2019-03-14 14:11:39 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow/2d814dfec6b54696994597a80f3fed26

但是没看到token相关的访问记录 请问需要再额外配置什么么?

天猫精灵开放平台配置如下: `账户授权连接 https://abc.com:543/auth/authorize Client ID https://open.bot.tmall.com/ Client Secret doesntmatter 跳转 URL https://open.bot.tmall.com/oauth/callback

Access Token URL https://abc.com:543/auth/token `

Yonsm commented 5 years ago

抱歉,请问现在好了么