Inverter Power Flow Card

Hello. The czech language is not working. Thank you for repair.

1 Like

It works now. School mistake :slight_smile: . It is necessary to change the language in HA to German and then switch back to the Czech language.
Slipx06 … Thank you very much.

1 Like

I don’t know, why doesn’t work. Another translate works.
image
image

image
image

Martine mně to funguje. Nemám integraci z HACS, ale manuální.
It works for me. I don’t have a HACS installation, but a manual one.

Hmm, it is mystery… whole day en and now is correct czech. Perfect work.

So i am having an issue, where it is not pulling the sensors through

image

type: custom:sunsynk-power-flow-card
cardstyle: full
panel_mode: false
large_font: false
title: Sun Power
title_colour: black
title_size: 32px
show_solar: true
show_battery: true
decimal_places: 2
inverter:
modern: true
colour: grey
autarky: energy
auto_scale: true
battery:
energy: 5200
shutdown_soc: 20
invert_power: false
colour: black
show_daily: true
animation_speed: 6
max_power: 8000
full_capacity: 100
empty_capacity: 20
show_absolute: false
auto_scale: true
solar:
colour: orange
show_daily: true
mppts: 2
animation_speed: 9
max_power: 6500
pv1_name: Garage
pv2_name: North
pv3_name: East
pv4_name: West
auto_scale: true
load:
colour: green
show_daily: true
show_daily_aux: false
show_aux: false
invert_aux: false
show_absolute_aux: false
aux_name: Generator
aux_type: gen
aux_colour: green
aux_off_colour: red
aux_loads: 2
aux_load1_name: Aux load 1
aux_load2_name: Aux load 2
aux_load1_icon: mdi:air-filter
aux_load2_icon: mdi:stove
animation_speed: 8
max_power: 8000
additional_loads: 0
load1_name: Geyser
load2_name: Pool
load1_icon: boiler
load2_icon: mdi:pool
auto_scale: true
grid:
colour: pink
show_daily_buy: true
show_daily_sell: true
no_grid_colour: ‘#a40013
show_nonessential: false
invert_grid: false
nonessential_name: Non Essential
nonessential_icon: oven
additional_loads: 2
load1_name: Load 1
load2_name: Load 2
load1_icon: boiler
load2_icon: mdi:ev-station
animation_speed: 8
max_power: 8000
auto_scale: true
entities:
use_timer_248: switch.sunsynk_toggle_system_timer
priority_load_243: switch.sunsynk_toggle_priority_load
day_battery_charge_70: sensor.sunsynk_day_battery_charge
day_battery_discharge_71: sensor.sunsynk_day_battery_discharge
day_load_energy_84: sensor.sunsynk_day_load_energy
day_grid_import_76: sensor.sunsynk_day_grid_import
day_grid_export_77: sensor.sunsynk_day_grid_export
day_pv_energy_108: sensor.sunsynk_day_pv_energy
day_aux_energy: sensor.sunsynk_day_aux_energy
inverter_voltage_154: sensor.sunsynk_inverter_voltage
load_frequency_192: sensor.sunsynk_load_frequency
inverter_current_164: sensor.sunsynk_inverter_current
inverter_power_175: sensor.sunsynk_inverter_power
grid_power_169: sensor.sunsynk_grid_power
pv1_power_186: sensor.sunsynk_pv1_power
pv2_power_187: sensor.sunsynk_pv2_power
pv3_power_188: none
pv4_power_189: none
pv_total: sensor.sunsynk_totalsolar
pv1_voltage_109: sensor.sunsynk_pv1_voltage
pv1_current_110: sensor.sunsynk_pv1_current
pv2_voltage_111: sensor.sunsynk_pv2_voltage
pv2_current_112: sensor.sunsynk_pv2_current
pv3_voltage_113: none
pv3_current_114: none
pv4_voltage_115: none
pv4_current_116: none
battery_voltage_183: sensor.sunsynk_battery_voltage
battery_soc_184: sensor.sunsynk_battery_soc
battery_power_190: sensor.sunsynk_battery_power
battery_current_191: sensor.sunsynk_battery_current
essential_power: none
essential_load1: sensor.tuya_geyser_current_consumption
essential_load2: sensor.load2_power
nonessential_power: none
non_essential_load1: sensor.nonessential1_power
non_essential_load2: sensor.nonessential2_power
grid_ct_power_172: sensor.sunsynk_grid_power
grid_connected_status_194: binary_sensor.sunsynk_grid_connected_status
inverter_status_59: sensor.sunsynk_overall_state
aux_power_166: sensor.sunsynk_aux_power
aux_connected_status: binary_sensor.sunsynk_aux_connected_status
remaining_solar: sensor.solcast_forecast_remaining_today
battery_temp_182: sensor.sunsynk_battery_temperature
radiator_temp_91: sensor.sunsynk_radiator_temperature
dc_transformer_temp_90: sensor.sunsynk_dc_transformer_temperature
prog1_time: sensor.sunsynk_time_slot_1
prog1_capacity: number.sunsynk_system_mode_soc_time1
prog1_charge: switch.sunsynk_system_mode_grid_charge_time1
prog2_time: sensor.sunsynk_time_slot_2
prog2_capacity: number.sunsynk_system_mode_soc_time2
prog2_charge: switch.sunsynk_system_mode_grid_charge_time2
prog3_time: sensor.sunsynk_time_slot_3
prog3_capacity: number.sunsynk_system_mode_soc_time3
prog3_charge: switch.sunsynk_system_mode_grid_charge_time3
prog4_time: sensor.sunsynk_time_slot_4
prog4_capacity: number.sunsynk_system_mode_soc_time4
prog4_charge: switch.sunsynk_system_mode_grid_charge_time4
prog5_time: sensor.sunsynk_time_slot_5
prog5_capacity: number.sunsynk_system_mode_soc_time5
prog5_charge: switch.sunsynk_system_mode_grid_charge_time5
prog6_time: sensor.sunsynk_time_slot_6
prog6_capacity: number.sunsynk_system_mode_soc_time6
prog6_charge: switch.sunsynk_system_mode_grid_charge_time6
energy_cost_buy: sensor.tibber_energy_cost_buy
energy_cost_sell: sensor.tibber_energy_cost_sell
solar_sell_247: switch.sunsynk_toggle_solar_sell

