Power Flow Card Plus πŸš€

They may well want that, however this is an option to at least show the overall battery state.

1 Like

Good JOB!
Show Your code from configuration.yaml and ui-lovelace.yaml or other that You use.

I only have solar data coming in from the PVoutput integration and then I have individual sensors around the house monitoring things - no grid or battery or inverter sensors - can I still use this for a power flow monitor?

Start by giving them a name.
Also, be sure that when you have β€˜display zero’ on, it will show even when its on 0w.

you really should invest in a P1-meter which connects to your actual grid

Hi hope someone can help me with my power flow card. When the solar battery is not been discharged or charged everthing is perfect has soon as the battery is used the is a 0 in the house load. The same when the grid is used if the battery is in use.

YAML:
type: custom:power-flow-card-plus
entities:
battery:
entity:
consumption: sensor.solax_battery_power_charge
production: sensor.solax_battery_capacity
color_value: true
invert_state: true
state_of_charge_unit_white_space: false
state_of_charge: sensor.solax_battery_capacity_2
grid:
entity:
β€œ0”: s
β€œ1”: e
β€œ2”: β€œn”
β€œ3”: s
β€œ4”: o
β€œ5”: r
β€œ6”: .
β€œ7”: s
β€œ8”: o
β€œ9”: l
β€œ10”: a
β€œ11”: x
β€œ12”: _
β€œ13”: g
β€œ14”: r
β€œ15”: i
β€œ16”: d
β€œ17”: _
β€œ18”: e
β€œ19”: x
β€œ20”: p
β€œ21”: o
β€œ22”: r
β€œ23”: t
consumption: sensor.solax_grid_import
production: sensor.solax_grid_export
color_value: true
color_icon: true
color_circle: true
solar:
entity: sensor.solax_pv_power_total
display_zero_state: true
color_value: false
color_icon: true
home:
entity: sensor.solax_house_load
color_icon: true
color_value: false
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_flow_rate: 6
max_expected_power: 3000
min_expected_power: 0.01
watt_threshold: 3000
transparency_zero_lines: 0
Inverted entities: battery, grid

You need to post YAML correctly formatted.

Your battery production entity doesn’t look like it’s a power sensor, based on its name.

Your grid entity is a mess too. Not sure if that’s an export error.

For some reason the card does that even though you’ve enter a correct sensor using the visual editor, when you view the yaml it creates this strange formatting.

It’s a bug IMO.

This is what mine looks like:

I have the same issue with Home showing 0W

type: grid
cards:
  - type: custom:power-flow-card-plus
    entities:
      battery:
        entity: sensor.cerbo_gx_battery_power
        state_of_charge: sensor.cerbo_gx_battery_soc
      grid:
        entity: sensor.cerbo_gx_grid_power
        secondary_info: {}
      solar:
        entity: sensor.cerbo_gx_solar_power
        display_zero_state: true
        secondary_info: {}
      home:
        entity: sensor.cerbo_gx_ac_consumption
        secondary_info: {}
      individual:
        - entity: sensor.cerbo_gx_eps_power
    clickable_entities: true
    display_zero_lines: true
    use_new_flow_rate_model: true
    w_decimals: 0
    kw_decimals: 1
    min_flow_rate: 0.75
    max_flow_rate: 6
    max_expected_power: 2000
    min_expected_power: 0.01
    watt_threshold: 1000
    transparency_zero_lines: 0
  - square: false

I am wondering about this too

Hello all,
Is there a way to remodel the card to reduce it in height?
I would like this, as i have limited space on my wallpanel.

Is it possible to add 2 solar systems?
in the original power card i can more solar entities, but in this card i looks like it is not possible.
Or does somebody know how to do it?

Make template sensors where you combine values and use that.

Is there still development for this card?

The one thing I’m missing, is water. Would be great if that was visible as well, it’s the only thing that is missing from the original card.

Apparently yes…

