huawei_solar icon indicating copy to clipboard operation
huawei_solar copied to clipboard

Unreliable readings?

Open johanvh83 opened this issue 4 years ago • 7 comments

Compared the solar production today on the FusionSolar website and the State of the sensor. It seems there is a big difference: Fusionsolar image Grafana in Home Assistant image There are many differences. Should I 'believe' Fusionsolar or is Grafana more reliable?

johanvh83 avatar Dec 05 '21 16:12 johanvh83

I'm not sure, they could be a bit different depending on the sample rate and smoothing they use, but this looks excessive. Do the daily yields differ?

Emilv2 avatar Dec 05 '21 18:12 Emilv2

The HA daily yield entity shows 7,12 kWh image

While FusionSolar shows 7.04 kWh image

That's not that much difference.

johanvh83 avatar Dec 05 '21 19:12 johanvh83

Hi, I'm still investigating and observed, in my opinion, something to improve. The state of the sensor is not only the solar power production but also the battery charge/discharge is part of this result.

Today it's a cloudy day. Fusionsolar gives a solar power production of about 211 watts. My battery delivers 629 watts to my house, as a result the state of the sensor is 840 watts.

Any idea if you can rectify this?

There seems to be some delay between both reading but the basic problem is clear.

image image

As far as I could read in other threads, you don't have a battery, so if I can help to deliver data you need, just tell me.

johanvh83 avatar Dec 06 '21 08:12 johanvh83

I think you are using the wrong value then. From my understanding input power attribute is the DC current being produced as solar power. Entity value is the active power which is the AC current going out from the inverter to house/grid. If the installation does not have batteries both values match (more or less). If you have batteries, they are in the DC part of the installation so current charging them go directly from solar production and not going through the inverter. Also if batteries are discharging, the power sums up to the input power so output active power of the inverter can be higher than the solar production.

TLDR: Use input power as solar production value

JacoboSanchez avatar Dec 06 '21 09:12 JacoboSanchez

Thanks for your answer. You are right, the input_power attribute is the solar production in Watts. The State is combination of solar production and battery charge/discharge. Also some other attributes are not clear for me. I asked for clarification, you send me a document but it's not clarifying. Do you know which atttribute shows the actual battery charge/discharge power in Watts?

johanvh83 avatar Dec 06 '21 09:12 johanvh83

Well I also explained that and It and posted energy/ power/attributes/entities. It is also under the integration README. storage_charge_discharge_power is not an attribute but a separate entity. It takes negative/positive values depending on charge/discharge state

JacoboSanchez avatar Dec 06 '21 10:12 JacoboSanchez

Hi, I'm still investigating and observed, in my opinion, something to improve. The state of the sensor is not only the solar power production but also the battery charge/discharge is part of this result.

Today it's a cloudy day. Fusionsolar gives a solar power production of about 211 watts. My battery delivers 629 watts to my house, as a result the state of the sensor is 840 watts.

Any idea if you can rectify this?

It's not so simple, see wlcrs/huawei_solar/issues/1. In my opinion the only real solution is Huawei fixing this in the firmware. If enough people complain they might fix it...

Emilv2 avatar Dec 06 '21 18:12 Emilv2