Inverter Power Flow Card

great, hopefully the other power entities also later

will be in the next release

v1.4.1
Updates

  • Improve AUX flow
  • Nearly all card entities are clickable if associated with a valid Home Assistant entityID

v1.4.2 - System Timer and Priority Load or Battery can be toggled from the card if setup as switches

sunsynk-power-flow-click

V1.4.3
Update - Please note the breaking change, show_solar has been moved to the root config.

  • Optimizes the card configuration and includes smarter attribute error checking.
  • README updated to show required/optional attributes and their default values.
  • Card configuration examples have been updated

v1.4.4
Updates

  • Adds sensor for battery current
  • Adjustments to battery layout to accommodate battery current

1 Like

v1.4.5
This release improves the display of battery information to better fit the overall look and feel of the card

v1.4.6
Add new card option large_font: to increase the size of the displayed sensor data. Default is no . Set to yes to enable. See README and example card config for more information

2 Likes

Thanks @slipx06 !!

It works really nice with the larger font! I’ve added an example for the Deye/Sunsynk addon Lovelace examples | Deye/Sunsynk

1 Like

v1.4.8 is released

Updates

  • Battery now displays time until fully charged
  • BATTERY FLOATING message when SOC >= 99% and -2<=Battery Current<=2

v1.4.9 is released

Updates

  • Better handling of battery attributes with 0 value
  • An optional entity can be added to the card remaining_solar: to display the remaining daily solar forecast energy. You can use the default HA sensor sensor.energy_production_today_remaining or other integrations like solcast to provide the information once setup

image

1 Like

v1.5.0
Include the forecast time that the battery will reach fully charged or shutdown states

1 Like

very nice updates and very useful information
this card is awesome

1 Like

suggestion to add 2 card elements autarky and ratio those are calculated data

  1. the autarky of your home (Home Production like Solar / Home Consumption)
  2. the ratio / share of produced electricity used by the hom

both are percentage values, feel free to just add it somewhere

see example in this card

Looking at the code it uses the following formula:

Autarky in Percent = Home Production(Daily Solar + Daily Battery Discharge + Daily Grid Sell)*100 / Home Consumption (Daily Load  + Daily Grid Buy + Daily Battery Charge)
Ratio in Percent = Home Consumption(Daily Load  + Daily Grid Buy +Daily Battery Charge) / Home Production(Daily Solar + Daily Battery Discharge + Daily Grid Sell)*100

Using card daily data

Autarky = (22.5 + 9 + 0)*100 / (18.1 +0 + 11.2) = 107%
Ratio = (18.1 + 0 +11.2) / (22.5 + 9 + 0)*100 = 93%

Does that look correct to you?

yes, it’s correct

I would top the autarky to max 100%

image

1 Like

