|
D1 mini 接的PMS5003颗粒物,可以编辑,但是log里 重复大量看不懂的提示,请问哪里出了问题。 我这用的是win11环境下搭建的ESPHOME 。其他传感器都正常 我实在搞不懂是什么意思。只要是pmsx003, 就会这些错误提示,传感器数值读不到。版本信息 Python 3.12.4 esphome 2024.5.5
ERROR Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=63>)handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=63>)>Traceback (most recent call last): File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 325, in _loop_reading self._data_received(data, length) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 274, in _data_received self._protocol.data_received(data) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 163, in data_received self._handle_frame(frame) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 319, in _handle_frame msg = self._decrypt(frame) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\state.py", line 74, in decrypt_with_ad plaintext = self.cipher.decrypt(self.k, self.n, ad, ciphertext) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\backends\default\ciphers.py", line 13, in decrypt return self.cipher.decrypt(nonce=self.format_nonce(n), data=ciphertext, associated_data=ad) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "src\\chacha20poly1305_reuseable\\__init__.py", line 127, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 147, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 263, in chacha20poly1305_reuseable._decrypt_with_fixed_nonce_len File "src\\chacha20poly1305_reuseable\\__init__.py", line 273, in chacha20poly1305_reuseable._decrypt_datacryptography.exceptions.InvalidTagERROR Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=84>)handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=84>)>Traceback (most recent call last): File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 325, in _loop_reading self._data_received(data, length) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 274, in _data_received self._protocol.data_received(data) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 163, in data_received self._handle_frame(frame) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 319, in _handle_frame msg = self._decrypt(frame) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\state.py", line 74, in decrypt_with_ad plaintext = self.cipher.decrypt(self.k, self.n, ad, ciphertext) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\backends\default\ciphers.py", line 13, in decrypt return self.cipher.decrypt(nonce=self.format_nonce(n), data=ciphertext, associated_data=ad) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "src\\chacha20poly1305_reuseable\\__init__.py", line 127, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 147, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 263, in chacha20poly1305_reuseable._decrypt_with_fixed_nonce_len File "src\\chacha20poly1305_reuseable\\__init__.py", line 273, in chacha20poly1305_reuseable._decrypt_datacryptography.exceptions.InvalidTagERROR Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=81>)handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...hed result=81>)>Traceback (most recent call last): File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 325, in _loop_reading self._data_received(data, length) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\asyncio\proactor_events.py", line 274, in _data_received self._protocol.data_received(data) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 163, in data_received self._handle_frame(frame) File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\aioesphomeapi\_frame_helper\noise.py", line 319, in _handle_frame msg = self._decrypt(frame) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\state.py", line 74, in decrypt_with_ad plaintext = self.cipher.decrypt(self.k, self.n, ad, ciphertext) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MaNing\AppData\Local\Programs\Python\Python312\Lib\site-packages\noise\backends\default\ciphers.py", line 13, in decrypt return self.cipher.decrypt(nonce=self.format_nonce(n), data=ciphertext, associated_data=ad) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "src\\chacha20poly1305_reuseable\\__init__.py", line 127, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 147, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt File "src\\chacha20poly1305_reuseable\\__init__.py", line 263, in chacha20poly1305_reuseable._decrypt_with_fixed_nonce_len File "src\\chacha20poly1305_reuseable\\__init__.py", line 273, in chacha20poly1305_reuseable._decrypt_datacryptography.exceptions.InvalidTag
|
|