Loving this card it looks fantastic on my dashboard! I’m struggling to get the dots to flow in the correct ways though. When the sun has gone and the load is drawing from the battery, there’s no dot flowing from Battery to Load, but there is a dot flowing from PV to Battery still. And when the sun is shining and charging the battery and supporting Load, PV sends a dot to Load, but not Battery. And Battery is now sending a dot to Load :sweat_smile:

PXL_20260110_090333331-ezgif.com-optimize

I’m very new to HA but figuring stuff out through trial and error and LOTS of browsing through this forum!

I’ve got a SunSynk inverter which is connected to an RPi 5 via RS485 which is running Solar Assistant. Since setting that up I’ve bought a second RPi5 which is running HA and pulling data from SA via MQTT mosquitto.

Would anyone be willing to try and help me figure out how to get this working properly using the sensor data from Solar Assistant? :pray:

I have the same setup, assuming your SA broker is bridged with your HA’s broker.

Please post your card config. I don’t have the same issue as you.

Which flow rate model are you using?

Note that the battery power sensors are inverted.

      - type: custom:power-flow-card-plus
        use_new_flow_rate_model: true
        clickable_entities: true
        entities:
          grid:
            entity: sensor.electricity_pulse_counter_current_power
            power_outage:
              entity: binary_sensor.grid_feed
              state_alert: "off"
          battery:
            entity: sensor.battery_power
            state_of_charge: sensor.battery_state_of_charge
            invert_state: true
          solar:
            entity: sensor.pv_power
          home:
            entity: sensor.home_power
            override_state: true
          individual:
            - entity: sensor.geyser_power
              name: Geyser
              icon: mdi:water-boiler
              color_icon: false
              display_zero: true
              decimals: 1
            - entity: sensor.outbuilding_power_meter_channel_1_power
              name: Outbuilding
              icon: mdi:garage-variant
              color_icon: false
              display_zero: true
              decimals: 1
            - entity: sensor.home_power_large_appliances
              name: Large Appliances
              icon: mdi:home-lightning-bolt
              color_icon: false
              display_zero: true
              decimals: 1
            - entity: sensor.home_power_other
              name: Other
              icon: mdi:home-lightbulb
              color_icon: false
              display_zero: true
              decimals: 1
        watt_threshold: 1000
        dashboard_link: /energy
        max_expected_power: 3000  # W

Thanks Pieter,

Indeed set up MQTT broker on SA and HA with mosquitto and HA is pulling all the sensors and controls from HA, assuming the naming convention for these is given by SA.

type: custom:power-flow-card-plus
entities:
  grid:
    entity: sensor.deye_sunsynk_sol_ark_grid_power
    secondary_info: {}
    display_state: two_way
    invert_state: false
    color_value: true
  battery:
    entity: sensor.deye_sunsynk_sol_ark_battery_power
    state_of_charge: sensor.deye_sunsynk_sol_ark_battery_state_of_charge
    show_state_of_charge: true
    state_of_charge_unit: "%"
    invert_state: false
  solar:
    entity: sensor.deye_sunsynk_sol_ark_pv_power
    display_zero_state: true
    secondary_info:
      unit_of_measurement: kWh
      decimals: 2
    name: PV
    use_metadata: false
  home:
    secondary_info: {}
    entity: sensor.deye_sunsynk_sol_ark_load_power
    name: Home
    override_state: true
  individual: []
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 2
min_flow_rate: 0.75
max_flow_rate: 5
max_expected_power: 8000
min_expected_power: 0.01
watt_threshold: 1000
transparency_zero_lines: 0
sort_individual_devices: false

I can’t immediately spot anything that stands out as off but then as I said I am very new to all this :sweat_smile:

You have to set invert_state: false to false under battery:, because this is how SA provides that sensor:

If set to true the direction as well as the values will be inverted, meaning a positive value will be shown as production and a negative value will be shown as consumption.

The above is technically important. If it then still seems off, set use_new_flow_rate_model: true under the main card options.

Aaaah thanks Pieter, that sorted it! The use_new_flow_rate_model: was already set to true, but inverting the battery has sorted the dot flow!

1 Like