Louisbertelsmann / Sungrow-Wallbox-Modbus-HomeAssistant

A Sungrow Wallbox addition to Homeassistant. Currently supported models: AC011E-01 (L1)
16 stars 3 forks source link

changed input_type to holding for 21232 and 21263 #4

Closed SunnyCrockett closed 5 months ago

SunnyCrockett commented 5 months ago

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.

Louisbertelsmann commented 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.

SunnyCrockett commented 5 months ago

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).