Open
Description
In evcc-io/evcc#12852 (reply in thread), we're having problems with some modbus devices that have issues on ModbusTCP:
- device is resource-limited
- it quickly closes idle connections (device timeout 4s)
- library will only notice the closed connection on the next send
What we notice it that it seems to take very long before the transaction is retried:
[grid1 ] TRACE 2025/03/24 16:59:06 modbus: send 00 0f 00 00 00 06 ff 03 04 36 00 01
[grid1 ] TRACE 2025/03/24 16:59:06 modbus: close connection and retry, because of EOF
[grid1 ] TRACE 2025/03/24 16:59:21 modbus: send 00 0f 00 00 00 06 ff 03 04 36 00 01
Does anyone have similar issues or experience with ModbusTCP against low-spec embedded devices? Are the best practices for (timeout) settings to improve handling dropped connections?
Metadata
Metadata
Assignees
Labels
No labels