mac-zhou / midea-msmart

This is a library to allow communicating to a Midea AC via the Local area network.
MIT License
147 stars 40 forks source link

Add support for 空气能热水器 type = CD #57

Closed Comee closed 2 years ago

Comee commented 2 years ago
PS C:\Users\xp\Desktop> midea-discover
INFO:msmart.cli:msmart version: 0.1.35 Currently only supports ac devices.
INFO:msmart.cli:Sending Device Scan Broadcast...
INFO:charset_normalizer:ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
INFO:charset_normalizer:ascii should target any language(s) of ['Latin Based']
INFO:charset_normalizer:We detected language [('English', 0.9474), ('Dutch', 0.9474), ('Italian', 0.9474)] using ascii
INFO:charset_normalizer:ascii is most likely the one. Stopping the process.
INFO:charset_normalizer:ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
INFO:charset_normalizer:ascii should target any language(s) of ['Latin Based']
INFO:charset_normalizer:We detected language [('English', 0.9474), ('Dutch', 0.9474), ('Italian', 0.9474)] using ascii
INFO:charset_normalizer:ascii is most likely the one. Stopping the process.
ERROR:msmart.security:authentication failed
INFO:charset_normalizer:ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
INFO:charset_normalizer:ascii should target any language(s) of ['Latin Based']
INFO:charset_normalizer:We detected language [('English', 0.9474), ('Dutch', 0.9474), ('Italian', 0.8947)] using ascii
INFO:charset_normalizer:ascii is most likely the one. Stopping the process.
INFO:charset_normalizer:ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
INFO:charset_normalizer:ascii should target any language(s) of ['Latin Based']
INFO:charset_normalizer:We detected language [('English', 0.9474), ('Dutch', 0.9474), ('Italian', 0.8947)] using ascii
INFO:charset_normalizer:ascii is most likely the one. Stopping the process.
INFO:msmart.lan:Got TCP key for 192.168.31.247:57613 -> 192.168.31.41:6444 retries: 0 time: 0.92 4317f49a66f15ae1aa09f9091cba610af35283f3cfcb5e94cfe6950e313422bd
INFO:msmart.cli:*** Found a device: {'type': 'cd', 'support': False, 'version': 3, 'ip': '192.168.31.41', 'id': 162727724647083, 'port': 6444, 'token': 'xxxxxxxxxxxxxxxx', 'key': 'xxxxxxxxxxxxxxxxx', 'ssid': 'midea_cd_0164'}
Comee commented 2 years ago

找到的可能有用的信息

美的设备代码:https://mis.midea.com/docs/control-midea-cloud-devices/cloud-2-cloud-mode.html#%E8%AE%BE%E5%A4%87%E6%8E%A7%E5%88%B6

控制设备接口:https://mis.midea.com/docs/control-midea-cloud-devices/cloud-2-cloud-v2-api.html#_4-5-%E6%8E%A7%E5%88%B6%E8%AE%BE%E5%A4%87

mac-zhou commented 2 years ago

暂无打算