as far as i can tell. the senors are correct

Its difficult to tell from the information you have provided. You should start by checking your sensors in developer tools. Also I assume you card config is configured with correct indentations?

v2.11.0

:rocket: Exciting New Features

  • feat: adds support for 3 phase inverter data. Setting the three_phase: true attribute will display additional 3 phase sensors. Requires entity attributes to be defined i.e. inverter_current_L2, inverter_current_L3, inverter_voltage_L2, inverter_voltage_L3 , grid_ct_power_L2, grid_ct_power_L3, load_power_L1, load_power_L2, load_power_L3
  • docs: updates French Translation. Thanks @adnovea

Hi, in the lite card there is a problem with the graphics of the energy_cost_sell entity
entita

Thanks for catching that. Fixed in 2.11.1

1 Like

Greetings, Firstly, a great card! I am trying to adapt this to my Fronius Solar Inverter.

First problem I ran into is that my smart meter offers values in KW while the card requires W. Is there a way to convert this? I can change that in the entity but that will change other cards? Is there a way to “duplicate” the entity?

You could create template sensors to convert to W by multiplying by 1000

- platform: template
  sensors:
    convert_battery_power:
      unique_id: convert_battery_power
      friendly_name: "Battery Power Watts"
      value_template: "{{ states('sensor.battery_power') | float * 1000 | round(2) }}"
1 Like

v2.12

:rocket: Exciting New Features

  • docs: Add Italian translation. Thanks @gohanp75
  • feat: Choose decimals displayed for energy cost. See energy_cost_decimals: under the cards Grid section.

:bug: Patches & Bug Fixes

  • fix: solar_sell_247 when value is undefined
  • fix: update French translation

Full Changelog: Comparing v2.11.2...v2.12.0 · slipx06/sunsynk-power-flow-card · GitHub

1 Like

Thanks for this @slipx06,

I was able to create the code in developer tools > template, but where do it put it? In config.yaml file?

Add this to your configuration.yaml

sensor: !include sensors.yaml

Then create a file called sensors.yaml in the same directory as your configuration.yaml file and paste the template sensor as I shared inside

1 Like

@slipx06 Thanks that worked beautifully! I will be bothering you with some calculations which i guess will have to be included in my newly formed sensors.yaml file :grinning:

So here is my card for Fronius PV system. I don’t have a battery so I excluded it. I am using the lite card until i get more familiar with all the entities.

So my problem is calculating the house consumption, the 1 w you see there is coming from the PV system while the grid is supplying the 864 w.

I have an entity now for the grid but that measures the value and can be + or - depending on the PV output and house consumption.

My PV system doesn’t have separate entities for export and import. I have a smart meter that shows the following:

And if i look at my energy card, it looks like this:

So at this stage 11.3kWh produced from Solar, 10 from grid, 3.6 to the grid. I simply dont understand the math and how to get those values into the card.

The smart meter says that you imported 3.6kWh but the energy distribution says you exported 3.6kWh?
How have you setup your energy dashboard?

@slipx06 This is what i have: