- 积分
- 336
- 金钱
- 262
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 336
- 金钱
- 262
- HASS币
- 0
|
发表于 2021-11-15 20:32:15
|
显示全部楼层
在补充一下重启之后的日志,HA里能看到实体了:
在补充一下刚重启之后的日志:
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] Setting up Gree climate platform
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] scan_broadcast
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] socket send data {'t': 'scan'} to
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.49', 7000):{"t":"pack","i":1,"uid":16791885,"cid":"502cc67dd420","tcid":"16bf48a6bd9b","pack":"LP24Ek0OaYogxs3iQLjL4PbqwKjIkdzuvjbE0kiElrlYT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrOrje7pBzS+rcsK+P8vAV8cqWiTgGkoXDxunmUMdG7sp/aOGxc0vwxgjIcGCxHsPhRgHMs3bZ8hMCei5sn5oRDEUgEZnR87H5dIVewkCjMlC6n+/sB6g39ps/bszRb9no2vwosJlmZ9sWYMTM53/iMONtgdqxld1TL9+90xXu4szw=="}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dev', 'cid': '502cc67dd420', 'bc': 'gree', 'brand': 'gree', 'catalog': 'gree', 'mac': '502cc67dd420', 'mid': '60', 'model': 'gree', 'name': 'c67dd420', 'series': 'gree', 'vender': '1', 'ver': 'V1.1.0.0', 'lock': 0, 'subCnt': 1}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'mac': '502cc67dd420', 't': 'bind', 'uid': 0} to 192.168.1.49
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 1, 't': 'pack', 'uid': 0, 'pack': 'NfWLRzTHEdahnL/tb868v6+KJo38wyPQgZBsWtESe/uj9mrs/0p7GUTdWxmNaBUt', 'tcid': '502cc67dd420'} to 192.168.1.49
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.49', 7000):{"t":"pack","i":1,"uid":0,"cid":"502cc67dd420","tcid":"app","pack":"MWQd8NecdFWZIS8jB7ovXbugkCwcp8T6O4SdH4UFiZFm4bdI2SEIkPQWDrnzMinzQBl1SeGTRHbDPcKX5gm6D4zD1k6jjxiwE2rMrTg7Xnk="}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'bindOk', 'mac': '502cc67dd420', 'key': 'Ij8Lm1Op4Rs7Uv0X', 'r': 200}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'t': 'subDev', 'mac': '502cc67dd420', 'i': 0} to 192.168.1.49
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 16791885, 'pack': 'PjnkJj9Ar94nSK7zo1Bvh9NT+YjlXeGcD8NlfDcX5Dy9fLKYnVMG3TsF7ADGvIMl', 'tcid': '502cc67dd420'} to 192.168.1.49
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.49', 7000):{"t":"pack","i":0,"uid":16791885,"cid":"502cc67dd420","tcid":"app","pack":"xON3j2BESVUPtoPDLfq5YPEtm4AfP/KDYfG5dt/7AwXdHQI9wpfuLkuF/uEX2Qj33IdtdoyDNi99xz6MqUEq6yErI35e3QwdF/yA/7RrkeeU5Kq8QDicBUUT7A1n1Xlzq97K+MuGJJN2D4KWHHrs/NtaAjwShDpHb3W9/2cYM9gxyZHAs2xWOpFocZ5eKIt8"}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'subList', 'c': 1, 'i': 0, 'r': 200, 'list': [{'mac': 'a8bb8a1c000000', 'mid': '6079', 'name': '舒享家全热新风机', 'model': 'gree', 'lock': 0}]}
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] Scan Gree climate device list: [{'mac': 'a8bb8a1c000000', 'mid': '6079', 'name': '舒享家全热新风机', 'model': 'gree', 'lock': 0}]
2021-11-15 20:11:47 INFO (Thread-3) [custom_components.gree2.climate] Initialize the GREE climate device
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] Gree climate device added to hass()
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] socket send pack {'cols': ['Pow', 'Mod', 'SetTem', 'WdSpd', 'Air', 'Blo', 'Health', 'SwhSlp', 'SwingLfRig', 'Quiet', 'SvSt'], 'mac': 'a8bb8a1c000000', 't': 'status'} to 192.168.1.49
2021-11-15 20:11:47 INFO (MainThread) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 16791885, 'pack': 't5J7BzybunSkAImrNUkk1S9MeSfI8fNlKwWBQNSUTRu3HSwiI7N+nou4fRfafjoa7dkX9iSNgdv3sz9YZ1t7fWfMBIDPg/D/5D8RTAnv9LKgl5txI2JBwHBTsWc3T3HeVsLLbq3YQeN8borv/ehYFtbhT3Sn0RtKHnTGmIHhujDUYDlUfvmCg7eUikhqLQKl', 'tcid': '502cc67dd420'} to 192.168.1.49 |
|