flixlix / power-flow-card-plus

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

[Feature Request] Proportional Grid Feed-In #119

Closed melvanderwal closed 1 year ago

melvanderwal commented 1 year ago

Y'know how the outer ring of the Home entity displays coloured sections which indicate how much power is coming from the grid vs solar vs battery? Having that for the grid entity with solar vs battery power would be righteous. It would require having different line colours for battery to grid and solar to grid.

Thanks very much for this card, it is excellent. Concisely informative cards like this are the best.

flixlix commented 1 year ago

Thank you for your suggestion, I appreciate it 👍

Can you explain in a little more detail what behavior you would expect? Do you want the outer circle to show how much the solar panels are exporting compared to the battery? Why would the battery be exporting to the grid? Does that not defeat the purpose of a home battery? What should be shown, when nothing is exporting to the grid (which in my case is 90% of the time)?

melvanderwal commented 1 year ago

Thank you for responding and considering this.

The behaviour is as you describe - the outer circle displaying how much of the export is from battery and how much is from solar. When importing from the grid, the existing blue circle would be good.

Why would the battery be exporting to the grid? Does that not defeat the purpose of a home battery?

My 16 kWh battery is large enough that I can discharge it to about 45% in the evening and it will power my house until solar is generating the next day. My electricity plan is at variable, wholesale grid prices which continually fluctuate. When the price is high, I feed electricity into the grid from my battery. People who have peak / off-peak feed-in tariffs also do the same thing.

image

In this image from a few days ago, you can see:

On really hot days people are using their air conditioning, and prices sometimes get high near the end of the solar generation period but while solar is still generating. In those cases I'm exporting from both solar and battery.

flixlix commented 1 year ago

I'll add this to the to-do list but don't expect me to implement this anytime soon, since this doesn't apply to most peoples setups. Feel free to implement this yourself and submit a PR

melvanderwal commented 1 year ago

That sounds good, thanks for looking at it.