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

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

[插件集成] 格力云控 局域网协议 中央空调 插件 重新发布

  [复制链接]

10

主题

103

帖子

1243

积分

金牌会员

Rank: 6Rank: 6

积分
1243
金钱
1140
HASS币
0
发表于 2021-5-14 19:21:08 | 显示全部楼层
本帖最后由 yingkkk 于 2021-5-14 20:21 编辑

7个分机 只找到五个 log翻了半天 也只找出来这五个的记录请问有解决办法吗
回复

使用道具 举报

10

主题

103

帖子

1243

积分

金牌会员

Rank: 6Rank: 6

积分
1243
金钱
1140
HASS币
0
发表于 2021-5-14 20:20:06 | 显示全部楼层
peach939 发表于 2020-12-21 14:45
楼主啊 ,我7个设备能找到5个设备 了 ,但是还有2个不知道在哪里 出不来了  ...

我的也是 7个只能找到5个 请问您解决这个问题了吗
回复

使用道具 举报

1

主题

21

帖子

120

积分

注册会员

Rank: 2

积分
120
金钱
99
HASS币
0
发表于 2021-6-26 21:20:47 | 显示全部楼层
大神有时间回来再看看么,夏天到了,好想空调自动化
回复

使用道具 举报

1

主题

21

帖子

120

积分

注册会员

Rank: 2

积分
120
金钱
99
HASS币
0
发表于 2021-6-26 21:33:37 | 显示全部楼层
下面是我的 logs,看着一切正常,就是不在 HA 里显示。。是我有误操作么

