- 积分
- 390
- 金钱
- 359
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 390
- 金钱
- 359
- HASS币
- 0
|
楼主 |
发表于 2022-8-31 16:07:11
来自手机
|
显示全部楼层
2022-08-31 08:01:22 INFO (MainThread) [custom_components.gree2.climate] Setting up Gree climate platform 2022-08-31 08:01:22 INFO (MainThread) [custom_components.gree2.climate] scan_broadcast 2022-08-31 08:01:22 INFO (MainThread) [custom_components.gree2.climate] socket send data {'t': 'scan'} to <broadcast> 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.227', 7000):{"t":"pack","i":1,"uid":0,"cid":"502cc675313c","tcid":"","pack":"LP24Ek0OaYogxs3iQLjL4AWzU2i4ENIwkYiddaA4KgVYT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrOe2cBtn7s6o1Rn8OOCl8AEqWiTgGkoXDxunmUMdG7sp/aOGxc0vwxgjIcGCxHsPhR4vb8j6xL0+yUWsGiZTrhdUgEZnR87H5dIVewkCjMlC6n+/sB6g39ps/bszRb9no2vwosJlmZ9sWYMTM53/iMO+ZcPlCXspSa9NNPta6RXwA=="} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dev', 'cid': '502cc675313c', 'bc': 'gree', 'brand': 'gree', 'catalog': 'gree', 'mac': '502cc675313c', 'mid': '60', 'model': 'gree', 'name': 'c675313c', 'series': 'gree', 'vender': '1', 'ver': 'V1.1.0.0', 'lock': 0, 'subCnt': 6} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'mac': '502cc675313c', 't': 'bind', 'uid': 0} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 1, 't': 'pack', 'uid': 0, 'pack': 'm3biL9HZFEWrfFSmLuQRXIo6FgOpklpttimLDfJtnuqj9mrs/0p7GUTdWxmNaBUt', 'tcid': '502cc675313c'} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.227', 7000):{"t":"pack","i":1,"uid":0,"cid":"502cc675313c","tcid":"","pack":"LP24Ek0OaYogxs3iQLjL4AWzU2i4ENIwkYiddaA4KgVYT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrOe2cBtn7s6o1Rn8OOCl8AEqWiTgGkoXDxunmUMdG7sp/aOGxc0vwxgjIcGCxHsPhR4vb8j6xL0+yUWsGiZTrhdUgEZnR87H5dIVewkCjMlC6n+/sB6g39ps/bszRb9no2vwosJlmZ9sWYMTM53/iMO+ZcPlCXspSa9NNPta6RXwA=="} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'dev', 'cid': '502cc675313c', 'bc': 'gree', 'brand': 'gree', 'catalog': 'gree', 'mac': '502cc675313c', 'mid': '60', 'model': 'gree', 'name': 'c675313c', 'series': 'gree', 'vender': '1', 'ver': 'V1.1.0.0', 'lock': 0, 'subCnt': 6} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'mac': '502cc675313c', 't': 'bind', 'uid': 0} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 1, 't': 'pack', 'uid': 0, 'pack': 'm3biL9HZFEWrfFSmLuQRXIo6FgOpklpttimLDfJtnuqj9mrs/0p7GUTdWxmNaBUt', 'tcid': '502cc675313c'} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.227', 7000):{"t":"pack","i":1,"uid":0,"cid":"502cc675313c","tcid":"app","pack":"MWQd8NecdFWZIS8jB7ovXbvu6VuXUIA6ZAb22x5zE+4KVOTRpcSpUKzRacLQb8j3KaKIz4l1yYRDvV/1jOnSFIzD1k6jjxiwE2rMrTg7Xnk="} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] Server received pack {'t': 'bindOk', 'mac': '502cc675313c', 'key': '4Bc7Ef0Hi3Kl6No9', 'r': 200} 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send pack {'t': 'subDev', 'mac': '502cc675313c', 'i': 0} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket send data {'cid': 'app', 'i': 0, 't': 'pack', 'uid': 0, 'pack': 'zU3YdPljFNXWJezSCAYJimnYqxJM4V/SjsjNKfvPQQK+z1GRqIvfVPKt0z2YnSwr', 'tcid': '502cc675313c'} to 192.168.1.227 2022-08-31 08:01:22 INFO (Thread-3) [custom_components.gree2.climate] socket received from ('192.168.1.227', 7000):{"t":"pack","i":1,"uid":0,"cid":"502cc675313c","tcid":"app","pack":"MWQd8NecdFWZIS8jB7ovXbvu6VuXUIA6ZAb22x5zE+4KVOTRpcSpUKzRacLQb8j3KaKIz4l1yYRDvV/1jOnSFIzD1k6jjxiwE2rMrTg7Xnk="} 2022-08-31 08:01:22 ERROR (Thread-3) [root] Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/local/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/config/custom_components/gree2/climate.py", line 187, in socket_listen jsonPack = ciperDecrypt(pack, self._key) File "/config/custom_components/gree2/climate.py", line 91, in ciperDecrypt decryptData = cipher.decrypt(decodeData).decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa6 in position 0: invalid start byte |
|