Inverter Power Flow Card

It’s documented here
https://slipx06.github.io/sunsynk-power-flow-card/index.html

v2.5.0

:rocket: Exciting New Features

  • feat: battery information can be hidden from the card with show_battery: false
  • chore: added translations for da, de, es, et, fr, nl, ru,

Full Changelog: v2.4.1…v2.5.0

v2.5.1 Latest

:bug: Patches & Bug Fixes

  • fix: display additional essential loads correctly when show_solar: false and/or show_battery: false

Full Changelog: v2.5.0…v2.5.1

1 Like

v2.6.0

:rocket: Exciting New Features

  • feat: adds an optional card title. Set size and colour.
  • chore: update README and de translation

Full Changelog: v2.5.1…v2.6.0

title: Sunsynk Inverter
title_colour: Grey
title_size: 32px

image

1 Like

Beautiful card, thank you very much for your work.
If anyone needs 10K for Goodwe, I have the code for the card.

type: custom:sunsynk-power-flow-card
cardstyle: lite
panel_mode: false
large_font: false
title: GOODWE
title_colour: '#fffacd'
title_size: 28px
show_solar: true
show_battery: true
inverter:
  modern: true
  colour: '#fffacd'
  autarky: power
battery:
  energy: 10650
  shutdown_soc: 20
  colour: '#00ff00'
  show_daily: true
  full_capacity: 100
  empty_capacity: 20
solar:
  colour: '#ffd700'
  show_daily: true
  mppts: 2
  animation_speed: 9
  max_power: 8000
  pv1_name: ZÁPAD
  pv2_name: JIH
  pv3_name: East
  pv4_name: West
load:
  colour: '#00bfff'
  show_daily: true
  show_daily_aux: true
  show_aux: true
  invert_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: 2
  load1_name: BOJLER
  load2_name: KLIMATIZACE
  load1_icon: mdi:water-boiler
  load2_icon: mdi:air-conditioner
grid:
  colour: '#00bfff'
  show_daily_buy: true
  show_daily_sell: true
  no_grid_colour: '#a40013'
  show_nonessential: true
  invert_grid: true
  nonessential_name: Non Essential
  nonessential_icon: oven
  additional_loads: 2
  load1_name: Load 1
  load2_name: Load 2
  load1_icon: boiler
  load2_icon: mdi:dishwasher
  animation_speed: 8
  max_power: 8000
entities:
  use_timer_248: none
  priority_load_243: input_boolean.nabit_baterii_ze_site
  day_battery_charge_70: sensor.today_battery_charge
  day_battery_discharge_71: sensor.today_battery_discharge
  day_load_energy_84: sensor.today_load
  day_grid_import_76: sensor.fve_nakup_daily
  day_grid_export_77: sensor.fve_prodej_daily
  day_pv_energy_108: sensor.today_s_pv_generation
  day_aux_energy: sensor.sunsynk_day_aux_energy
  inverter_voltage_154: sensor.napeti_stridac
  load_frequency_192: sensor.meter_frequency
  inverter_current_164: sensor.ampery_stridac
  inverter_power_175: sensor.sunsynk_inverter_power
  grid_power_169: sensor.house_consumption
  pv1_power_186: sensor.pv1_power
  pv2_power_187: sensor.pv2_power
  pv3_power_188: none
  pv4_power_189: none
  pv_total: sensor.pv_power
  pv1_voltage_109: sensor.pv1_voltage
  pv1_current_110: sensor.pv1_current
  pv2_voltage_111: sensor.pv2_voltage
  pv2_current_112: sensor.pv2_current
  pv3_voltage_113: none
  pv3_current_114: none
  pv4_voltage_115: none
  pv4_current_116: none
  battery_voltage_183: sensor.battery_voltage
  battery_soc_184: sensor.battery_state_of_charge
  battery_power_190: sensor.battery_power
  battery_current_191: sensor.battery_current
  essential_power: none
  essential_load1: sensor.load_l3
  essential_load2: sensor.back_up_l2_power
  nonessential_power: none
  non_essential_load1: sensor.nonessential1_power
  non_essential_load2: sensor.nonessential2_power
  grid_ct_power_172: sensor.active_power
  grid_connected_status_194: sensor.grid_mode_code
  inverter_status_59: sensor.on_grid_mode_code
  aux_power_166: sensor.sunsynk_aux_power
  aux_connected_status: binary_sensor.sunsynk_aux_connected_status
  remaining_solar: sensor.pv_power
  battery_temp_182: sensor.battery_temperature
  radiator_temp_91: sensor.inverter_temperature_radiator
  dc_transformer_temp_90: sensor.inverter_temperature_air
  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.current_spot_electricity_price
  energy_cost_sell: sensor.current_spot_electricity_price
  solar_sell_247: sensor.on_grid_mode

4 Likes

Hi @legnava , how did you managed to rename values for solar and grid? Thanks

In the sunsync-power-flow-card.js file, rename the .js extension to .txt and rename it to the native language in the note block. When you’re done, rename the .txt extension back to .js and copy it back to home assistant.
Integration must be manual!!!
If you have integration from hacs, renaming will not work!! I don’t know why.

Hi. The card does support translation of those text items if you set your HA language. I’ve created a few translations but none of them have been tested properly.

v2.7.0

:rocket: Exciting New Features

  • feat: adds optional auto scaling of power values for each of the card sections i.e. battery, solar, grid , load and inverter. When auto_scale: true power values greater than 999W will be displayed as kW i.e. 4,32kW. The number of decimal places is set to 2 by default but can be adjusted globally using the card decimal_places: attribute

Full Changelog: Comparing v2.6.1...v2.7.0 · slipx06/sunsynk-power-flow-card · GitHub

2 Likes

Hi,

thanks for the great work.
One question, is it possible to visualize a second inverter?

BG
Basti

Hi. Not at this stage.

1 Like

Hello, could you please add a temperature function to aux load 1 and 2?
Marked on the photo
Thank you very much for your time and answer.

Can look at that. There is also a request for daily energy for the additional loads. Please add a feature request on GitHub, you can add to the existing one and I’ll see how best to implement

v2.8.0

:rocket:Exciting New Features

  • feat: you can now display extra sensor data for your additional essential loads e.g. daily energy or temperature etc. The following optional entities can be used: essential_load1_extra and essential_load2_extra. This data is not displayed on the full card if show_aux: true due to insufficient space.

Full Changelog: Comparing v2.7.2…v2.8.0

3 Likes

really useful thank you!

1 Like

v2.9.0

:rocket: Exciting New Features

  • doc: add support for CZ language. Thanks @Legnava89. Closes #84
  • feat: Battery shutdown (shutdown_soc:) accepts either a numeric value or sensor e.g. sensor.sunsynk_battery_capacity_shutdown Closes #85
2 Likes

I tried CZ language but still EN. If I change language to fr, de,… Translation is working. But Czech language still english. Restart and logout doesn’t work. Regards

Sorry about that. Fixed in 2.9.1

Please, how to set the Czech language to be displayed?
I have version 2.9.1 manual integration and the program is displayed in English language. I updated the source for the card to /local/sunsync-power-flow-card/sunsync-power-flow-card.js?ver=2.9.1 so that the old card is not loaded from the cache and the English language is displayed.

My manual translation works flawlessly.

Have you tried installing using HACS. Is your HA dashboard language set correctly?

image

Yes, I tried the installation from HACS and the panel is set to the Czech language. Restart HA.
Unfortunately it doesn’t work. The advice is displayed in English language.

If I give my own translation, it works without a problem.