Sunsynk + Home Assistant

If you change the view to panel view it should work better in landscape.
I can probably clean up some of this with the new card, but no chance for a panel only (only 5 tabs up top & not interested in another click for a sub-card)

Here you can also see the relative font size between the Power FLow & Power Distribution cards.
1684416576615.png
 
I can probably clean up some of this with the new card, but no chance for a panel only (only 5 tabs up top & not interested in another click for a sub-card)

Here you can also see the relative font size between the Power FLow & Power Distribution cards.
View attachment 1526173
That is wayyyyy too much for me. I have my "home" tab, a tab for the alarm and then one for this slip's card.

Screenshot_20230518_153857_Home Assistant.jpg

Screenshot_20230518_153911_Home Assistant.jpg
 
That is wayyyyy too much for me. I have my "home" tab, a tab for the alarm and then one for this slip's card.
My main panels are
- Home (lights/geyser/cameras/weather + alarm panel)
- Power
- Media (Sonos/ATV/Google homes+broadlink remote)
- Status (general/prepaid/speedtest/sunsynk program)
- Irrigation (some zones)

I should probably consider moving the irrigation & status panels to sub-panels, then I can add slip's card in a panel with a vertical stack for some additional sensors

Since the alram is mostly automated these days, its already on a sub-panel
 
My main panels are
- Home (lights/geyser/cameras/weather + alarm panel)
- Power
- Media (Sonos/ATV/Google homes+broadlink remote)
- Status (general/prepaid/speedtest/sunsynk program)
- Irrigation (some zones)

I should probably consider moving the irrigation & status panels to sub-panels, then I can add slip's card in a panel with a vertical stack for some additional sensors

Since the alram is mostly automated these days, its already on a sub-panel
There is quite a bit of duplicate / triplicate on your power dashboard. Probably some room to clean it up a touch if you want.
 
V1.4.6
Updates

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

sunsynk-power-flow-font.gif

Now everyone can be happy
 
Now everyone can be happy
Certainly happy, thanks!!

He has all the show daily turned off
Indeed. I prefer to have the HA aggregated values, instead of the sensors from the inverter, as these are the ones that provides historical day/month/year stats

It also becomes very busy. Now its easy to explain. The one is happening now. The other one is a summary of the day. Passed the WAF test
 
Ok, so I am really dom.

1684437914534.png

Using Solar Assistant on the Sunsynk to configure this card but obviously can't get something's working

Here is my current setup FWIW

YAML:
type: custom:sunsynk-power-flow-card
cardstyle: full
panel_mode: 'no'
show_solar: 'yes'
inverter:
  modern: 'no'
  colour: '[#959595](https://github.com/slipx06/sunsynk-power-flow-card/issues/959595)'
battery:
  energy: 11000
  shutdown_soc: 20
  invert_power: 'yes'
  colour: pink
  show_daily: 'yes'
solar:
  colour: orange
  show_daily: 'yes'
  mppts: one
load:
  colour: '#5fb6ad'
  show_daily: 'yes'
  show_aux: 'no'
  invert_aux: 'no'
grid:
  colour: '#5490c2'
  show_daily_buy: 'yes'
  show_daily_sell: 'yes'
  no_grid_colour: '#a40013'
  show_nonessential: 'yes'
entities:
  use_timer_248: switch.toggle_system_timer
  priority_load_243: switch.toggle_priority_load
  batchargeday_70: sensor.battery_charge_day
  batdischargeday_71: sensor.battery_discharge_day
  loadday_84: sensor.daily_load_power_kwh
  grid_buy_day_76: sensor.grid_import_day_buy
  grid_sell_day_77: none
  solarday_108: sensor.daily_pv_power_kwh
  inverter_grid_voltage_154: sensor.grid_voltage
  inverter_load_freq_192: sensor.grid_frequency
  inverter_out_164: sensor.current
  inverter_out_175: sensor.load_power
  inverter_load_grid_169: sensor.grid_power
  pv1_power_186: sensor.pv_power_1
  pv2_power_187: sensor.pv_power_2
  pv3_power_188: sensor.pv_power_3
  pv4_power_189: sensor.pv_power_4
  battery_voltage_183: sensor.battery_voltage
  battery_soc_184: sensor.battery_state_of_charge
  battery_out_190: sensor.battery_power
  battery_current_191: sensor.battery_current
  essential_power: sensor.load_power_essential
  nonessential_power: sensor.load_power_non_essential
  grid_external_power_172: sensor.grid_power
  pv1_v_109: sensor.pv_voltage_1
  pv1_i_110: sensor.pv_current_1
  pv2_v_111: sensor.pv_voltage_2
  pv2_i_112: sensor.pv_current_2
  pv3_v_113: sensor.pv_voltage_3
  pv3_i_114: sensor.pv_current_3
  pv4_v_115: sensor.pv_voltage_4
  pv4_i_116: sensor.pv_current_4
  grid_status_194: binary_sensor.incoming_eskom_feed
  inverter_status_59: sensor.overall_state
  aux_power_166: sensor.aux_output_power

