flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
637 stars 76 forks source link

[BUG] Home power value is zero when consumption from battery #654

Open XORTEX-DevOps opened 5 months ago

XORTEX-DevOps commented 5 months ago

We are currently only consume power from the battery. The PV system is off because the house is currently being supplied with emergency power from a diesel generator by the energy supplier.

Now you can see the consumption from the battery but this is not displayed in the Home.

Expected behavior Home should display the consumption coming from the battery

Screenshots Screenshot 2024-06-20 at 08 59 31

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

XORTEX-DevOps commented 4 months ago

Any update for this Problem? We also have other strange ads with "Home" in combination with cars. If two cars are charging, nothing is displayed under "Home".

Screenshot 2024-06-24 at 07 28 23

fuzzysb commented 3 months ago

I dont have the same issue at all. the flow from my battery correctly shows as consumption from on my house. I am reading the values for this directly from my inverter using Modbus and ESP32. are you using CT clamps for measurement? the issue is potentially where you have the CT Clamp? its not a bug with the card if the underlying device is showing 0 Watts

fuzzysb commented 3 months ago

additionally your CT clamp should be a bidirectional CT clamp. As for your Wallbox chargers, these are taking power before your consumer unit, so to get a full reading including the Car Power your CT clamp would need to be immediately after the meter in before it goes to the chargers and your consumer unit. I measure the main feed into my consumer unit via CT clamp which signifies my home use, then i have my chargers and an additional bidirectional clamp immediately after my meter before it feeds into my car charger which signifies overall power consumption.

Mike5229 commented 2 months ago

Is there a solution here?

In my case, the house consumption is also displayed as 0 if the power is drawn purely from the battery

Mike5229 commented 2 months ago

I have found the error in my system. My battery only supplies one entity with positive and negative values. I also selected this, but apparently it was interpreted the wrong way round. If I activate the “Invert State” option in the Battery tab, then it works.