『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: mac_zhou

[插件集成] 美的空调-局域网协议控制[新协议已支持]

  [复制链接]

0

主题

27

帖子

101

积分

注册会员

Rank: 2

积分
101
金钱
74
HASS币
0
发表于 2021-10-26 11:05:36 | 显示全部楼层
华凌可以完美接入码?最近打算买空调,有大神指点一下吗
回复

使用道具 举报

0

主题

15

帖子

111

积分

注册会员

Rank: 2

积分
111
金钱
96
HASS币
0
发表于 2021-10-28 09:52:12 | 显示全部楼层
使用midea-discover -d 命令后,可以看到内网3个设备,但是接下来确一直出现如下提示 有人看看吗?谢谢
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"322e389d-e427-4720-9107-ad9f0e105890"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"957e20b3-15a5-4127-b6ae-56b68b2730ec"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"115b0e8f-d25c-4e71-8dc1-eb2df527764c"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"password error,please enter again.","errorCode":"3101"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"30e38c17-3460-4d1a-9600-f756dc40ab1b"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"bf00be4a-404f-4f78-9f5e-5941e4e1149e"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
回复

使用道具 举报

0

主题

15

帖子

111

积分

注册会员

Rank: 2

积分
111
金钱
96
HASS币
0
发表于 2021-10-28 10:10:06 | 显示全部楼层
有人可以帮忙看看吗?谢谢

INFO:msmart.cliebug mode active
INFO:msmart.cli:msmart version: 0.1.35 Currently only supports ac devices.
INFO:msmart.cli:Sending Device Scan Broadcast...
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:msmart.scanner:Broadcast message sent: 0
DEBUG:msmart.scanner:Midea Local Data 192.168.88.56 837000b8200f00005a5a0111a8007a800000000000000000000000007ca90800009500000000000000000100000000004d096db85f317b2da084193e68bc8fd36e2adff14273024dcc4ed9cdaf6ff6df47e83bf4d47d8b1f25988be73cd910dc89327590d16e34fea10eb15ac4b1b5783d37840fafc17d9b6174f62f7acdae9a472ae79a2d0c1e4d23649d0846f3e80b34051eeb93982aa88e7775c716f3a2b8c9c19c17cae35f5a80c274e55d94649529fb57ddc473ab0172f4830c577a2916
DEBUG:msmart.scannerecrypt Reply: 192.168.88.56 3858a8c02c19000030303130313531313536333530303133313139433032313130323534303030300c627567755f31355f30323534000000000200000006000000000015001f0100000000502dbb0a99dc0511010619290103000000000000000000000000000000000000000000
DEBUG:msmart.scanner:Midea Local Data 192.168.88.133 837000c8200f00005a5a0111b8007a800000000082a201000000000081753a00009400000000000000000180000000003de3c4eae5831cd39f38aca44cca852ad97238410609e85d6afa2891064821a6c5b57e66031563dc99e43472fa88bcf27f6403ca419cef16ba84ced1c3982bc3bdbdd82d61ac5d80eaaab0ae837f2bc39b1f0765a45aba0b9d5d3392b1bb8d0cd59a5224bcfd7d091d2b9f0ed7f1394596fbcce99f70c976413c2f05f60f82e7de3b626ff8888e230f5e34a34ace0062f57d9e66a0f6ca01318f5840915afd54
DEBUG:msmart.scannerecrypt Reply: 192.168.88.133 8558a8c02c19000030303030303033313232323034303032333135303630353431313436303030300d6d696465615f61635f313134360000870002000000000000000000ac00acac000000003c2093a74f4c150016262113000300622a2da8ce60f7f599b609c6ae056a520000000000000000000000000000000000
DEBUG:msmart.scanner:Midea Local Data 192.168.88.31 837000b8200f00005a5a0111a8007a8000000000000000000000000090650c0000930000000000000000010000000000bca0a24f05bcf0c7117dcb36328e10283a77b75862415f2230264678e4befe71922c82a7a39b6970d895b1cdc9e75147d1455fa0a238e28771c3a5293a5e448642d9639532d137518d7d5f1a63406bc52e366d55cd1f43d96bff32c4dbe2cd0806c416020931f48926620dfe95e23111b46058dbc64ffa4d3c58cb0c9e525cd48b24e3c2a7b67edda5b846b586c96c0a
DEBUG:msmart.scannerecrypt Reply: 192.168.88.31 1f58a8c02c19000030303030444231313333383131383539373139413133313130313634303030300d6d696465615f64625f303136340000040002000000060000000000db00326700000000847c9bef07ab0539030521220103000000000000000000000000000000000000000000
DEBUG:msmart.scanner:Socket timeout
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"af8ecc7b-c51e-42ac-b2ee-4f5cbe7aaf9f"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"95779b98-9bab-4380-873b-ac6c35fc4a2e"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"3ccd7251-8752-43f8-914f-c0c84256781d"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"password error,please enter again.","errorCode":"3101"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"dda7f162-2a79-4d5b-a2b8-a88a9b134dca"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login/id/get HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"ok","result":{"loginId":"111f26f8-c7da-499a-a09f-666e2332c355"},"errorCode":"0"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"password error,please enter again.","errorCode":"3101"}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
DEBUG:urllib3.connectionpool:https://mapp.appsmb.com:443 "OST /v1/user/login HTTP/1.1" 200 None
DEBUG:msmart.cloud:Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
DEBUG:msmart.cloud:Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mapp.appsmb.com:443
回复

使用道具 举报

0

主题

15

帖子

111

积分

注册会员

Rank: 2

积分
111
金钱
96
HASS币
0
发表于 2021-10-29 13:20:58 | 显示全部楼层
已经解决了,卸载msmart,然后重装再次运行。华凌N8HE1可以用
回复

使用道具 举报

0

主题

12

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
54
HASS币
0
发表于 2021-11-1 14:20:15 | 显示全部楼层
petergates 发表于 2021-10-29 13:20
已经解决了,卸载msmart,然后重装再次运行。华凌N8HE1可以用

我也是N8HE1,也是报跟你一样的提示。
使用以下2条命令,卸载后在安装,还是报一样的提示。
pip3 uninstall msmart
pip3 install msmart

不知道你是怎么解决呢?能否请教下
回复

使用道具 举报

0

主题

2

帖子

50

积分

注册会员

Rank: 2

积分
50
金钱
48
HASS币
0
发表于 2021-11-3 09:05:17 | 显示全部楼层
请问msmart返回的信息中,support字段是啥意思,我买的美的取暖器support是false,有可能通过插件加进来不?
Found a device: {'type': 'fb', 'support': False, 'version': 3, 'ip': '192.168.50.83', 'id': 178120883808320, 'port': 6444, 'token': 'AF426F16D27BB538E6AE9C54FCA6CBC659DFC52C58844F2338930AD92E324AAD4F0E35B29B82D740D1303C829FE68C5DC065E70D625BC7B66E8F0F6261C32131', 'key': '4968DF3BFE7C4FEB86E5075FDE33C24B245B2A15B8004A47948CB5C9C6DB1812', 'ssid': 'midea_fb_0169'}
回复

使用道具 举报

0

主题

15

帖子

111

积分

注册会员

Rank: 2

积分
111
金钱
96
HASS币
0
发表于 2021-11-12 15:07:37 | 显示全部楼层
didjz 发表于 2021-11-1 14:20
我也是N8HE1,也是报跟你一样的提示。
使用以下2条命令,卸载后在安装,还是报一样的提示。
pip3 uninsta ...

这个插件应该是查询美的服务器后给出的TOKEN,所以可以在早上试试。我家里两台N8HE1已经全部加入了
回复

使用道具 举报

0

主题

3

帖子

36

积分

新手上路

Rank: 1

积分
36
金钱
33
HASS币
0
发表于 2021-11-13 15:47:35 | 显示全部楼层
一直 login failed, loginId is empty, please login again. 或者 password error,please enter again. ,试了好久了,有没有解决方法啊?
回复

使用道具 举报

0

主题

3

帖子

36

积分

新手上路

Rank: 1

积分
36
金钱
33
HASS币
0
发表于 2021-11-13 19:47:35 | 显示全部楼层
找到原因了,每次保持局域网内只有一个设备,就可以了
回复

使用道具 举报

0

主题

12

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
54
HASS币
0
发表于 2021-11-22 09:59:28 | 显示全部楼层
熊猫猫 发表于 2021-11-13 19:47
找到原因了,每次保持局域网内只有一个设备,就可以了

感谢,按你这个方法解决了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-23 04:14 , Processed in 0.084027 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表