Configuration
+The card can be configured through the following attributes:
+Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
type: |
+Required |
+
|
+The custom card |
+
cardstyle: |
+Required |
+
|
+Selects the card layout that is used |
+
panel_mode: |
+Optional |
+
|
+Toggles panel mode setting card height to |
+
large_font: |
+Optional |
+
|
+Increases font size of sensor data |
+
title: |
+Optional |
+`` |
+Set the card title i.e. Inverter One |
+
title_colour: |
+Optional |
+`` |
+Changes the colour of the card title. ( |
+
title_size: |
+Optional |
+
|
+Set the font size for the card title i.e. |
+
show_solar: |
+Optional |
+
|
+Toggle display of solar information |
+
show_battery: |
+Optional |
+
|
+Toggle display of battery information |
+
card_height: |
+Optional |
+
|
+Only used when |
+
card_width: |
+Optional |
+
|
+Only used when |
+
decimal_places: |
+Optional |
+
|
+Sets the number of decimal places to display when using the |
+
inverter: |
+Optional |
+See optional Inverter attributes below |
+List of inverter attributes. |
+
battery: |
+Optional |
+See required Battery attributes below |
+List of battery attributes. Required if |
+
solar: |
+Optional |
+See optional Solar attributes below |
+List of solar attributes. |
+
load: |
+Optional |
+See optional Load attributes below |
+List of load attributes. |
+
grid: |
+Optional |
+See optional Grid attributes below |
+List of grid attributes. |
+
entities: |
+Required |
+See required Entities attributes below |
+List of sensor entities. |
+
Inverter
+Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
modern: |
+Optional |
+
|
+Changes the inverter image. |
+
colour: |
+Optional |
+
|
+Changes the colour of the inverter. Hex codes ( |
+
autarky: |
+Optional |
+
|
+Display autarky and ratio as a percentage using either realtime power or daily energy values. Set to
|
+
model: |
+Optional |
+
|
+Selects which status codes to use. Set to |
+
auto_scale: |
+Optional |
+
|
+If set to |
+
three_phase: |
+Optional |
+
|
+If set to |
+
Battery
+To display battery power and current as absolute values set show_absolute: true
. This is set to false by default and will return your sensor value. The animated dot will change direction depending on the charging or discharging state. The invert_power
attribute can be used to reverse direction if needed by your sensor.
Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
energy: |
+Required |
+
|
+Total battery energy in Wh (e.g. 3 x 5.32kWh = 15960). If set to |
+
shutdown_soc: |
+Required |
+
|
+The battery shutdown percentage used to calculate remaining runtime. Numeric value or sensor i.e. |
+
invert_power: |
+Optional |
+
|
+Set to |
+
colour: |
+Optional |
+
|
+Changes the colour of all the battery card objects. Hex codes ( |
+
show_daily: |
+Optional |
+
|
+Toggles the daily total |
+
animation_speed: |
+Optional |
+
|
+Set slowest animation speed in seconds, depending on power draw |
+
max_power: |
+Optional |
+
|
+Maximum power draw to calculate animation speed |
+
full_capacity: |
+Optional |
+
|
+If SOC >= to this value the fully charged battery image will be shown. Accepts any value between 80-100 |
+
empty_capacity: |
+Optional |
+
|
+If SOC <= to this value the empty battery image will be shown. Accepts any value between 1-30 |
+
show_absolute: |
+Optional |
+
|
+set to |
+
auto_scale: |
+Optional |
+
|
+If set to |
+
Solar
+These attributes are only needed if show_solar
is set to true
Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
colour: |
+Optional |
+
|
+Changes the colour of all the solar card objects. Hex codes ( |
+
show_daily: |
+Optional |
+
|
+Toggles the daily total |
+
display_mode: |
+Optional |
+
|
+
|
+
mppts: |
+Required |
+
|
+Specify the number of MPPT’s in use |
+
animation_speed: |
+Optional |
+
|
+Set slowest animation speed in seconds, depending on Power produced |
+
max_power: |
+Optional |
+
|
+Maximum power draw to calculate animation speed |
+
pv1_name: |
+Optional |
+
|
+Set the disaply name for MPPT1 |
+
pv2_name: |
+Optional |
+
|
+Set the disaply name for MPPT2 |
+
pv3_name: |
+Optional |
+
|
+Set the disaply name for MPPT3 |
+
pv4_name: |
+Optional |
+
|
+Set the disaply name for MPPT4 |
+
auto_scale: |
+Optional |
+
|
+If set to |
+
Load
+Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
colour: |
+Optional |
+
|
+Changes the colour of all the load card objects. Hex codes ( |
+
show_daily: |
+Optional |
+
|
+Toggles the daily total. |
+
show_daily_aux” |
+Optional |
+
|
+Toggles the daily AUX total. Only displayed if |
+
show_aux: |
+Optional |
+
|
+Toggles the display of AUX |
+
invert_aux: |
+Optional |
+
|
+Set to |
+
show_absolute_aux: |
+Optional |
+
|
+set to |
+
animation_speed: |
+Optional |
+
|
+Set slowest animation speed in seconds, depending on Power draw |
+
max_power: |
+Optional |
+
|
+Maximum power draw to calculate animation speed |
+
aux_name: |
+Optional |
+
|
+Set the display name for the AUX Load |
+
aux_type: |
+Optional |
+
|
+Changes the AUX image using preset or any mdi icon e.g. |
+
aux_colour: |
+Optional |
+
|
+Changes the colour of all the AUX card objects. Hex codes ( |
+
aux_off_colour: |
+Optional |
+
|
+Changes the colour of the AUX icon and label when disconnected. Hex codes ( |
+
aux_loads: |
+Optional |
+
|
+Display additional loads on the AUX side ( |
+
aux_load1_name: |
+Optional |
++ | Set the display name for the AUX load 1 |
+
aux_load2_name: |
+Optional |
++ | Set the display name for the AUX load 2 |
+
aux_load1_icon: |
+Optional |
++ | Change the AUX load 1 image using any mdi icon e.g. |
+
aux_load2_icon: |
+Optional |
++ | Change the AUX load 2 image using any mdi icon e.g. |
+
additional_loads: |
+Optional |
+
|
+Display additional loads on the essential side ( |
+
load1_name: |
+Optional |
++ | Set the display name for the essential load 1 |
+
load2_name: |
+Optional |
++ | Set the display name for the essential load 2 |
+
load3_name: |
+Optional |
++ | Set the display name for the essential load 3 (Lite card only) |
+
load4_name: |
+Optional |
++ | Set the display name for the essential load 4 (Lite card only) |
+
load1_icon: |
+Optional |
+none |
+Change the essential load 1 image using preset or any mdi icon e.g. |
+
load2_icon: |
+Optional |
+none |
+Change the essential load 2 image using preset or any mdi icon e.g. |
+
load3_icon: |
+Optional |
+none |
+Change the essential load 3 image using any mdi icon e.g. |
+
load4_icon: |
+Optional |
+none |
+Change the essential load 4 image using any mdi icon e.g. |
+
auto_scale: |
+Optional |
+
|
+If set to |
+
Grid
+Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
colour: |
+Optional |
+
|
+Changes the colour of all the grid card objects. Hex codes ( |
+
export_colour: |
+Optional |
++ | Changes the colour of all the grid card objects when exporting (selling) energy. Hex codes ( |
+
no_grid_colour: |
+Optional |
+
|
+Changes the colour of the grid disconnected icon. Hex codes ( |
+
show_daily_buy: |
+Optional |
+
|
+Toggles the daily buy total |
+
show_daily_sell: |
+Optional |
+
|
+Toggles the daily sell total |
+
show_nonessential: |
+Optional |
+
|
+Toggles the display of non-essential |
+
nonessential_icon: |
+Optional |
+
|
+Change the non-essential image using presets or any mdi icon e.g. |
+
nonessential_name: |
+Optional |
+
|
+Set the display name for the non-essential load |
+
essential_name: |
+Optional |
+
|
+Set the display name for the essential load |
+
additional_loads: |
+Optional |
+
|
+Toggle the display of additional loads on the non-essential side ( |
+
load1_name: |
+Optional |
++ | Set the display name for the non-essential load 1 |
+
load2_name: |
+Optional |
++ | Set the display name for the non-essential load 2 |
+
load1_icon: |
+Optional |
+
|
+Change the non-essential load 1 image using presets or any mdi icon e.g. |
+
load2_icon: |
+Optional |
+
|
+Change the non-essential load 2 image using presets or any mdi icon e.g. |
+
invert_grid: |
+Optional |
+
|
+Set to |
+
animation_speed: |
+Optional |
+
|
+Set slowest animation speed in seconds, depending on power draw |
+
max_power: |
+Optional |
+
|
+Maximum power draw to calculate animation speed |
+
auto_scale: |
+Optional |
+
|
+If set to |
+
energy_cost_decimals: |
+Optional |
+
|
+Sets the number of decimal places to display the buy and sell energy costs |
+
Entities
+Entity attributes below have been appended with the modbus register # e.g. pv2_power_187
to indicate which Sunsynk register should be read when configuring your sensors. Replace the default sensors with your own specific sensor names. It is important that your sensors read the expected modbus register value. If you have missing sensors for any attribute set it to none i.e. day_pv_energy_108: none
. This will hide the sensor data from the card. To display a placeholder with a default value of 0 set it to zero
or any other value i.e. solarday_108: zero
.
See the WIKI for more information on sensor mappings if using other integration methods.
+Attribute |
+Requirement |
+Default |
+Description |
+
---|---|---|---|
use_timer_248: |
+Optional |
+
|
+Displays “Use timer” status as an icon next to the inverter. Set to |
+
priority_load_243: |
+Optional |
+
|
+Shows if energy pattern is set to priority load or priority battery as an icon next to the inverter. Set to |
+
day_battery_discharge_71: |
+Optional |
+
|
+Daily battery usage (kWh) |
+
day_battery_charge_70: |
+Optional |
+
|
+Daily battery charge (kWh) |
+
day_load_energy_84: |
+Optional |
+
|
+Daily load (kWh) |
+
day_grid_import_76: |
+Optional |
+
|
+Daily grid import (kWh) |
+
day_grid_export_77: |
+Optional |
+
|
+Daily grid export (kWh) |
+
day_pv_energy_108: |
+Optional |
+
|
+Daily solar usage (kWh) |
+
day_aux_energy: |
+Optional |
++ | Sensor that provides the daily AUX energy (kWh) |
+
inverter_voltage_154: |
+Optional |
+
|
+Inverter L1 voltage (V) |
+
inverter_voltage_L2: |
+Optional |
++ | Inverter L2 voltage (V) |
+
inverter_voltage_L3: |
+Optional |
++ | Inverter L3 voltage (V) |
+
load_frequency_192: |
+Optional |
+
|
+Load frequency (Hz) |
+
inverter_current_164: |
+Optional |
+
|
+Inverter L1 current (A) |
+
inverter_current_L2: |
+Optional |
++ | Inverter L2 current (A) |
+
inverter_current_L3: |
+Optional |
++ | Inverter L3 current (A) |
+
inverter_power_175: |
+Optional |
+
|
+Inverter power (W). Required if the essential_power attribute is set to |
+
grid_power_169: |
+Optional |
+
|
+Grid power (W) See NOTE below. Use 167 (Grid LD Power) if non-essential and essential readings are wrong. Required if the nonessential_power attribute is set to |
+
pv1_power_186: |
+Optional |
+
|
+PV string 1 power (W) |
+
pv2_power_187: |
+Optional |
+
|
+PV string 2 power (W) |
+
pv3_power_188: |
+Optional |
+
|
+PV string 3 power (W) |
+
pv4_power_189: |
+Optional |
+
|
+PV string 4 power (W) |
+
pv_total: |
+Optional |
+
|
+Provide a sensor for total pv power. If omitted the card uses internal logic to calculate this based on the pv1-4 power (W) |
+
battery_voltage_183: |
+Optional |
+
|
+Battery voltage (V) |
+
battery_soc_184: |
+Required |
+
|
+Battery state of charge (%) |
+
battery_power_190: |
+Required |
+
|
+Battery power (W). Requires a negative number for battery charging and a positive number for battery discharging. Set the |
+
battery_current_191: |
+Required |
+
|
+Battery current (A) |
+
essential_power: |
+Optional |
+
|
+The card will automatically calculate this sensor based on the formula below if the attribute is set to |
+
essential_load1: |
+Optional |
++ | Sensor that contains the power of your essential load 1 (W) |
+
essential_load2: |
+Optional |
++ | Sensor that contains the power of your essential load 2 (W) |
+
essential_load3: |
+Optional |
++ | Sensor that contains the power of your essential load 3 (W) |
+
essential_load4: |
+Optional |
++ | Sensor that contains the power of your essential load 4 (W) |
+
essential_load1_extra: |
+Optional |
++ | Sensor that contains additional information you want displayed for your essential load 1 e.g. Daily kWh, Temperature etc |
+
essential_load2_extra: |
+Optional |
++ | Sensor that contains additional information you want displayed for your essential load 2 e.g. Daily kWh, Temperature etc |
+
load_power_L1: |
+Optional |
++ | Load L1 Power (W) |
+
load_power_L2: |
+Optional |
++ | Load L2 Power (W) |
+
load_power_L3: |
+Optional |
++ | Load L3 Power (W) |
+
nonessential_power |
+Optional |
+
|
+The card will automatically calculate this sensor based on the formula below if the attribute is set to |
+
non_essential_load1: |
+Optional |
++ | Sensor that contains the power of your non-essential load 1 (W) |
+
non_essential_load2: |
+Optional |
++ | Sensor that contains the power of your non-essential load 2 (W) |
+
grid_ct_power_172: |
+Required |
+
|
+Grid CT L1 power (W) |
+
grid_ct_power_L2: |
+Optional |
+
|
+Grid CT L2 power (W) |
+
grid_ct_power_L3: |
+Optional |
+
|
+Grid CT L3 power (W) |
+
pv1_voltage_109: |
+Optional |
+
|
+PV string 1 voltage (V) |
+
pv1_current_110: |
+Optional |
+
|
+PV string 1 current (A) |
+
pv2_voltage_111: |
+Optional |
+
|
+PV string 2 voltage (V) |
+
pv2_current_112: |
+Optional |
+
|
+PV string 2 current (A) |
+
pv3_voltage_113: |
+Optional |
+
|
+PV string 3 voltage (V) |
+
pv3_current_114: |
+Optional |
+
|
+PV string 3 current (A) |
+
pv4_voltage_115: |
+Optional |
+
|
+PV string 4 voltage (V) |
+
pv4_current_116: |
+Optional |
+
|
+PV string 4 current (A) |
+
grid_connected_status_194: |
+Optional |
+
|
+Grid connected status |
+
inverter_status_59: |
+Optional |
+
|
+Inverter status |
+
battery_status: |
+Optional |
+
|
+Used only when inverter model is set to |
+
aux_power_166: |
+Optional |
+
|
+Auxilary power (W) |
+
aux_load1: |
+Optional |
++ | Sensor that contains the power of your AUX load 1 (W) |
+
aux_load2: |
+Optional |
++ | Sensor that contains the power of your AUX load 2 (W) |
+
aux_load1_extra: |
+Optional |
++ | Sensor that contains additional information you want displayed for your aux load 1 e.g. Daily kWh, Temperature etc |
+
aux_load2_extra: |
+Optional |
++ | SSensor that contains additional information you want displayed for your aux load 2 e.g. Daily kWh, Temperature etc |
+
aux_connected_status: |
+Optional |
++ | AUX Connected Status |
+
remaining_solar: |
+Optional |
+
|
+The remaining solar forecast for the day (kWh). Use with solar |
+
total_pv_generation: |
+Optional |
++ | Total Solar generation (Lifetime or forecast for the day) (kWh). Use with solar |
+
battery_temp_182: |
+Optional |
+
|
+Battery temperature (℃) |
+
radiator_temp_91: |
+Optional |
+
|
+Inverter AC temperature (℃) |
+
dc_transformer_temp_90: |
+Optional |
+
|
+Inverter DC temperature (℃) |
+
prog1_time: |
+Optional |
+
|
+Program 1 start time ( |
+
prog1_capacity: |
+Optional |
+
|
+Program 1 capacity (SOC) setting |
+
prog1_charge: |
+Optional |
+
|
+Program 1 charge options ( |
+
prog2_time: |
+Optional |
+
|
+Program 2 start time ( |
+
prog2_capacity: |
+Optional |
+
|
+Program 2 capacity (SOC) setting |
+
prog2_charge: |
+Optional |
+
|
+Program 2 charge options ( |
+
prog3_time: |
+Optional |
+
|
+Program 3 start time ( |
+
prog3_capacity: |
+Optional |
+
|
+Program 3 capacity (SOC) setting |
+
prog3_charge: |
+Optional |
+
|
+Program 3 charge options ( |
+
prog4_time: |
+Optional |
+
|
+Program 4 start time ( |
+
prog4_capacity: |
+Optional |
+
|
+Program 4 capacity (SOC) setting |
+
prog4_charge: |
+Optional |
+
|
+Program 4 charge options ( |
+
prog5_time: |
+Optional |
+
|
+Program 5 start time ( |
+
prog5_capacity: |
+Optional |
+
|
+Program 5 capacity (SOC) setting |
+
prog5_charge: |
+Optional |
+
|
+Program 5 charge options ( |
+
prog6_time: |
+Optional |
+
|
+Program 6 start time ( |
+
prog6_capacity: |
+Optional |
+
|
+Program 6 capacity (SOC) setting |
+
prog6_charge: |
+Optional |
+
|
+Program 6 charge options ( |
+
energy_cost_buy: |
+Optional |
++ | Sensor that provides current buy energy cost per kWh |
+
energy_cost_sell: |
+Optional |
++ | Sensor that provides current sell energy cost per kWh |
+
solar_sell_247: |
+Optional |
+
|
+Displays icons to indicate if sell solar is active or not. The switch can be toggled by clicking on the icon ( |
+
The card calculates the sensors below based on supplied attributes in the config so you dont need to define them in Home Assistant. NOTE if your essential and non-essential readings are innacurate replace sensor 169 with 167. Alternatively provide the card with sensors that calculate this data i.e essential_power: and nonessential_power:
+totalsolar = pv1_power_186 + pv2_power_187 + pv3_power_188 + pv4_power_189
+nonessential = grid_ct_power_172 - grid_power_169 (Single Phase)
+nonessential = grid_ct_power_172 + grid_ct_power_L2 + grid_ct_power_L3 - grid_power_169 (Three Phase)
+essential = inverter_power_175 + grid_power_169 - aux_power_166
+
The modbus registers can be visualised on the full
card below: