bohdan-s / SunGather

GNU General Public License v3.0
142 stars 57 forks source link

Openhab, modbus-binding and Sungather #120

Open olili opened 1 year ago

olili commented 1 year ago

First of all - many thanks for this great SunGather project.
Really easy to connect Sungrow inverters to other devices over WiNet-S and mqtt.

Nevertheless I would like to connect directly openhab via a regular bidirectional modbus-binding to the Inverter. (currently I do it oneway via Sungather --> Mosquitto --> Openhab-Mqtt-Binding).

Is there any "modbus-Proxy" ("regular modbus" to "http/winet-S-modibus" ) available?

Best regards, O.

michbeck100 commented 1 year ago

You can use https://pypi.org/project/modbus-proxy/. There’s also a docker image at https://hub.docker.com/r/tiagocoutinho/modbus-proxy. You just have to point the proxy to your inverter and sungather, OpenHab etc. to the proxy then.

olili commented 1 year ago

thx. This is exactly what I was looking for. But is it somehow necessary to include SungrowModbusWebClient as I have only a Winet-S connection to the inverter. If yes, how?

bohdan-s commented 1 year ago

The webclient part translates http to modbus for dongles that don’t support modbus.

olili commented 1 year ago

thx. i know. And I'm looking for an possibility to bridge/proxy to winet-s-http-"modbus" to regular tcp modbus. Any hint?

Am Mo., 1. Mai 2023 um 12:26 Uhr schrieb bohdan-s @.***

:

The webclient part translates http to modbus for dongles that don’t support modbus.

— Reply to this email directly, view it on GitHub https://github.com/bohdan-s/SunGather/issues/120#issuecomment-1529558508, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5KII2QEWGDVHXLY3TGRMDXD6FT7ANCNFSM6AAAAAAXRTLU5Q . You are receiving this because you authored the thread.Message ID: @.***>