Open astyrrian1 opened 2 months ago
Same here:
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in _unhold_sensors
if self._sensors_values[sensor_id] is not None:
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 276
2024-07-11 21:12:02.057 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-11 21:12:02.087 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 185, in _read
msg_buf = await self._reader.readexactly(msg_len)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 432 bytes read on a total of 268500992 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-11 21:12:02.131 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 752, in readexactly
await self._wait_for_data('readexactly')
File "/usr/local/lib/python3.12/asyncio/streams.py", line 531, in _wait_for_data
raise RuntimeError(
RuntimeError: readexactly() called while another coroutine is already waiting for incoming data
2024-07-11 21:12:02.448 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback ComfoConnect._unhold_sensors() (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in _unhold_sensors
if self._sensors_values[sensor_id] is not None:
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 227
2024-07-11 21:12:02.905 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback ComfoConnect._unhold_sensors() (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in _unhold_sensors
if self._sensors_values[sensor_id] is not None:
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 227
2024-07-11 21:12:04.902 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:06.193 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:06.295 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:06.296 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:07.860 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:07.860 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:07.861 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-11 21:12:07.861 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
Unfortunately not addressed in the latest update. Lately situation seems to be a bit worse and I have disabled the add-in because it is flooding the logbook and HA logs. Let me know if there is something else you'd like me to look into or provide.
2024-07-19 19:30:37.372 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-19 19:30:42.384 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-19 19:32:31.770 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-19 19:32:36.774 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-19 19:32:36.777 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-19 19:32:46.785 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-19 19:32:46.786 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-19 19:32:51.800 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-19 19:32:51.806 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
other errors
2024-07-17 09:49:32.627 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:49:37.632 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:49:37.634 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:49:47.635 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:49:47.637 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:49:57.639 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:49:57.642 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:50:02.629 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:50:07.643 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:50:07.645 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while connecting to bridge 192.168.0.28
2024-07-17 09:50:17.653 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:18.741 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:22.665 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-17 09:50:23.766 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-17 09:50:27.677 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:28.771 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:32.702 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-17 09:50:33.795 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-17 09:50:37.707 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:38.800 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-17 09:50:42.718 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-17 09:50:43.815 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
2024-07-31 16:12:48.441 DEBUG (MainThread) [aiocomfoconnect.bridge] Emitting for event 23
2024-07-31 16:12:48.448 DEBUG (MainThread) [aiocomfoconnect.bridge] RX 00000000002310158001144fd71e1f95 -> edf569d08b4ae8ebcdfff9e7248bb149: 0828 08431201011801
type: CnRpdoNotificationType
pdid: 67
data: "\001"
zone: 1
2024-07-31 16:12:48.448 DEBUG (MainThread) [aiocomfoconnect.bridge] RX 00000000002310158001144fd71e1f95 -> edf569d08b4ae8ebcdfff9e7248bb149: 0828 0890061201001801
type: CnRpdoNotificationType
pdid: 784
data: "\000"
zone: 1
2024-07-31 16:12:48.451 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/comfoconnect.py", line 101, in _reconnect_loop
await read_task
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 752, in readexactly
await self._wait_for_data('readexactly')
File "/usr/local/lib/python3.12/asyncio/streams.py", line 531, in _wait_for_data
raise RuntimeError(
RuntimeError: readexactly() called while another coroutine is already waiting for incoming data
2024-07-31 16:12:49.477 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-07-31 16:12:49.477 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-07-31 16:12:49.477 DEBUG (MainThread) [aiocomfoconnect.bridge] Adding listener for event 24
2024-07-31 16:12:49.478 DEBUG (MainThread) [aiocomfoconnect.bridge] TX edf569d08b4ae8ebcdfff9e7248bb149 -> 00000000002310158001144fd71e1f95: 081e2018
type: CnTimeRequestType
reference: 24
2024-07-31 16:12:49.870 DEBUG (MainThread) [aiocomfoconnect.comfoconnect] Unholding sensors
2024-07-31 16:12:49.884 DEBUG (SyncWorker_1) [custom_components.comfoconnect.fan] Handle update for fan speed (65): 2
2024-07-31 16:12:49.884 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Inside temperature (274): 23.1
2024-07-31 16:12:49.885 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Inside humidity (290): 56
2024-07-31 16:12:49.886 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Outside temperature (276): 36.7
2024-07-31 16:12:49.887 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Outside humidity (292): 31
2024-07-31 16:12:49.887 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Supply temperature (221): 26.4
2024-07-31 16:12:49.888 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Supply humidity (294): 52
2024-07-31 16:12:49.889 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Supply fan duty (118): 65
2024-07-31 16:12:49.890 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Exhaust fan duty (117): 54
2024-07-31 16:12:49.890 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Exhaust temperature (275): 33.2
2024-07-31 16:12:49.891 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Exhaust humidity (291): 35
2024-07-31 16:12:49.897 DEBUG (SyncWorker_43) [custom_components.comfoconnect.sensor] Handle update for sensor Bypass state (227): 0
2024-07-31 16:12:49.898 DEBUG (SyncWorker_43) [custom_components.comfoconnect.sensor] Handle update for sensor Days to replace filter (192): 132
2024-07-31 16:12:49.899 DEBUG (SyncWorker_43) [custom_components.comfoconnect.sensor] Handle update for sensor Analog Input 1 (369): 0
2024-07-31 16:12:49.900 DEBUG (SyncWorker_43) [custom_components.comfoconnect.sensor] Handle update for sensor Analog Input 2 (370): 0
2024-07-31 16:12:49.903 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Analog Input 3 (371): 0
2024-07-31 16:12:49.904 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Analog Input 4 (372): 0
2024-07-31 16:12:49.905 DEBUG (SyncWorker_23) [custom_components.comfoconnect.sensor] Handle update for sensor Airflow Constraint (230): None
2024-07-31 16:12:49.905 DEBUG (SyncWorker_1) [custom_components.comfoconnect.fan] Handle update for operating mode (56): -1
2024-07-31 16:12:49.911 DEBUG (SyncWorker_43) [custom_components.comfoconnect.select] Handle update for sensor Operating Mode (56): -1
2024-07-31 16:12:49.912 DEBUG (SyncWorker_43) [custom_components.comfoconnect.select] Handle update for sensor Bypass Activation State (66): 0
2024-07-31 16:12:49.912 DEBUG (SyncWorker_36) [custom_components.comfoconnect.select] Handle update for sensor Temperature Profile Mode (67): 1
2024-07-31 16:12:49.920 DEBUG (SyncWorker_1) [custom_components.comfoconnect.select] Handle update for sensor ComfoCool State (784): 0
2024-07-31 16:12:50.399 DEBUG (MainThread) [aiocomfoconnect.bridge] Connecting to bridge 192.168.0.28
2024-07-31 16:12:51.400 DEBUG (MainThread) [aiocomfoconnect.bridge] RX 00000000002310158001144fd71e1f95 -> edf569d08b4ae8ebcdfff9e7248bb149: 0828 08761201421801
type: CnRpdoNotificationType
pdid: 118
data: "B"
zone: 1
2024-07-31 16:12:51.403 DEBUG (MainThread) [aiocomfoconnect.bridge] RX 00000000002310158001144fd71e1f95 -> edf569d08b4ae8ebcdfff9e7248bb149: 081f2018 08cd85f4f102
type: CnTimeConfirmType
reference: 24
currentTime: 775750349
2024-07-31 16:12:51.405 DEBUG (MainThread) [aiocomfoconnect.bridge] Emitting for event 24
2024-07-31 16:12:51.417 DEBUG (MainThread) [aiocomfoconnect.bridge] Connected to bridge 192.168.0.28
2024-07-31 16:12:51.418 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages
await self._process_message()
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message
raise AioComfoConnectNotConnected("The connection was closed.") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages
raise AioComfoConnectNotConnected("We have been disconnected") from exc
aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected
2024-07-31 16:12:51.424 DEBUG (MainThread) [aiocomfoconnect.bridge] StartSessionRequest
2024-07-31 16:12:51.424 DEBUG (MainThread) [aiocomfoconnect.bridge] Adding listener for event 1
2024-07-31 16:12:51.425 DEBUG (MainThread) [aiocomfoconnect.bridge] TX edf569d08b4ae8ebcdfff9e7248bb149 -> 00000000002310158001144fd71e1f95: 08032001 0801
type: StartSessionRequestType
reference: 1
takeover: true
2024-07-31 16:12:51.432 INFO (MainThread) [aiocomfoconnect.bridge] The connection was closed.
2024-07-31 16:12:51.439 INFO (MainThread) [aiocomfoconnect.bridge] The connection was closed.
2024-07-31 16:12:51.849 DEBUG (MainThread) [aiocomfoconnect.bridge] Connecting to bridge 192.168.0.28
2024-07-31 16:12:52.835 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-07-31 16:12:52.836 INFO (MainThread) [aiocomfoconnect.comfoconnect] Could not reconnect. Retrying after 5 seconds.
Might be a duplicate, took a look around but didn't see anything that directly mapped.
Every so often the bridge loses connection and my log ends up filled with things looking like this. The log thereafter is filled with ComfoAirQ turned off, on, off, on, every minute or two. If I reload the add-on the issue is resolved but within a few hours the same issue will resume. I have 27 sensors and enabled airflow, duty, temperature, some others. I have trouble shooted this by rebooting HA vs LanC, etc, but the issue seems to always resolve by rebooting HA or reloading the addon.
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages raise AioComfoConnectNotConnected("We have been disconnected") from exc aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected 2024-06-06 23:45:11.320 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge 2024-06-06 23:45:11.328 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge 2024-06-06 23:45:11.366 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge 2024-06-06 23:45:15.250 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message message = await self._read() ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read msg_len_buf = await self._reader.readexactly(4) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 113, in _read_messages await self._process_message() File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 252, in _process_message raise AioComfoConnectNotConnected("The connection was closed.") from exc aiocomfoconnect.exceptions.AioComfoConnectNotConnected: The connection was closed.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 121, in _read_messages raise AioComfoConnectNotConnected("We have been disconnected") from exc aiocomfoconnect.exceptions.AioComfoConnectNotConnected: We have been disconnected 2024-06-06 23:45:15.257 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 218, in _process_message message = await self._read() ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 181, in _read msg_len_buf = await self._reader.readexactly(4) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly raise exceptions.IncompleteReadError(incomplete, n) asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 4 expected bytes