I have an issue with my Marstek Venus E modbus via tcp connection in OH. I have been trying to get rid of all the “connection refused” messages and researched a lot. I tried all the informations you provided here but without success.
I digged deeper and deeper, to find the root cause and eventually I am facing an issue beyond my capabilities? Even though I increased the polling times, timeouts, etc. I have been seeing a lot of connection attempts beeing initiated in few milliseconds that then got refused.
I started a new topic and pasted my questions and logs here :
Is there any information/ documentation on how the OH modbus binding is setting up connections and polling? From this comment it looks like a design flaw, because the intervals are ignored at start - so even though the polling frequency is very low, at startup all polls execute at the same time:
But I would think, that over a few hours that should not be a problem. And still, I see things getting online and offline (connection refused) over and over again. Even when only polling each 10 to 20 seconds.