tiagocoutinho / modbus-proxy

Connect multiple clients to modbus devices
Other
71 stars 13 forks source link

poor communication no matter how much clients #30

Open TMoersch opened 10 months ago

TMoersch commented 10 months ago

Description

I need to use a modbus-proxy in order to use the evcc addon and the huawei_solar integration parallel. I know that I configured avereything to use the modbus-proxy and not to bypass directly to the inverter. The communication is not stable to my huawei sun2000 inverter with dongle via modbus-tcp

What I Did

Both, the addon and the integration work fine if they are the only client that communicate directly to the inverter.
Every thing is on the same RPI!!
If I trie to use modbus-proxy with one of the two clients it works for some minutes until I get an Error read:write that will sometimes recover.
With both clients, only evcc is somewhat stable, huwaei_solar is 99% out of order.
connection time 2 sec, timeout 10 sec
both modbus-proxy port and inverter port use port 502

I use two inverter in a cascade and two batteries, the trouble startet with the second inverter.

I think that the amount auf data is just to much or that for whatever reason they are somtimes not proper serialized?

Thank for helping me.

Thomas