2021-06-26 21:18:07 INFO (MainThread) [custom_components.gree2.climate] Setting up Gree climate platform
2021-06-26 21:18:07 INFO (MainThread) [custom_components.gree2.climate] scan_broadcast
2021-06-26 21:18:07 INFO (MainThread) [custom_components.gree2.climate] socket send data {'t': 'scan'} to <broadcast>
2021-06-26 21:18:07 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"pack","i":1,"uid":0,"cid":"","tcid":"","pack":"LP24Ek0OaYogxs3iQLjL4BVQrnhhm6bIbF4lYMZHEBXLzN9Hu47j/i2SOavdy6LSJe9nJOSQSkTAceSmRpiXiowZmq4OCIxjplTPagTWdLHakI8L01ztFMDGEJqbVpG5HwVwXwkfxAVGlFCSKfxY2aRXNYcGXOKIKxj2Bw09PDT7uCcQL+2Znh8GznBiMsyyEIKj4lXhPYADBPEHeNEvAPABS1sQ/8wyY9Pa89Li2VA="}
2021-06-26 21:18:07 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dev', 'cid': '', 'bc': '', 'brand': '', 'catalog': '', 'mac': 'b4430da95a00', 'mid': '60', 'model': '', 'name': '格力空调', 'lock': 0, 'series': '', 'vender': '', 'ver': '', 'subCnt': 3}
2021-06-26 21:18:07 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'mac': 'b4430da95a00', 't': 'bind', 'uid': 0} to 192.168.0.229
2021-06-26 21:18:07 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 1, 't': 'pack', 'uid': 0, 'pack': 'WX2zMOQ9VNo93OkSxOe04WkQCPM+WSN4KzqGRa1xWVSj9mrs/0p7GUTdWxmNaBUt'} to 192.168.0.229
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"pack","i":1,"uid":0,"cid":"","tcid":"app","pack":"FtZAY6UHKBwtaI55He0IndbigvnBprnXzJ0aHiL7qKq+QH04jfHnUKNR2hyCVcB22y3zrzILbeKoX2wwWuzbaSOLwdIa+xnWATQ86PplXU4="}
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'r': 200, 't': 'bindOk', 'mac': 'b4430da95a00', 'key': 'nUw073BY0Sdc1Xe9'}
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'t': 'subDev', 'mac': 'b4430da95a00', 'i': 0} to 192.168.0.229
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 0, 'pack': '9CIThUzntiQTfdu+4brA6ySrnvH1nESFzPopxh/VxWHvm5hGd2LiviEPOThwFigS'} to 192.168.0.229
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"pack","i":0,"uid":0,"cid":"","tcid":"app","pack":"WUUF2YiokFZuPd5K2BDZbWqppdgkmyDox1Cht0X2nBF2RA1pL2kPxia/9AAo+ju76+uGlxH63cLuk0IM03IWzS9Os/rjUHolw+KNmFaVxmL0rIwllSpUMq420J2K+j8854AgaUTON5bnZ4XGGikmI5cYfBPsbjo7RqZQ7nWR/c2kTsNMv1Es8YNJlEmjJ3geL06z+uNQeiXD4o2YVpXGYvSsjCWVKlQyrjbQnYr6PzzngCBpRM43ludnhcYaKSYjZJApSNp7rTpkZMRwKD3lvQPmxkbB+f0A/xldzsZRAk0vTrP641B6JcPijZhWlcZiOC+bEQYAM4spchS7dwiZx+eAIGlEzjeW52eFxhopJiMeaYitm19QyFQ1XKkMQd2w"}
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'subList', 'c': 3, 'i': 0, 'list': [{'mac': '5b9c251b000000', 'name': '格力空调', 'mid': '6092', 'model': '', 'lock': 0}, {'mac': 'bc3d681c000000', 'name': '格力空调', 'mid': '6092', 'model': '', 'lock': 0}, {'mac': '5fc1751a000000', 'name': '格力空调', 'mid': '6041', 'model': '', 'lock': 0}], 'r': 200}
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Scan Gree climate device list: [{'mac': '5b9c251b000000', 'name': '格力空调', 'mid': '6092', 'model': '', 'lock': 0}, {'mac': 'bc3d681c000000', 'name': '格力空调', 'mid': '6092', 'model': '', 'lock': 0}, {'mac': '5fc1751a000000', 'name': '格力空调', 'mid': '6041', 'model': '', 'lock': 0}]
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Initialize the GREE climate device
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Initialize the GREE climate device
2021-06-26 21:18:08 INFO (Thread-3) [custom_components.gree2.climate] Initialize the GREE climate device
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] Gree climate device added to hass()
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send pack {'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'mac': '5b9c251b000000', 't': 'status'} to 192.168.0.229
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 0, 'pack': 'QzhAR/dN/lwgQtg/wN8nNo4Vz/eYkfJN1or55AMlYNC5yU8g39onDx5Uw4NnuZD8D32O9ZF9lKyqqAobACYgIFMxLnOVefuiGd5HMB2/NHcQwIi65AjD5eDjxoqUrEDtUU0pffep3xW6YgCL6htJY+DqIITxmelAMI/wcyWmTPjQodRJjyPYfZWNurRSRKRR'} to 192.168.0.229
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] Gree climate device added to hass()
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send pack {'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'mac': 'bc3d681c000000', 't': 'status'} to 192.168.0.229
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 0, 'pack': 'QzhAR/dN/lwgQtg/wN8nNo4Vz/eYkfJN1or55AMlYNC5yU8g39onDx5Uw4NnuZD8D32O9ZF9lKyqqAobACYgIFMxLnOVefuiGd5HMB2/NHcQwIi65AjD5eDjxoqUrEDt2xLlLTUjr+TBWpyHwzd5iODqIITxmelAMI/wcyWmTPjQodRJjyPYfZWNurRSRKRR'} to 192.168.0.229
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] Gree climate device added to hass()
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send pack {'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'mac': '5fc1751a000000', 't': 'status'} to 192.168.0.229
2021-06-26 21:18:08 INFO (MainThread) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 0, 'pack': 'QzhAR/dN/lwgQtg/wN8nNo4Vz/eYkfJN1or55AMlYNC5yU8g39onDx5Uw4NnuZD8D32O9ZF9lKyqqAobACYgIFMxLnOVefuiGd5HMB2/NHcQwIi65AjD5eDjxoqUrEDtOL4sZ3jU16+vnfgDMBN/O+DqIITxmelAMI/wcyWmTPjQodRJjyPYfZWNurRSRKRR'} to 192.168.0.229
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"pack","i":0,"uid":0,"cid":"","tcid":"app","pack":"8LmrtQ9QVDamidJ6tBvKvgRr3PsrkDlKmjD31L27MCAIzsU6l/ahu5yVrrj1aSzspcCrfk47/DwW/wobphjdigeoCz581huZLWcMJ7ZdzOFZ7Po8e54DtPdPLX4xy5DNVYzJPnmIoSYQhPbWCGb8adwaA44ovuyP6bCF+HP7rqtB1RJpPZ5063R3qbTfJqYKhmxLNQQdoX/mKR0zwNJyQGIi972Ign3eOgeMRXC9mXbjjOvPeuHlIMtUgWox9MoN"}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dat', 'r': 200, 'uid': 0, 'cid': 'app', 'mac': '5b9c251b000000', 'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'dat': [0, 1, 27, 1, 0, 0, 0, 0, 0, 0, 0]}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] Climate 格力空调5b9c251b000000 status: {'Pow': 0, 'Mod': 1, 'WdSpd': 1, 'SetTem': 27, 'Air': 0, 'Blo': 0, 'Health': 0, 'SwhSlp': 0, 'SwingLfRig': 0, 'Quiet': 0, 'SvSt': 0}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调5b9c251b000000 HA target temp set according to HVAC state to: 27
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调5b9c251b000000 HA operation mode set according to HVAC state to: off
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调5b9c251b000000 HA fan mode set according to HVAC state to: low
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"pack","i":0,"uid":0,"cid":"","tcid":"app","pack":"8LmrtQ9QVDamidJ6tBvKvgRr3PsrkDlKmjD31L27MCAymNU/9L+uVvpZm93bzjYnpYZwm7ebMZRK2EIkHz3+zQeoCz581huZLWcMJ7ZdzOFZ7Po8e54DtPdPLX4xy5DNVYzJPnmIoSYQhPbWCGb8adwaA44ovuyP6bCF+HP7rqtB1RJpPZ5063R3qbTfJqYKhmxLNQQdoX/mKR0zwNJyQPIN8O/Hd6RF/vRlcMuvMmjjjOvPeuHlIMtUgWox9MoN"}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dat', 'r': 200, 'uid': 0, 'cid': 'app', 'mac': 'bc3d681c000000', 'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'dat': [0, 1, 26, 1, 0, 0, 0, 0, 0, 0, 0]}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] Climate 格力空调bc3d681c000000 status: {'Pow': 0, 'Mod': 1, 'WdSpd': 1, 'SetTem': 26, 'Air': 0, 'Blo': 0, 'Health': 0, 'SwhSlp': 0, 'SwingLfRig': 0, 'Quiet': 0, 'SvSt': 0}
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调bc3d681c000000 HA target temp set according to HVAC state to: 26
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调bc3d681c000000 HA operation mode set according to HVAC state to: off
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] 格力空调bc3d681c000000 HA fan mode set according to HVAC state to: low
2021-06-26 21:18:09 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.0.229', 7000):{"t":"ret","r":400}
回复

