georgezhao2010 / midea-auto-codec Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
电饭煲型号为美的MB-40LS02。用Midea AC LAN能添加电饭煲,但不能控制。
需求为一键预约明天煲早餐。
尝试Midea Auto Codec的v0.0.5版本,提示错误。
Home Assistant版本为
Core:2024.2.5
前端:20240207.1
在homeassistant启用调试日志,提示如下消息:
2024-03-28 00:22:03.177 DEBUG (MainThread) [custom_components.midea_auto_codec.core.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'udpid': 'c8afdbdfaaf9a688b991ca0672xxxxxx, 'reqId': '49205b7e5eb1c31d15258d8b91652d64', 'stamp': '20240328002203'}, response: b'{"msg":"\xe8\xb0\x83\xe7\x94\xa8\xe4\xb8\x9a\xe5\x8a\xa1\xe7\xb3\xbb\xe7\xbb\x9f\xe5\xbc\x82\xe5\xb8\xb8(\xe8\xae\xbf\xe9\x97\xae\xe5\x9c\xb0\xe5\x9d\x80\xe4\xb8\x8d\xe5\xad\x98\xe5\x9c\xa8) [no Route matched with those values]","code":40404}'
2024-03-28 00:22:03.178 DEBUG (MainThread) [custom_components.midea_auto_codec.config_flow] Successful to take token and key, token: ee755a84a115703768bcc7c6c13d3d629aa416f1e2fd798beb9f78cbb1381d091cc245d7b063aad2a900e5b498fbd936c811f5d504b2exxxxxxxxxxbbc6d1xxx, key: ed37bd31558a4b039aaf4e7a7a59aa7a75fd910168xxxxxxxxxxxx5d28xxxaxxx, method: 99
2024-03-28 00:22:03.220 DEBUG (MainThread) [custom_components.midea_auto_codec.core.device] [210006721281xxx] Connecting to 192.168.31.66:6444
2024-03-28 00:22:03.250 DEBUG (MainThread) [custom_components.midea_auto_codec.core.device] [210006721281xxx] Connected
2024-03-28 00:22:03.276 DEBUG (MainThread) [custom_components.midea_auto_codec.core.device] Handshaking
2024-03-28 00:22:03.318 DEBUG (MainThread) [custom_components.midea_auto_codec.core.device] [210006721281xxx] Authentication failed
阅读代码没有找到解决方法,在请大神指点。
添加设备时提示:无法连接到指定设备
控制台输出
{'msg': '调用业务系统异常(访问地址不存在) [no Route matched with those values]', 'code': 40404}
{'msg': '调用业务系统异常(访问地址不存在) [no Route matched with those values]', 'code': 40404}
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.