c1pher-cn / tmall-bot-x1 Goto Github PK
View Code? Open in Web Editor NEW天猫精灵智能家居技能对接homeassistant
天猫精灵智能家居技能对接homeassistant
提示The redirect URI is missing or do not match, 3秒后返回设备列表。error_log记录下来的redirect_uri正确,数据库中oauth_clients的记录也正确,非常费解。。
$_SESSION['userinfo']['user_id']
为空 。。。 我的是 linux + nginx +mysql5.6 + php5.6环境!
看起来这个CALLBACK.PHP像是用户做登录的,直接往SESSION写入一个用户,然后跳转到 information.php?跳转后提示 “POST为空c1pher001” 求帮助
根据教程搭建相关环境后,授权后提示外部服务器异常提示3秒后返回设备列表,请问我是哪里出了问题
现在好像没有办法对接了,需要api密码,但是新版hass 没有这个了。
homeassistant登录需要账号密码,值给密码无法通过验证
如题,新的homeassistant改了认证方式,支持长期的token,有没有办法可以支持,不太懂PHP
对于电视能实现换台和音量吗
aligenies_request.php
279行应改为
$query_response = file_get_contents($URL."/api/".$action."/".$item['deviceId'], false, $context);
301行应改为
$query_response = file_get_contents($URL."/api/".$action."/".$deviceId, false, $context);
提示“调用会员中心授权验证失败, 3秒后返回设备列表”。oauth_authorization_codes表已经有生成的authorization_code了。我有post测试工具填authorization_code可以生成到oauth_access_tokens 的token的。请问是那里出问题了?
添加虚拟设备一直显示添加失败,数据库确认是正确的,求解答可能是什么原因
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.