mac_zhou 发表于 2020-6-29 11:33:12

guanine 发表于 2020-6-28 23:51
5台美的空调,也是找了很久控制办法。
多谢mac_zhou的努力研究,虽然我这边还没接入成功



先安装msmart 然后运行 midea-discover 看看是否支持
pip3 install msmart
midea-discover -d

Rie 发表于 2020-6-29 13:29:34

666感谢分享!!家里全是美的空调

guanine 发表于 2020-7-7 00:19:34

是不支持么?
多台美的智弧和极酷,TCP6444可以连接

# midea-discover
INFO:msmart.cli:msmart version: 0.1.20
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
# midea-discover -d
INFO:msmart.cli:Debug mode active
INFO:msmart.cli:msmart version: 0.1.20
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
#
# nc -t 192.168.1.205 6444
# nc -t -z 192.168.1.205 6444
Connection to 192.168.1.205 6444 port succeeded!

mac_zhou 发表于 2020-7-7 09:41:44

guanine 发表于 2020-7-7 00:19
是不支持么?
多台美的智弧和极酷,TCP6444可以连接



你这是在哪里运行midea-discover的呀 需要在局域网内的机器 不要在docker之类中运行 需要有局域网的ip

guanine 发表于 2020-7-7 19:22:43

脚本和空调同处于一个lan下,192.168.0.0/22

ssl12281982 发表于 2020-7-8 01:01:57

虽然我的极光先锋不支持   不过真的好期待支持大牛

mac_zhou 发表于 2020-7-13 16:53:26

之前未成功的人 请跟我联系一下 新协议有一些进程 需要你协助测试

fineemb 发表于 2020-7-13 18:25:45

PS C:\Users\zhang> pip3 install msmart
Collecting msmart
Downloading https://files.pythonhosted.org/packages/3d/d8/207778784f551d85ccf08392e569eb4aa5da0dbf8a8c977663256204ba07/msmart-0.1.20-py3-none-any.whl
/pycryptodome-3.9.8-cp37-cp37m-win_amd64.whl (14.1MB)
   |████████████████████████████████| 14.1MB 6.4MB/s
Installing collected packages: pycryptodome, msmart
WARNING: The script midea-discover.exe is installed in 'C:\Users\zhang\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed msmart-0.1.20 pycryptodome-3.9.8
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
PS C:\Users\zhang> midea-disvover
midea-disvover : 无法将“midea-disvover”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括
路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ midea-disvover
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (midea-disvover:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

fineemb 发表于 2020-7-13 18:33:21

fineemb@zhang:/mnt/c/Users/zhang$ pip3 install msmart
Collecting msmart
Downloading msmart-0.1.20-py3-none-any.whl (14 kB)
Collecting pycryptodome
Downloading pycryptodome-3.9.8-cp38-cp38-manylinux1_x86_64.whl (13.7 MB)
   |████████████████████████████████| 13.7 MB 30.2 MB/s
Installing collected packages: pycryptodome, msmart
WARNING: The script midea-discover is installed in '/home/fineemb/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed msmart-0.1.20 pycryptodome-3.9.8
fineemb@zhang:/mnt/c/Users/zhang$ midea-discover
midea-discover: command not found
fineemb@zhang:/mnt/c/Users/zhang$ midea-discover
midea-discover: command not found
fineemb@zhang:/mnt/c/Users/zhang$

boyyao 发表于 2020-7-13 19:15:53

mac_zhou 发表于 2020-7-13 16:53
之前未成功的人 请跟我联系一下 新协议有一些进程 需要你协助测试

需要华菱的么?期待中~~~
页: 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21
查看完整版本: 美的空调-局域网协议控制[新协议已支持]