v 1.5.4 Updates

  • Changes some sensors back to integers to fix rounding issues
  • Introduces two new optional data points on the card through optional autarky: configuration under the inverter section. (Enabled by default set to no to hide. Autarky is the percentage of self sufficiency through Home Production. Ratio is the percentage of produced electricity used by the home. It calculated based on the formula below and borrowed from the Power Distribution Card
    • Autarky in Percent = Home Production(Daily Solar + Daily Battery Discharge + Daily Grid Sell)*100 / Home Consumption (Daily Load + Daily Grid Buy + Daily Battery Charge)
    • Ratio in Percent = Home Consumption(Daily Load + Daily Grid Buy +Daily Battery Charge) / Home Production(Daily Solar + Daily Battery Discharge + Daily Grid Sell)*100

Hello all !!
I am a newbe here in this forum, and was looking at this Dashboard card, my quistion is there any one who have it running on a DEYE 12K ???

I was trying to edit some line in the file but this dit not run :frowning: Line 41+42 whit my owen scensor

pv1_power_186: sensor.sun12k-PV1 Power
pv2_power_187: sensor.sun12k-PV2 Power

but that is not working, is there any help from the groupe ???

regards Ben

If you go to developer tools you can see the sensor entity ID. Use that in the card config

image

v1.5.6
Updates
Adds support for optional display of temperature attributes. The following new sensors can be added to the card configuration:

  • battery_temp:
  • inverter_ac_temp:
  • inverter_dc_temp:

image

image

1 Like

Thanks…now I got , but now the big “job” is to find the coorect ID name :slight_smile:

My DEYE 12k is a 3 phase inverter, so is there a “Volt-meter” and also a “A-meter” whit 3 phase ???

Maybe I just have to figure out my version ??? mybe it is a olde one ??

image

Ben

If you figure this out please share so I can add to the GitHub WIKI

For my DEYE12k 3 phase inverter I have this sensors:

sun12k-Grid Voltage L3 ,sensor.sun12k_grid_voltage_l3
sun12k-Grid Voltage L2 ,sensor.sun12k_grid_voltage_l2
sun12k-Grid Voltage L1 ,sensor.sun12k_grid_voltage_l1

sun12k-Grid Current L3 ,sensor.sun12k_grid_current_l3
sun12k-Grid Current L2 ,sensor.sun12k_grid_current_l2
sun12k-Grid Current L1 ,sensor.sun12k_grid_current_l1

image

here a total list of sensor I found to use in my DEYE12kw:

sun12k-Maximum battery discharge current , number.sun12k_maximum_battery_discharge_current

sun12k-Maximum battery charge current , number.sun12k_maximum_battery_charge_current

sun12k-Load totalpower, sensor.sun12k_load_totalpower

sun12k-load frequency ,sensor.sun12k_load_frequency

sun12k-inverter-frequency ,sensor.sun12k_inverter_frequency

sun12k-Internal total Power ,sensor.sun12k_internal_total_power

sun12k-Internal CT L3 Power ,sensor.sun12k_internal_ct_l3_power

sun12k-Internal CT L2 Power ,sensor.sun12k_internal_ct_l2_power

sun12k-Internal CT L1 Power ,sensor.sun12k_internal_ct_l1_power

sun12k-Heat sink temperature ,sensor.sun12k_heat_sink_temperature

sun12k-Grid_Charge ,switch.sun12k_grid_charge

sun12k-Grid Voltage L3 ,sensor.sun12k_grid_voltage_l3

sun12k-Grid Voltage L2 ,sensor.sun12k_grid_voltage_l2

sun12k-Grid Voltage L1 ,sensor.sun12k_grid_voltage_l1

sun12k-Grid Current L3 ,sensor.sun12k_grid_current_l3

sun12k-Grid Current L2 ,sensor.sun12k_grid_current_l2

sun12k-Grid Current L1 ,sensor.sun12k_grid_current_l1

sun12k-Failure status of communication board ,sensor.sun12k_failure_status_of_communication_board

sun12k-External CT L3 Power ,sensor.sun12k_external_ct_l3_power

sun12k-External CT L2 Power ,sensor.sun12k_external_ct_l2_power

sun12k-External CT L1 Power ,sensor.sun12k_external_ct_l1_power

sun12k-Error3 ,sensor.sun12k_error3

sun12k-Error2 ,sensor.sun12k_error2

sun12k-Error1 ,sensor.sun12k_error1

sun12k-Daily Production ,sensor.sun12k_daily_production

sun12k-Daily Energy Sold ,sensor.sun12k_daily_energy_sold

sun12k-Daily Energy Bought ,sensor.sun12k_daily_energy_bought

sun12k-battery voltage ,sensor.sun12k_battery_voltage

sun12k-battery temperature ,sensor.sun12k_battery_temperature

sun12k-Battery output power ,sensor.sun12k_battery_output_power

sun12k-Battery output current ,sensor.sun12k_battery_output_current

sun12k-battery capacity ,sensor.sun12k_battery_capacity

sun12k-active power generation of today ,sensor.sun12k_active_power_generation_of_today

sun12k-AC Load relay Reserved ,binary_sensor.sun12k_ac_load_relay_reserved

sun12k-AC INV relay ,binary_sensor.sun12k_ac_inv_relay

sun12k-AC grid relay ,binary_sensor.sun12k_ac_grid_relay

sun12k-AC Generator relay ,binary_sensor.sun12k_ac_generator_relay

deye12 Firmware ,update.deye12_firmware

would it be a idea to put a text in the in the lower left corner there say the version ?? V1.0

Ben

How are you reading all the inverter values, esphome, solarman, etc