Open linusst opened 6 months ago
Also good to add data_type to specify the register size and if it’s signed or not.
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.
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 😊
Register 35301 is uint32 (2 bytes) maybe you are just reading one byte?
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}}”