Closed JeePee1981 closed 4 months ago
Hi,
I experience the same since e7132a7 (installed via HACS).
FYI, I monitor the status via below automation:
- alias: 'System - Send mail when no state change for 1 Hours for sensor.comfoairq_outside_temperature'
trigger:
platform: state
entity_id: sensor.comfoairq_outside_temperature
for:
hours: 1
action:
service: notify.sendemail
data:
message: Please restart Home Assistant
title: no state change for 1 Hours for sensor.comfoairq_outside_temperature
I have enabled debug and this is what I see in the logs around the time the bridge disconnects. Hope this helps.
2024-01-29 09:22:03.823 DEBUG (SyncWorker_5) [custom_components.comfoconnect.sensor] Handle update for sensor Outside temperature (276): 6.4
2024-01-29 09:22:29.098 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-01-29 09:22:29.098 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-01-29 09:22:29.099 DEBUG (MainThread) [aiocomfoconnect.bridge] Adding listener for event 6059
2024-01-29 09:22:29.099 DEBUG (MainThread) [aiocomfoconnect.bridge] TX bf04d0c7d9fe40f88066f3d835ba4dc3 -> 00000000001210138001144fd71e1811: 081e20ab2f
type: CnTimeRequestType
reference: 6059
2024-01-29 09:22:29.099 DEBUG (MainThread) [aiocomfoconnect.bridge] CnRmiRequest
2024-01-29 09:22:29.099 DEBUG (MainThread) [aiocomfoconnect.bridge] Adding listener for event 6060
2024-01-29 09:22:29.099 DEBUG (MainThread) [aiocomfoconnect.bridge] TX bf04d0c7d9fe40f88066f3d835ba4dc3 -> 00000000001210138001144fd71e1811: 082120ac2f 0801120483150601
type: CnRmiRequestType
reference: 6060
nodeId: 1
message: "\203\025\006\001"
2024-01-29 09:22:34.100 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-01-29 09:22:34.101 DEBUG (MainThread) [aiocomfoconnect.bridge] Disconnecting from bridge 192.168.0.181
2024-01-29 09:22:34.101 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 168, in _send
return await asyncio.wait_for(fut, TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 171, in _send
raise AioComfoConnectTimeout from exc
aiocomfoconnect.exceptions.AioComfoConnectTimeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 213, in _read_messages
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 175, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/streams.py", line 732, in readexactly
await self._wait_for_data('readexactly')
File "/usr/local/lib/python3.11/asyncio/streams.py", line 525, in _wait_for_data
await self._waiter
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 1051, in write
n = self._sock.send(data)
^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-01-29 09:22:34.113 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-01-29 09:22:34.113 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 168, in _send
return await asyncio.wait_for(fut, TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 171, in _send
raise AioComfoConnectTimeout from exc
aiocomfoconnect.exceptions.AioComfoConnectTimeout
2024-01-29 09:22:59.100 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-01-29 09:22:59.100 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-01-29 09:22:59.100 DEBUG (MainThread) [aiocomfoconnect.bridge] Disconnecting from bridge 192.168.0.181
2024-01-29 09:22:59.100 DEBUG (MainThread) [aiocomfoconnect.bridge] CnRmiRequest
2024-01-29 09:22:59.100 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
2024-01-29 09:22:59.108 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
ConnectionResetError: [Errno 104] Connection reset by peer
2024-01-29 09:23:29.100 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-01-29 09:23:29.100 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-01-29 09:23:29.100 DEBUG (MainThread) [aiocomfoconnect.bridge] Disconnecting from bridge 192.168.0.181
2024-01-29 09:23:29.101 DEBUG (MainThread) [aiocomfoconnect.bridge] CnRmiRequest
2024-01-29 09:23:29.101 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
2024-01-29 09:23:29.108 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
ConnectionResetError: [Errno 104] Connection reset by peer
2024-01-29 09:23:59.102 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-01-29 09:23:59.102 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-01-29 09:23:59.102 DEBUG (MainThread) [aiocomfoconnect.bridge] Disconnecting from bridge 192.168.0.181
2024-01-29 09:23:59.102 DEBUG (MainThread) [aiocomfoconnect.bridge] CnRmiRequest
2024-01-29 09:23:59.102 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
2024-01-29 09:23:59.110 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
ConnectionResetError: [Errno 104] Connection reset by peer
2024-01-29 09:24:29.102 DEBUG (MainThread) [custom_components.comfoconnect] Sending keepalive...
2024-01-29 09:24:29.102 DEBUG (MainThread) [aiocomfoconnect.bridge] CnTimeRequest
2024-01-29 09:24:29.102 DEBUG (MainThread) [aiocomfoconnect.bridge] Disconnecting from bridge 192.168.0.181
2024-01-29 09:24:29.103 DEBUG (MainThread) [aiocomfoconnect.bridge] CnRmiRequest
2024-01-29 09:24:29.103 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
2024-01-29 09:24:29.111 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
ConnectionResetError: [Errno 104] Connection reset by peer
If more info is needed, shoot!
I tried to rollback to an earlier version, but I'm not able to. Via HACS -> Integrations -> Zehnder ComfoAirQ -> three dots -> Redownload, I'm not able to select a specific version. @michaelarnauts : This is kind of a feature request. Should I open a new issue? How do we revert to a prior version?
I have the same problem with sensor not getting updated. Restart of the HA is necessary to solve it. After the restart of HA, sensor gets updated. I also have a Zigbee wireless button in the kitchen with automation which starts ventilation (speed 100%) for 30 minutes after a single-click of the button. When the ventilation is not starting after a click, I know that a restart of HA is necessary to "repair" the functionality. Below is the log at the time when sensor stops updating.
2024-01-28 13:16:03.977 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-01-28 13:16:03.977 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-01-28 13:16:03.977 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.balance_mode fails
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 168, in _send
return await asyncio.wait_for(fut, TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 171, in _send
raise AioComfoConnectTimeout from exc
aiocomfoconnect.exceptions.AioComfoConnectTimeout
2024-01-28 13:16:03.990 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 168, in _send
return await asyncio.wait_for(fut, TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 171, in _send
raise AioComfoConnectTimeout from exc
aiocomfoconnect.exceptions.AioComfoConnectTimeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 158, in send_keepalive
await bridge.connect(entry.data[CONF_LOCAL_UUID])
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 70, in connect
await super().connect(uuid)
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 94, in connect
await self.disconnect()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 121, in disconnect
await self._read_task
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 213, in _read_messages
message = await self._read()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 175, in _read
msg_len_buf = await self._reader.readexactly(4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/streams.py", line 732, in readexactly
await self._wait_for_data('readexactly')
File "/usr/local/lib/python3.11/asyncio/streams.py", line 525, in _wait_for_data
await self._waiter
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 989, in _read_ready__data_received
data = self._sock.recv(self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-01-28 13:16:28.976 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.balance_mode fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 898, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
2024-01-28 13:16:28.979 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/comfoconnect/__init__.py", line 151, in send_keepalive
await bridge.cmd_time_request()
File "/usr/local/lib/python3.11/site-packages/aiocomfoconnect/bridge.py", line 138, in _send
raise AioComfoConnectNotConnected()
aiocomfoconnect.exceptions.AioComfoConnectNotConnected
I have the same problem with sensor not getting updated. Restart of the HA is necessary to solve it. After the restart of HA, sensor gets updated. I also have a Zigbee wireless button in the kitchen with automation which starts ventilation (speed 100%) for 30 minutes after a single-click of the button. When the ventilation is not starting after a click, I know that a restart of HA is necessary to "repair" the functionality. Below is the log at the time when sensor stops updating.
Hi, I have a temporary solution that I've found for this issue here.
This issue is duplicated.
I have not had a problem for two weeks with sensor not getting updated. Don't know if this is related but I disabled Zehnder Cloud in the Android ComfoControl mobile app.
Closing since I want to migrate all these issues in one issue. See https://github.com/michaelarnauts/home-assistant-comfoconnect/issues/43 for a possible solution and follow-up.
After some time, it seems that the sensor data is not getting updated anymore.
It shows up as a flat line without change, when I see it the only way to solve it is to restart my home assistant. The last updated time is by the time I see it a couple days old. I tried to check the logs but did not see anything out of the ordinary.