Solar and battery power/energy adding up and measuring double or twice

Hello everyone!!

I see this is a common issue with users that have a battery connected to their solar inverter.
When the battery feed the house via the inverter both powers/energies add up.
What has been peoples end work around for this?

If I just subtract the battery power from the inverter I will end up with a negative number as there are losses.

This also affects the energy tab and statistics.

Thanks!

Hi!

I have Huawei inverters, and I had a similar problem. I solved it with this example, and since then the data has been fine!

Example

Hi!
Thanks for that, I can see that in the end it’s a math formula to send the end result to HASS.
The problem is that if i do this I end up with negative values because the inverter has efficiency losses (might be why you have negative solar in your energy tab).

For now I have simply disabled the battery output so it’s always reporting zero.

HASS expects this setup:
Expectation

But in most installations it is like this setup:
Reality

We will find a way!!

1 Like