Another tcp-proxy addon for modbus tcp or anything else

Hi guys,

It’s a simple TCP Proxy addon. I created it, because none of the existing modbus proxies worked for me on PE11 devices in any of the device modes. I needed a reliable communication between my Deye SUN-10K-SG04LP3-EU hybrid-inverter and SDM630v2. At the same time I use HA modbus to read certain registers from the energy meter, and without a proxy, it’s really problematic, as there’s no free time-window due to the Deye inverter sending 3 requests or so per Second.

One PE11 is connected to SDM630v2 and is the single RS485 master for the SDM630 client. It’s running as a tcp-server (in serial protocol none config) and configured in the proxy addon as the server behind the proxy. HA modbus is polling registers in rtuovertcp mode connected to the addon exposed port running on HA. The second PE11 is connected to the modbus energy meter port on the Deye inverter and configured as tcp-client (also with serial protocol none config) also to my HA host on this proxy port.

The modbus-proxy addon has been only tested on HA modbus integration with SDM630v2 and PE11 devices on Deye inverter, see PE11.

The addon is located here: GitHub - cosote/ha-async-tcp-proxy

Cheers - cosote.

Can I use this for any sort of tcp server? I have a commercial Bose system and I have some node.js middleware for the tcp client that echoes over to Mqtt to HA.

I can’t seem to install the addon - looks like something with the build pipeline.

Tried it on 2 different installation, it also might be that something about that changed on HaaS side, can anybody confirm?

The command '/bin/ash -o pipefail -c pip install modbus-proxy' returned a non-zero code: 1

Hi Cheppetto: I am facing the same issue.

same issue: