micros01 / GoodweHAmodbus

Homeassistant modbus config for Goodwe ET 15
0 stars 0 forks source link

Helpful points #1

Open linusst opened 6 months ago

linusst commented 6 months ago

Register 35301 shows the total power from both mppt:s (all strings).

When setting up modbus you scale down battery with “.1”. Change this to 1 so you don’t need to have this “{{states('sensor.goodwe_battery_soc')|float*10}}”

linusst commented 6 months ago

Also good to add data_type to specify the register size and if it’s signed or not.

linusst commented 6 months ago

I thing you have device class wrong in a lot of places. If it’s voltage you are reading device class is voltage and it it’s watt it should be power. Battery only corresponds to soc.

micros01 commented 6 months ago

Thanks for pointing this out, been doing a lot of copy and paste not really knowing what I'm doing, just happy I got some data. I however don't get any data on register 35301 for some reason... I changed the device_classes and the scale to (hopefully) be more correct now 😊

linusst commented 6 months ago

Register 35301 is uint32 (2 bytes) maybe you are just reading one byte?