|
发表于 2022-6-6 08:14:23
|
显示全部楼层
楼主,我是二代云控,局域网一台云控设备使用正常,昨天打开另一台中央空调,也就是局域网接了两台云控设备,插件报错
错误如下:
此错误来自自定义集成。
Logger: root
Source: custom_components/gree2/climate.py:87
Integration: gree2 (documentation, issues)
First occurred: 2022年6月5日 22:00:50 (1 occurrences)
Last logged: 2022年6月5日 22:00:50
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 180, in socket_listen
jsonPack = ciperDecrypt(pack, self._key)
File "/config/custom_components/gree2/climate.py", line 87, in ciperDecrypt
decryptData = cipher.decrypt(decodeData).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 1: invalid continuation byte
自己看了半天没看懂,希望楼主帮忙看下问题。 |
|