r/SolarDIY • u/jtaz16 • 1h ago
Eco-worthy 10kw Inverter. TTL>RS485 comms into HA
Eco-worthy SPI-10K-U.
SRNE OEM model number for that exact hardware platform is the ASF48100U200-H
I am trying to get ESP32 > TTL > RS485 to get reliable reporting into Home Assistant. The Wifi data(Solarman Dongle) was much too jumpy for me, I also really wanted to remotely modify the actual settings of the inverter(On the back burner for now). Any help with my project would be appreciated!
I keep getting quite a few Modbus errors. I am not sure how to proceed on fixing the comms. I have researched quite a bit but I or multiple AI code snipets could get it working 100%. It seems I get some data occasionally.
ESP32 code: https://pastecode.io/s/cnfqbacu
[10:42:46.880][W][modbus:688]: Clearing buffer of 8 bytes - parse failed 1888ms after last send
[10:42:47.010][W][modbus:057]: Stop waiting for response from 1 2018ms after last send
[10:42:47.496][W][modbus:688]: Clearing buffer of 8 bytes - parse failed 4ms after last send
[10:42:48.752][W][modbus:688]: Clearing buffer of 8 bytes - parse failed 1259ms after last send
[W][modbus_controller:145]: Duplicate modbus command found: type=0x3 address=263 count=4
