Hi all,
I am moving forward one step at the time. But I am running into the next issue. My devices in HA keep becoming unknown and then reapearing. In the HA log I see loads of errors. Good thing HA combines similar message:
Logger: ramses_tx.transport
Source: runner.py:189
First occurred: October 8, 2024 at 8:32:08 PM (14282 occurrences)
Last logged: 7:24:47 PM
MqttTransport(QosProtocol(WantEcho, len(queue)=2)): Discarding write (tokens=-0.74)
MqttTransport(QosProtocol(WantEcho, len(queue)=1)): Discarding write (tokens=-0.73)
MqttTransport(QosProtocol(WantEcho, len(queue)=2)): Discarding write (tokens=-0.73)
MqttTransport(QosProtocol(WantEcho, len(queue)=1)): Discarding write (tokens=-0.72)
MqttTransport(QosProtocol(WantEcho, len(queue)=2)): Discarding write (tokens=-0.71)
And an other highrunner.
Logger: ramses_tx.protocol_fsm
Source: runner.py:189
First occurred: October 8, 2024 at 8:31:28 PM (29836 occurrences)
Last logged: 7:24:48 PM
TOUT.. = <ProtocolContext state=WantEcho cmd_=000A|RQ|01:205429|00, tx_count=1/4>: echo_timeout=0.5
TOUT.. = <ProtocolContext state=WantEcho cmd_=0008|RQ|13:144633, tx_count=1/4>: echo_timeout=0.5
TOUT.. = <ProtocolContext state=WantEcho cmd_=0004|RQ|01:205429|00, tx_count=1/4>: echo_timeout=0.5
TOUT.. = <ProtocolContext state=WantEcho cmd_=1100|RQ|13:144633, tx_count=1/4>: echo_timeout=0.5
TOUT.. = <ProtocolContext state=WantEcho cmd_=000C|RQ|01:205429|000F, tx_count=1/4>: echo_timeout=0.5
This one shows at least some exception
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:147
First occurred: October 8, 2024 at 8:45:36 PM (27 occurrences)
Last logged: 7:18:42 PM
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol_fsm.py", line 333, in send_cmd
await asyncio.wait_for(fut, timeout=timeout)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 628, in async_send_cmd
return await super().async_send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/gateway.py", line 326, in async_send_cmd
return await self._protocol.send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 711, in send_cmd
pkt = await super().send_cmd( # may: raise ProtocolError/ProtocolSendFailed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 481, in send_cmd
return await super().send_cmd(cmd, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 225, in send_cmd
return await self._send_cmd(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 660, in _send_cmd
return await self._context.send_cmd(send_cmd, cmd, priority, qos)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol_fsm.py", line 343, in send_cmd
raise exc.ProtocolSendFailed(msg) from err # make msg *before* state reset
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ramses_tx.exceptions.ProtocolSendFailed: <ProtocolContext state=WantEcho cmd_=2309| W|01:205429|00, tx_count=4/4>: Expired global timer after 20.0 sec
What is happening here? Is this a configuration issue, or a real bug ?
Regards,
Bert