使用道具 举报

0

主题

24

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
金钱
390
HASS币
0
发表于 2021-7-6 17:17:11 | 显示全部楼层
二代好像不行啊,有没有大佬啊
2021-07-06 16:20:41 INFO (MainThread) [custom_components.gree2.climate] Setting up Gree climate platform
2021-07-06 16:20:41 INFO (MainThread) [custom_components.gree2.climate] scan_broadcast
2021-07-06 16:20:41 INFO (MainThread) [custom_components.gree2.climate] socket send data {'t': 'scan'} to <broadcast>
2021-07-06 16:20:41 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.11', 7000):{"t":"pack","i":1,"uid":14225773,"cid":"502cc6536f04","tcid":"17d122287b25","pack":"LP24Ek0OaYogxs3iQLjL4FL831QhG+0fnKTbFvUMndNYT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrPn9dUoGx+SSqdQkg5Nf7rdqWiTgGkoXDxunmUMdG7sp/aOGxc0vwxgjIcGCxHsPhSiU9RAfibnL6IOJFWFg9WiUgEZnR87H5dIVewkCjMlC6n+/sB6g39ps/bszRb9no2vwosJlmZ9sWYMTM53/iMO+ZcPlCXspSa9NNPta6RXwA=="}
2021-07-06 16:20:41 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dev', 'cid': '502cc6536f04', 'bc': 'gree', 'brand': 'gree', 'catalog': 'gree', 'mac': '502cc6536f04', 'mid': '60', 'model': 'gree', 'name': 'c6536f04', 'series': 'gree', 'vender': '1', 'ver': 'V1.1.0.0', 'lock': 0, 'subCnt': 6}
2021-07-06 16:20:41 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'mac': '502cc6536f04', 't': 'bind', 'uid': 0} to 192.168.1.11
2021-07-06 16:20:41 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 1, 't': 'pack', 'uid': 0, 'pack': '0M6uBW9vPeWDqNHIs+H6LpKbc9p/oKGVJiDMyiW7Uy2j9mrs/0p7GUTdWxmNaBUt'} to 192.168.1.11
日志到这就没有了
回复

