Eh bien aujourd'hui, ça refonctionne...
Depuis mon dernier message je n'ai rien touché ni relancé l'ECU_B, ni Domoticz.
C'est tombé en marche

Code : Tout sélectionner
Traceback (most recent call last):
File "/volume1/docker/domoticz/scripts/python/ECU/ECU-C-R.py", line 65, in <module>
data = loop.run_until_complete(ecu.async_query_ecu())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 124, in async_query_ecu
self.ecu_raw_data = await self.async_send_read_from_socket(cmd)
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 101, in async_send_read_from_socket
return await asyncio.wait_for(self.async_read_from_socket(), timeout=self.timeout)
File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 86, in async_read_from_socket
raise APSystemsInvalidData(error)
APSystemsECU.APSystemsInvalidData: Got empty string from socket
Code : Tout sélectionner
Traceback (most recent call last):
File "/volume1/docker/domoticz/scripts/python/ECU/ECU-C-R.py", line 65, in <module>
data = loop.run_until_complete(ecu.async_query_ecu())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 137, in async_query_ecu
self.inverter_raw_data = await self.async_send_read_from_socket(cmd)
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 101, in async_send_read_from_socket
return await asyncio.wait_for(self.async_read_from_socket(), timeout=self.timeout)
File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/volume1/docker/domoticz/scripts/python/ECU/APSystemsECU.py", line 93, in async_read_from_socket
raise APSystemsInvalidData(error)
APSystemsECU.APSystemsInvalidData: End suffix (b'END\n') missing from ECU response end_data=b'\x00\xe9\x00\n' data=b"APS11011300020001\x00\x04 #\x11\x18\x08@%p@\x00\x12\x87'\x0101\x01\xf4\x00o\x00\x0b\x00\xe9\x00\n"