Closed SunnyCrockett closed 5 months ago
Thanks for your work. Does everything work now? Then I would update the Wiki to say that they need to use the dongle or something.
To me, it looks like every sensor/entity receives values now. So, yes it is working. You have to use the dongle (I am using the LAN port) and the slave id assigend by the dongle (3 in my case, not 248).
I have added your yaml to my HA and it has thrown errors for "Mileage per kWh" and "Working mode". I have tested a bit with modbus-cli and found out, that these registers are not input (as described in the Sungrow Wallbox documentation) but of type holding. With the changed input_type I get values in my HA.
Offtopic: I had to use the LAN port of the dongle, the ModBus LAN port ist not working. Additionally I hat to use slave id 3 and not 248. You can lookup the ids in the webinterface of the dongle.