Sunsynk + Home Assistant

Just converted from Solarman to Solar Assistant with the card. Battery animation is working inverse to what it should and can't see any power coming from the grid.

Anybody willing to share their working card config so I can compare?
 
Again a suggestion which if not wanted then feel free to disregard.

It would be great to have somewhere on the card to input and show in real time my current Meter reading which sits outside in the corner of my property.

Yes I shamefully spin my Meter back and am always having to go out and take a reading once or twice a day to make sure I am still ahead in units of the previous months submitted reading.

I could also then setup a push notification if I am say 10units or less than the previous months reading on the day I submit making it a nice streamlined process.

Not sure if anyone else would find it helpful??
 
Just converted from Solarman to Solar Assistant with the card. Battery animation is working inverse to what it should and can't see any power coming from the grid.

Anybody willing to share their working card config so I can compare?
For the battery make sure you have "invert_power" set to "yes".

This is my yaml (some of these things are custom sensors, like the daily energy values):

YAML:
type: custom:sunsynk-power-flow-card
cardstyle: lite
show_solar: 'yes'
battery:
  energy: 15960
  shutdown_soc: 20
  show_daily: 'no'
  invert_power: 'yes'
  max_power: 7500
solar:
  show_daily: 'yes'
  mppts: two
  max_power: 6500
load:
  show_daily: 'yes'
grid:
  show_daily_buy: 'yes'
  show_daily_sell: 'no'
  show_nonessential: 'no'
entities:
  use_timer_248: switch.use_timer
  priority_load_243: none
  inverter_voltage_154: sensor.ac_output_voltage
  load_frequency_192: sensor.ac_output_frequency
  inverter_current_164: none
  inverter_power_175: sensor.load_power
  grid_connected_status_194: binary_sensor.inverter_grid_available
  inverter_status_59: none
  day_battery_charge_70: sensor.battery_energy_in
  day_battery_discharge_71: sensor.battery_energy_out
  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
  grid_power_169: sensor.grid_power
  day_grid_import_76: sensor.grid_consumption_total_kwh_daily
  day_grid_export_77: sensor.grid_energy_out
  grid_ct_power_172: sensor.grid_power_ct
  day_load_energy_84: sensor.inverter_load_total_kwh_daily
  essential_power: sensor.load_power_essential
  nonessential_power: sensor.load_power_non_essential
  aux_power_166: none
  day_pv_energy_108: sensor.pv_total_kwh_daily
  pv1_power_186: sensor.pv_power_1
  pv2_power_187: sensor.pv_power_2
  pv1_voltage_109: sensor.pv_voltage_1
  pv1_current_110: sensor.pv_current_1
  pv2_voltage_111: sensor.pv_voltage_2
  pv2_current_112: sensor.pv_current_2
  pv_total: sensor.pv_power
 
Just remember to update to the new config if running ver >=2.0.0. Yes/No has changed to true/false and no/one/two/three/four has changed to 0/1/2/3/4. The documentation and examples have been updated to reflect this.
 
For the battery make sure you have "invert_power" set to "yes".

This is my yaml (some of these things are custom sensors, like the daily energy values):

YAML:
type: custom:sunsynk-power-flow-card
cardstyle: lite
show_solar: 'yes'
battery:
  energy: 15960
  shutdown_soc: 20
  show_daily: 'no'
  invert_power: 'yes'
  max_power: 7500
solar:
  show_daily: 'yes'
  mppts: two
  max_power: 6500
load:
  show_daily: 'yes'
grid:
  show_daily_buy: 'yes'
  show_daily_sell: 'no'
  show_nonessential: 'no'
entities:
  use_timer_248: switch.use_timer
  priority_load_243: none
  inverter_voltage_154: sensor.ac_output_voltage
  load_frequency_192: sensor.ac_output_frequency
  inverter_current_164: none
  inverter_power_175: sensor.load_power
  grid_connected_status_194: binary_sensor.inverter_grid_available
  inverter_status_59: none
  day_battery_charge_70: sensor.battery_energy_in
  day_battery_discharge_71: sensor.battery_energy_out
  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
  grid_power_169: sensor.grid_power
  day_grid_import_76: sensor.grid_consumption_total_kwh_daily
  day_grid_export_77: sensor.grid_energy_out
  grid_ct_power_172: sensor.grid_power_ct
  day_load_energy_84: sensor.inverter_load_total_kwh_daily
  essential_power: sensor.load_power_essential
  nonessential_power: sensor.load_power_non_essential
  aux_power_166: none
  day_pv_energy_108: sensor.pv_total_kwh_daily
  pv1_power_186: sensor.pv_power_1
  pv2_power_187: sensor.pv_power_2
  pv1_voltage_109: sensor.pv_voltage_1
  pv1_current_110: sensor.pv_current_1
  pv2_voltage_111: sensor.pv_voltage_2
  pv2_current_112: sensor.pv_current_2
  pv_total: sensor.pv_power
Thanks so much I see where I screwed up! I did notice the daily values coming from SA were taking ages to update and assume this is why you have custom?
 
Just remember to update to the new config if running ver >=2.0.0. Yes/No has changed to true/false and no/one/two/three/four has changed to 0/1/2/3/4. The documentation and examples have been updated to reflect this.
Haven't updated mine yet.
 
Can you share an updated version?
You could use @DrJohnZoidberg version above as it works well. Not sure what he did with grid_connected_status_194: binary_sensor.inverter_grid_available but perhaps he can comment. Would also be worth mentioning daily sensors would need to be configured using the Utility meter so they can reset daily.
 
You could use @DrJohnZoidberg version above as it works well. Not sure what he did with grid_connected_status_194: binary_sensor.inverter_grid_available but perhaps he can comment. Would also be worth mentioning daily sensors would need to be configured using the Utility meter so they can reset daily.
I'd first have to update to the latest version.

binary_sensor.inverter_grid_available is a custom template which just reports if the grid frequency is there (in my case I just check if it's > 40) to indicate a power outage as SolarAssistant doesn't have a sensor to indicate this.

YAML:
- binary_sensor:
    - name: "inverter_grid_available"
      state: >
        {{ states('sensor.grid_frequency') | float > 40 }}
 
I'd first have to update to the latest version.

binary_sensor.inverter_grid_available is a custom template which just reports if the grid frequency is there (in my case I just check if it's > 40) to indicate a power outage as SolarAssistant doesn't have a sensor to indicate this.

YAML:
- binary_sensor:
- name: "inverter_grid_available"
state: >
{{ states('sensor.grid_frequency') | float > 40 }}

On my version there is a sensor from SA that does this

IMG_2591.png
 
Which inverter do you have? Mine definitely doesn't have that.
I have a Deye 8kw and also don't have grid available as a sensor. MQTT shows 81 entities in HA

It does seem weird that it can't read from SA as it shows on the dash
1692784912424.png
 
Sunsynk 5kw

Solar Assistant version 2023-08-16
Interesting. I see that there is no update available for my system

Device board:
Raspberry Pi Zero 2 W Rev 1.0
Software version:
2023-02-28

Maybe rolling out for different hardware at different times?
 
Interesting. I see that there is no update available for my system

Device board:
Raspberry Pi Zero 2 W Rev 1.0
Software version:
2023-02-28

Maybe rolling out of different hardware at different times?

It’s possible… I AM also on the beta channel so got this update a while back
 
Top
Sign up to the MyBroadband newsletter
X