-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error handling for Tx write and Tx read errors #2273
Comments
If we know what causes these errors we can send the first time in the right way. But we have 4 different TX-modes and don't know why one or another works better in some systems. (in my system all 4 modes work without any issue, i always use hardware). |
There is no 1:1 cause since most of the same commands work without any issue. Or do you have any idea what I can test next to the different tx-modes? (all of them produces these errors) |
My km200 gateway is sending 38 to 40 read requests to boiler or thermostat within every minute. These requests are replied from boiler / thermostat to the gateway. There are 2 breaks in every minute where no telegram is send/received of approx. 11-12 seconds. When I try to do changes (tx write requests) during one of this breaks, it looks like that I do not get errors.( Otherwise I do get some) Could it be that the coexistence of ems-esp and buderus gateway reduces the chance to execute tx writes correctly? |
I do have some errors on my EMS+ system.
For write commands there are sometimes TX write timeouts and errors:
Last Tx write timeout / Last Tx write rejected by host
While sending raw read request I get failures:
2024-12-02 11:11:43.393 I 360: [command] Called command system/send (Sende EMS-Telegramm) with value 0B 90 FF 00 0C 02 09 2024-12-02 11:11:44.771 E 361: [telegram] Last Tx Read operation failed after 3 retries. Ignoring request: 0B 10 FF 00 02 09 0C
This happens on all type of thermostat commands - setting tempautotemp or switchprog and others.
While setting single values it happens on 5-10% of all command. On longer commands (e.g. switchprog) it happens much more often.
Using the testbuild from @MichaelDvP commands for switchPrograms are > 24 bytes and errors are more often (>40% of all cases).
When I send short raw commands with 4 bytes (2 switchTimes) the error rate is < 10% but still existing.
Since these errors do not exist while using the Buderus gateway, this might look like a timing issue on ems-esp.
Can't these errors be corrected within ems-esp while resending the commands?
Or is there any other way to recognize these errors rather then looking at status log? (e.g. within response topic)
The text was updated successfully, but these errors were encountered: