Skip to content

Conversation

@wimpie70
Copy link
Contributor

I noticed occasional timeout errors on startup. With more than 1 FAN, or in my case Ramses Extras additional calls the HGI was not ready to process and caused TOUT's

additional mypy fixes

@wimpie70 wimpie70 marked this pull request as ready for review November 21, 2025 10:02
@github-actions
Copy link

Code Coverage

Package Line Rate Health
. 60%
tests_new 99%
tests_old 94%
virtual_rf 64%
Summary 70% (2216 / 3176)

Minimum allowed line rate is 60%

@wimpie70 wimpie70 marked this pull request as draft November 21, 2025 16:23
@wimpie70
Copy link
Contributor Author

i'm not happy about this yet. I'll get back to this. Still getting errors like:

2025-11-21 16:20:56.488 INFO (MainThread) [ramses_tx.protocol] Recv'd: 036 RP --- 32:153289 37:168270 --:------ 2411 023 0000313B10000000B400000000000007080000001ECB2C
2025-11-21 16:20:56.489 INFO (MainThread) [ramses_rf.dispatcher] ||  32:153289 |  37:168270 | RP | fan_params       |      || {'parameter': '31', 'description': 'Time to change filter (days)', 'value': 180, '_value_06': '3B10', 'min_value': 0, 'max_value': 1800, 'precision': 30, '_value_42': 'CB2C'}
2025-11-21 16:20:56.564 INFO (MainThread) [ramses_tx.protocol] Recv'd: 000  I --- 18:149488 63:262142 --:------ 7FFF 023 0011019AA738001032343131525133323A313533323839
2025-11-21 16:20:56.564 INFO (MainThread) [ramses_rf.dispatcher] ||  18:149488 |  63:262142 |  I | puzzle_packet    |      || {'datetime': '2025-11-21T16:20:56.464', 'impersonating': '2411|RQ|32:153289', 'parser': 'v0.52.3'}
2025-11-21 16:20:56.565 INFO (MainThread) [ramses_tx.transport] Tx: {"msg": "RQ --- 37:168270 32:153289 --:------ 2411 003 00003E"}
2025-11-21 16:20:56.960 INFO (MainThread) [ramses_tx.protocol] QosProtocol(WantEcho, len(queue)=0): Impersonating device: 37:168270, for pkt: 2411|RQ|32:153289
2025-11-21 16:20:57.066 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT.. = <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=1/4>: echo_timeout=0.5
2025-11-21 16:20:57.066 INFO (MainThread) [ramses_tx.transport] Tx: {"msg": "RQ --- 37:168270 32:153289 --:------ 2411 003 00003E"}
2025-11-21 16:20:58.068 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT.. = <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=2/4>: echo_timeout=1.0
2025-11-21 16:20:58.069 INFO (MainThread) [ramses_tx.transport] Tx: {"msg": "RQ --- 37:168270 32:153289 --:------ 2411 003 00003E"}
2025-11-21 16:21:00.071 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT.. = <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=3/4>: echo_timeout=2.0
2025-11-21 16:21:00.071 INFO (MainThread) [ramses_tx.transport] Tx: {"msg": "RQ --- 37:168270 32:153289 --:------ 2411 003 00003E"}
2025-11-21 16:21:04.073 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT.. = <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=4/4>: echo_timeout=4.0
2025-11-21 16:21:04.073 INFO (MainThread) [ramses_tx.protocol] QosProtocol(IsInIdle, len(queue)=1): Failed to send 2411|RQ|32:153289: <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=4/4>: Exceeded maximum retries
2025-11-21 16:21:04.073 ERROR (MainThread) [custom_components.ramses_cc.broker] Failed to get fan parameter: <ProtocolContext state=WantEcho cmd_=2411|RQ|32:153289, tx_count=4/4>: Exceeded maximum retries
Traceback (most recent call last):
  File "/config/custom_components/ramses_cc/broker.py", line 1083, in async_get_fan_param
    await self.client.async_send_cmd(cmd)

@wimpie70 wimpie70 changed the title Feature/params fix timeout issues on startup WIP Feature/params fix timeout issues on startup Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant