kellerza / sunsynk

Deye/Sunsynk Inverter Python library and Home Assistant OS Addon
https://kellerza.github.io/sunsynk/
MIT License
194 stars 84 forks source link

modbus tcp serial bridge? #5

Closed pepelillo closed 2 years ago

pepelillo commented 2 years ago

I would like to know if it's possible to use a serial bridge with this addon. Something like using and ESP and a ttl to rs485 converter and a ESPeasy firmware or similar.

I've found this project https://github.com/pawelka/sofarsolar_esp_rs485_logger with similar approach but using firmware for sofar inverter. would like to use a simple bridge to be used. Some ideas? Thanks

kellerza commented 2 years ago

This sunsynk repo includes mbusd, which is a Modbus TCP to RTU bridge

Searching for an esp variant, I've found this https://github.com/emelianov/modbus-esp8266/tree/master/examples/Bridge

The author discusses it here as well: https://github.com/emelianov/modbus-esp8266/issues/19

Please let us know if you found a working solution!

kellerza commented 2 years ago

For mbusd mentioned above you can use any Raspberry Pi. If you run it without the HomeAssistant OS, you could even use a Model 1B

The USR-W630 was also recommended on the Powerforum.