At time of screenshot, it is 21:23 and my battery is discharging while there is Grid

I can't seem to find these sensors:-
1. Daily Battery Charge/Discharge Stats - Solar Assistant seems to provide weekly values via MQTT
2. Daily PV Gen stats. Solar Assistant seems to provide weekly values via MQTT
3. Daily Grid Buy

Perhaps I can just use the values from the energy dashboard - but can't figure out what they are called
1684438189825.png
How does one re-use the sensor values from the energy meter to populate the Sunsynk card - I would be happy with those even if they only update every hour? If it is better to create a utility meter or something, an example would really help . Thx in advance
 
As far as I know, @TedLasso the energy dashboard doesn't create the sensors, only displays them or they might be hidden. You need to create the sensors using, https://www.home-assistant.io/integrations/utility_meter/. Here is a few examples of mine with the sunsynk addon.

YAML:
utility_meter:
  daily_energy:
    source: sensor.ss_total_load_energy
    name: Daily Energy
    cycle: daily
  monthly_energy:
    source: sensor.ss_total_load_energy
    name: Monthly Energy
    cycle: monthly
  daily_solar_energy:
    source: sensor.ss_total_pv_energy
    name: Daily Solar Energy
    cycle: daily
  monthly_solar_energy:
    source: sensor.ss_total_pv_energy
    name: Monthly Solar Energy
    cycle: monthly
  daily_grid_energy:
    source: sensor.ss_total_grid_import
    name: Daily Grid Energy
    cycle: daily
  monthly_grid_energy:
    source: sensor.ss_total_grid_import
    name: Monthly Grid Energy
    cycle: monthly
  daily_battery_charge_energy:
    source: sensor.ss_total_battery_charge
    name: Daily Battery charge Energy
    cycle: daily
  monthly_battery_charge_energy:
    source: sensor.ss_total_battery_charge
    name: Monthly Battery charge Energy
    cycle: monthly  
  daily_battery_discharge_energy:
    source: sensor.ss_total_battery_discharge
    name: Daily Battery discharge Energy
    cycle: daily
  monthly_battery_discharge_energy:
    source: sensor.ss_total_battery_discharge
    name: Monthly Battery discharge Energy
    cycle: monthly

You would just need to replace the sensor.ss_xxxxxxxxx with your sensors
 
As far as I know, @TedLasso the energy dashboard doesn't create the sensors, only displays them or they might be hidden. You need to create the sensors using, https://www.home-assistant.io/integrations/utility_meter/. Here is a few examples of mine with the sunsynk addon.

YAML:
utility_meter:
daily_energy:
source: sensor.ss_total_load_energy
name: Daily Energy
cycle: daily
monthly_energy:
source: sensor.ss_total_load_energy
name: Monthly Energy
cycle: monthly
daily_solar_energy:
source: sensor.ss_total_pv_energy
name: Daily Solar Energy
cycle: daily
monthly_solar_energy:
source: sensor.ss_total_pv_energy
name: Monthly Solar Energy
cycle: monthly
daily_grid_energy:
source: sensor.ss_total_grid_import
name: Daily Grid Energy
cycle: daily
monthly_grid_energy:
source: sensor.ss_total_grid_import
name: Monthly Grid Energy
cycle: monthly
daily_battery_charge_energy:
source: sensor.ss_total_battery_charge
name: Daily Battery charge Energy
cycle: daily
monthly_battery_charge_energy:
source: sensor.ss_total_battery_charge
name: Monthly Battery charge Energy
cycle: monthly 
daily_battery_discharge_energy:
source: sensor.ss_total_battery_discharge
name: Daily Battery discharge Energy
cycle: daily
monthly_battery_discharge_energy:
source: sensor.ss_total_battery_discharge
name: Monthly Battery discharge Energy
cycle: monthly

You would just need to replace the sensor.ss_xxxxxxxxx with your sensors

Heh?

Should be no need for utility meter at all, these all come straight from the inverter.
 
It depends on the integration used. Not of them provide the info or not even accurate.

Well if it’s not accurate utility meter isn’t going to change it.

Energy Dashboard works best with a total usage figure and works out the difference.
 
Well if it’s not accurate utility meter isn’t going to change it.

Energy Dashboard works best with a total usage figure and works out the difference.
Have a look here: https://github.com/kellerza/sunsynk/issues/122

Energy dashboard is best way, but it doesn't create the daily sensors to use with the sunsynk card. That is why creating the sensors with utility meter to display in the card, is needed. If you want it there
 
Top
Sign up to the MyBroadband newsletter
X