Repository navigation
Added Modbus TCP proxy - #99
Conversation
|
Hi, We have from umodbus.client.serial.redundancy_check import get_crcAlso do not use the UnitId as SlaveId they are not the same. It will work if you use 1 which is the default for most inverters, but will fail with any other value. If the proxy must service more than one inverter the UnitId must be mapped to the correct PysolarmanV5 instance. |
|
Thanks! Well the proxy requires IP and serial from the inverter, so it can only serve one, right? |
I don't use HA, so I can't comment on that, but you can have a map/dict even in this state of the proxy and to instantiate different client for different unitId. The slaveId for all however should be 1. |
6177a64 to
87e7680
Compare
|
Thanks. Fixed, the tests pass now |
|
I see. Thank you! |
Related to #98
Hello! I needed proper TCP frames for systems that don't support the 'RTU over TCP' messages provided by
solarman_rtu_proxy.py.So I added the
solarman_tcp_proxy.pyutility.It works pretty well.
I do get errors sometimes (on both proxies), but it's probably a bad connection..
I am connected remotely through port forwarding.
Would love to hear some feedback.