Search found 2 matches

by 13155558863
2024年 Apr 15日 20:20
Forum: 云开发
Topic: 设备连接求助
Replies: 5
Views: 569

Re: 设备连接求助

感谢您的回复,我之前尝试过sdk对接(https://github.com/tuya/tuya-connector-python),但是没有成功,查询服务端的日志显示: { "msg": "permission deny", "code": 1106, "t": 1713183217136, "success": false, "tid": "96631529fb2111eeba765ed3ad93e519" } 我问tuya提供的ai助手,它表示是因为没...
by 13155558863
2024年 Apr 14日 15:42
Forum: 云开发
Topic: 设备连接求助
Replies: 5
Views: 569

设备连接求助

尝试使用万能红外遥控器通过接口控制空调。目前postman已经调通。 调通的接口文本: url = "https://openapi.tuyacn.com/v1.0/devices/6cb0efdfcfd228ef8baai2/commands" body= json.dumps({ "commands": [ { "code": "PowerOff" } ] }) headers = { 'client_id': '5yw7u9j445wfxpsw5e35', 'access_token': 'd1aead510...