South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
For the battery make sure you have "invert_power" set to "yes".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?
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
I think there is an example here https://github.com/slipx06/sunsynk-power-flow-card/wiki/Example-Card-ConfigurationsJust 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?
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?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
Haven't updated mine yet.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.
I used this originally but its a bit outdated.I think there is an example here https://github.com/slipx06/sunsynk-power-flow-card/wiki/Example-Card-Configurations
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.Can you share an updated version?
I'd first have to update to the latest 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.
- 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 }}

Which inverter do you have? Mine definitely doesn't have that.
Which inverter do you have? Mine definitely doesn't have that.
Interesting. I see that there is no update available for my systemSunsynk 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 of different hardware at different times?
SolarAssistant
solar-assistant.io
That makes a lot more sense. Any weirdness in the beta?It’s possible… I AM also on the beta channel so got this update a while back
That makes a lot more sense. Any weirdness in the beta?