使用道具 举报

1

主题

42

帖子

454

积分

论坛技术达人

积分
454
金钱
407
HASS币
20
 楼主| 发表于 2021-7-14 16:00:51 | 显示全部楼层
angus9487 发表于 2021-7-6 17:17
二代好像不行啊,有没有大佬啊
2021-07-06 16:20:41 INFO (MainThread) [custom_components.gree2.climate] ...

看起来好像是协议可能不太一样,二代设备我这边没有,也测试不了,不好意思了
回复

使用道具 举报

1

主题

42

帖子

454

积分

论坛技术达人

积分
454
金钱
407
HASS币
20
 楼主| 发表于 2021-7-14 16:02:00 | 显示全部楼层
aprils 发表于 2021-6-26 21:33
下面是我的 logs,看着一切正常,就是不在 HA 里显示。。是我有误操作么

看起来一起正常,在编辑仪表盘的地方添加温控器,然后指定对应的实体才可以
回复

使用道具 举报

1

主题

42

帖子

454

积分

论坛技术达人

积分
454
金钱
407
HASS币
20
 楼主| 发表于 2021-7-14 16:03:50 | 显示全部楼层
yingkkk 发表于 2021-5-14 20:20
我的也是 7个只能找到5个 请问您解决这个问题了吗

贴个日志看看啊,我的返回了5个还多一个的,咋还会有少的
回复

使用道具 举报

1

主题

42

帖子

454

积分

论坛技术达人

积分
454
金钱
407
HASS币
20
 楼主| 发表于 2021-7-14 16:09:25 | 显示全部楼层
auditek 发表于 2021-4-26 15:34
二代云控
2021-04-26 15:22:27 INFO (MainThread) [custom_components.gree2.climate] Setting up Gree cli ...

没有二代设备啊,估计协议有点差别,可以的话需要自己调试调试了
回复

使用道具 举报

1

主题

42

帖子

454

积分

论坛技术达人

积分
454
金钱
407
HASS币
20
 楼主| 发表于 2021-7-14 16:23:38 | 显示全部楼层
本帖最后由 xcy1231 于 2021-7-14 16:45 编辑
aprils 发表于 2021-4-21 15:40
还是没行。。报错日志如下 我这还有救么 HA v2021.4.6

这个日志没看懂,好像不是我这个插件报的错啊,看起来像是ha本身集成的gree插件,是不是哪里配置错了,看github的回复你是成功了?
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 12:26 , Processed in 0.072036 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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