Bonjour,
De puis la mise à jour du plugin rfxcom en 2024-06-12 01:02:37, j’ai plusieurs fois par jour le plugin qui plante avec ce message :
[2024-06-18 07:00:37] ERROR : Error in read_rfxcom: [Errno 5] Input/output error
[2024-06-18 07:00:37] ERROR : Exit 1 because this exeption is fatal
Exception in thread Thread-1:
Traceback (most recent call last):
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 166, in read_rfxcom
byte = self._serial.read()
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/jeedom/jeedom.py", line 274, in read
if self.port.inWaiting() != 0:
File "/usr/local/lib/python3.7/dist-packages/serial/serialutil.py", line 594, in inWaiting
return self.in_waiting
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 549, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 171, in read_rfxcom
asyncio.create_task(self.stop())
File "/usr/lib/python3.7/asyncio/tasks.py", line 324, in create_task
loop = events.get_running_loop()
RuntimeError: no running event loop
/usr/lib/python3.7/threading.py:951: RuntimeWarning: coroutine 'BaseDaemon.stop' was never awaited
del exc_type, exc_value, exc_tb
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[2024-06-18 09:50:07] DEBUG : Received {"apikey":"l6j8XH1iqa292cYwgupJEvZeuLfL8wfY","cmd":"send","data":["0C1A000055CF5E010000000000"]} from ('127.0.0.1', 55188)
[2024-06-18 09:50:07] DEBUG : Close connection
[2024-06-18 09:50:07] DEBUG : Test message: 0C1A000055CF5E010000000000
[2024-06-18 09:50:07] DEBUG : flushOutput serial port
[2024-06-18 09:50:07] ERROR : Send command to rfxcom error : (5, 'Input/output error')
Je suis obligé de redémarrer le plugin et il refonctionne encore pour quelques heures.

