Inverter Power Flow Card

you can make it with custom button card, make animated line in svg and add as custom_field, in animated svg make variable for animation speed according to power usage

v6.1.0

What’s Changed

:rocket: Exciting New Features
This release adds an option to display a second battery on the lite, compact and full cards styles when using the wide view.

  • feat: add an option to display a 2nd battery on all the card styles when using the wide view closes #493 . Also addresses #380 #374 #296 #285 #232 #203 #135
  • feat: update visual editor
  • docs: update documentation with 2nd battery attributes and entities
  • docs: add entity categories

Other Changes

Full Changelog: Comparing v6.0.0...v6.1.0 · slipx06/sunsynk-power-flow-card · GitHub

2 Likes

You will need to render an SVG element. See example below

                        <svg id="pv3-flow">
                            <path id="line" d="M 113 84 L 113 125 Q 113 132 120 132 L 205 132.03"
                                fill="none" stroke="blue" stroke-width="2"
                                stroke-miterlimit="10"
                                pointer-events="stroke"/>
                            <circle id="pv3-dot" cx="0" cy="0"
                                    r="3"
                                    fill="blue}">
                                <animateMotion dur="5s" repeatCount="indefinite"
                                            keyPoints="0;1"
                                            keyTimes="0;1" calcMode="linear">
                                    <mpath xlink:href="#line"/>
                                </animateMotion>
                            </circle>
                        </svg>

Why my load power is shown as Grid minus Panels power?
I have Deye 3-phase inverter with all load connected before inverter - essential output not used.
I can not figure out right configuration

You either need to switch to the full card that lets you display non essential power and then set your essential_power attribute to essential_power: '0' or if you want to keep the lite card and display your non essential load then you need to provide a sensor that measures the load for the essential_power i.e. essential_power: sensor.for_nonessential_load

Thank you, last recommendation did the trick. :slight_smile:

1 Like

Hi. Been using this card since I got HA installed last year (2023).
Is there any way to make displayed entities like switches clickable to be able to toggle those switches?
I’m displaying the power from the pool pump and geysers (water heaters) but would like to be able to switch them directly from the card.

Hi. My setup is a little unorthodox in that:

  • the house is powered by an off-grid inverter with batteries (this fully managed through solar-assistant), which also has AC input
  • in addition, I have a separate, non-managed grid-tie inverter (shown as a rooftop below) which is connected in parallel to the energy meter (I have two CT clamps measuring PV production and grid export/imports, respectively)
    I fiddled with the card a little and came up with the following:
    image

So I mapped the grid-tie inverter production as a “non essential load” – I did not use the aux since it would appear on the upper part of the card, next to the load, and that would reflect the actual connection to the “input” side of the main off-grid inverter.
Apart from the misnomer, it all looks good EXCEPT for the flow indicator from the grid-tie inverter aka non essential load, which would be reversed (down TO the rooftop instead of up FROM the rooftop).
I tried setting grid.invert_flow to true but that would also reverse the flow to the grid (TBH, I’m not even sure what’s the whole point of that setting…).
So to fix that, I added a new grid.invert_ne_flow setting which at least fixes the flow (from the roof to the inverter). The color of the roof still follows the grid direction (import/export) whereas I’d like it to stay constant but that’s a minor detail.
So two questions:

  1. Does my approach make sense or is there a better blueprint for covering my use case?
  2. Is there a way to get some visual representation of how much power I’m importing (relative to contractually allotted power, i.e. 3.3kW), so to get a visual warning before the meter trips for excessive power import?

I’m willing to open PRs if my proposals make sense.

Is there any possibility to implement 2 inverters (Victron + Fronius ac coupled or microgrid) in the future?
Also on Non essential we can add up to 3 additional loads . Maybe in the future to have more devices there?

Thank you

2 Likes

It’s not possible at the moment but sounds like a good idea. I’ll see what i can do

2 Likes

v6.3.0

:rocket: Exciting New Features

  • feat: display up to 6 MPPT’s on the lite or compact card when wide view is enabled closes #586

{6806C7C2-76C7-4B12-871E-D20EAB1D4070}

Full Changelog: Comparing v6.2.2...v6.3.0 · slipx06/sunsynk-power-flow-card · GitHub

v6.4.0

:rocket: Exciting New Features

  • feat: you can now assign entities to your essential loads that make the icons clickable. Useful if you want to turn a load on or off from the card. Set the entities using the load1_switch, load2_switch, load3_switch etc. attributes.

Full Changelog: Comparing v6.3.0...v6.4.0 · slipx06/sunsynk-power-flow-card · GitHub

5 Likes

Hi ,
i have a similar situation
8Kw single phase with only grid connection using the Lite Card
for the load template i use
grid_ct_power_172 + inverter_output_power_175
HTH

how do you get so many essential load values? in my case whenever I select more than 2 to monitor the power/ energy it combines it into one big icon without any values…

Good morning,
after updating to version 6.5 the case and battery icon disappears every 30 minutes. Then by refreshing the page it reappears.
I cleaned cookies and other things from the browser…

image

Hi. Have a look at the docs. It depends on your configured view type

additional_loads: Optional 0 Display additional loads on the essential side (0/1/2/3/4/5/6). Three loads will only be visable when using the lite and compact card. Up to six loads can be displayed if using the wide screen display mode. Four or more loads are only visable on the full card if show_aux: false.

I wonder if its related to performance of your system?. Anything in the browser logs?

It also happens on Iphone 15 Pro and Lenovo M10 table.

Where do I get the logs you are interested in?

Press F12 and then check console logs.

image

Good morning,
If it’s not a problem, could you provide a translation of this string? every update I have to modify manually… Italian language.

Thank you!!!

No error…