Huawei Inverter
Note
There will be a major update of the ‘derived’ sensors available with the release of the WLCRS Huawei Integration v1.4.0 that is currently in Alpha testing. A number of derived sensors will be released by factory/Huawei sensors instead.
Please report all feedback or Issues to the Discussion (Support Sections) of: https://github.com/Roving-Ronin/sunsynk-power-flow-card.
To use the Sunsynk card with Huawei Solar (or iStore in Australia) you need to copy the huawei_derived_sensors.yaml and sunsynk_card_derived_sensors.yaml files to your /homeassistant/packages directory. Upon restarting Home Assistant this will create all the required derived sensors, based upon the baseline sensors from the WLCRS integration, needed to populate the Sunsynk card. In addition to this, you will need to find an electricity_costs_xxx.yaml file that matches your electricity providers tariff plan, or is similiar and you can customise the ‘Electrity - Price’, ‘Electricity - FIT’ and ‘Energy Meter’ sections to reflect your rate plan costs and usage period(s), all these files are available from: https://github.com/slipx06/sunsynk-power-flow-card/tree/master/docs/examples/huawei_packages.
Whilst it would be simplest to create the additional ‘sensor groups’ using yaml files, this has the disadvantage that if later on you want to add or remove devices individual sensors to/from these groups, you are unable to do so by editing them within Home Assistant GUI. Given the flexibility manually creating these sensors groups via the GUI provides, you will need to create the following groups (below) manually. This is done by going to Settings –> Devices & Services –> Helpers, clicking the ‘Create Helper’ button. From the choice of group types then select ‘Sensor Group’ and set the ‘Type’ to SUM. Follow the instructions below for the names to enter for the groups and the member/entities to add into each group.
To work with the Sunsynk card and the additional derived sensors, some sensors that are disabled by default by the WLCRS integration, must be manually enabled. Listed below the the various devices and the list of sensors for each, that are required to be enabled (at a minimum).
Single Phase Installation |
Three phase Installation |
---|---|
Active Power |
Active Power |
Consumption |
Consumption |
Current |
Current |
Exported |
Exported |
Frequency |
Frequency |
Phase A - Active Power |
|
Phase A - Current |
|
Voltage |
Phase A - Voltage |
Phase B - Active Power |
|
Phase B - Current |
|
Phase B - Voltage |
|
Phase C - Active Power |
|
Phase C - Current |
|
Phase C - Voltage |
|
Power Factor |
Power Factor |
Single Phase Installation |
Three Phase Installation |
---|---|
Active Power |
Active Power |
Daily Yield |
Daily Yield |
Day Active Peak Power |
Day Active Peak Power |
Efficiency |
Efficiency |
Input Power |
Input Power |
Internal Temperature |
Internal Temperature |
Phase A Current |
Phase A Current |
Phase B Current |
|
Phase C Current |
|
PV 1 Current |
PV 1 Current |
PV 1 Voltage |
PV 1 Voltage |
PV 2 Current |
PV 2 Current |
PV 2 Voltage |
PV 2 Voltage |
Total Yield |
Total Yield |
Sensor |
Comment |
---|---|
Bus Current |
|
Bus Voltage |
|
Capacity Control Periods |
Not used currently, future function envisioned |
Charge/Discharge Power |
|
Day Charge |
|
Day Discharge |
|
Fixed Charging Periods |
|
State of Capacity |
|
Battery 1 Temperature |
|
Battery 2 Temperature |
Optional |
Time of Use Periods |
Not used currently, future function envisioned |
Total Charge |
|
Total Discharge |
With these sensors active, you can then following the installation instructions for the Sunsynk card, however when you add the card to Home Assistant, change to the ‘Show Code Editor’ view and paste the example code below (that most closely matches your Huawei/iStore setup) into the editor, replacing all the default code shown. Finally, validate the example code copied from below, updating to suite your setup.
Note
Data sources for the Sunsynk card is provided by the use of the WLCRS “Huawei Solar” integration - https://github.com/wlcrs/huawei_solar/wiki, as well as the Energy Meter integration https://github.com/zeronounours/HA-custom-component-energy-meter, must be installed prior to installing the Sunsynk card.
Example 1 - 1 x L1 1phase inverter with a 15kWh LUNA ESS battery - 2 PV strings (6.6kW)
1type: custom:sunsynk-power-flow-card
2cardstyle: full
3large_font: false
4title: Huawei - Power Monitor
5title_size: 18px
6show_solar: true
7show_grid: true
8show_battery: true
9decimal_places: 2
10decimal_places_energy: 2
11dynamic_line_width: true
12inverter:
13 modern: false
14 colour: grey
15 autarky: power
16 auto_scale: true
17 model: huawei
18 three_phase: false
19battery:
20 energy: 14850
21 shutdown_soc: sensor.battery_end_of_discharge_soc
22 invert_power: true
23 colour: '#fc8d83'
24 show_daily: true
25 animation_speed: 5
26 max_power: 5000
27 show_absolute: true
28 auto_scale: true
29 hide_soc: false
30 show_remaining_energy: true
31 dynamic_colour: true
32 linear_gradient: true
33solar:
34 colour: '#F7BC00'
35 show_daily: true
36 mppts: 2
37 animation_speed: 8
38 max_power: 6600
39 pv1_name: Inv1.S1
40 pv2_name: Inv2.S1
41 display_mode: 2
42 auto_scale: true
43 dynamic_colour: true
44 pv1_max_power: 3300
45 pv2_max_power: 3300
46 efficiency: 3
47load:
48 colour: magenta
49 show_daily: true
50 show_daily_aux: true
51 show_aux: true
52 invert_aux: false
53 show_absolute_aux: false
54 aux_name: Generator
55 aux_type: gen
56 aux_colour: '#5490c2'
57 aux_off_colour: brown
58 aux_loads: 2
59 aux_load1_name: IT - Servers
60 aux_load2_name: IT - Network
61 aux_load1_icon: mdi:server-network
62 aux_load2_icon: mdi:network
63 animation_speed: 4
64 essential_name: Essential
65 max_power: 4000
66 additional_loads: 2
67 load1_name: Lights
68 load2_name: All GPO
69 load3_name: Spare
70 load4_name: Spare
71 load1_icon: mdi:lightbulb
72 load2_icon: mdi:power-plug
73 load3_icon: mdi:water-boiler
74 load4_icon: mdi:kettle
75 auto_scale: true
76 dynamic_icon: true
77 dynamic_colour: true
78grid:
79 grid_name: Your-Grid-Name
80 colour: '#FF2400'
81 export_colour: green
82 no_grid_colour: '#a40013'
83 grid_off_colour: '#e7d59f'
84 show_daily_buy: true
85 show_daily_sell: true
86 show_nonessential: true
87 invert_grid: true
88 nonessential_name: Non Essential
89 nonessential_icon: none
90 additional_loads: 2
91 load1_name: HVAC
92 load2_name: EV
93 load1_icon: mdi:fan
94 load2_icon: mdi:car
95 animation_speed: 7
96 max_power: 15000
97 auto_scale: true
98 dynamic_icon: true
99 dynamic_colour: true
100 energy_cost_decimals: 3
101entities:
102 use_timer_248: null
103 priority_load_243: null
104 day_battery_charge_70: sensor.batteries_day_charge
105 day_battery_discharge_71: sensor.batteries_day_discharge
106 day_load_energy_84: sensor.house_consumption_energy_daily
107 day_grid_import_76: sensor.hs_grid_imported_daily
108 day_grid_export_77: sensor.hs_grid_exported_daily
109 day_pv_energy_108: sensor.inverters_daily_yield
110 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
111 inverter_voltage_154: sensor.power_meter_voltage
112 load_frequency_192: sensor.power_meter_frequency
113 grid_power_169: sensor.house_consumption_power
114 inverter_current_164: sensor.inverter_phase_a_current
115 inverter_power_175: sensor.inverters_active_power
116 inverter_status_59: sensor.inverters_state
117 radiator_temp_91: null
118 dc_transformer_temp_90: sensor.inverters_internal_temperature
119 pv1_power_186: sensor.inverter_1_pv_1_power
120 pv2_power_187: sensor.inverter_1_pv_2_power
121 pv_total: sensor.inverters_input_power
122 environment_temp: sensor.<your_location>_temp
123 remaining_solar: sensor.energy_production_today_remaining
124 pv1_voltage_109: sensor.inverter_pv_1_voltage
125 pv1_current_110: sensor.inverter_pv_1_current
126 pv2_voltage_111: sensor.inverter_pv_2_voltage
127 pv2_current_112: sensor.inverter_pv_2_current
128 battery_voltage_183: sensor.batteries_bus_voltage
129 battery_soc_184: sensor.batteries_state_of_capacity
130 battery_power_190: sensor.batteries_charge_discharge_power
131 battery_current_191: sensor.batteries_bus_current
132 battery_temp_182: sensor.batteries_temperature
133 battery_status: sensor.batteries_status
134 essential_power: sensor.house_consumption_power_less_aux_non_essential
135 essential_load1: sensor.lights_all_active_power
136 essential_load2: sensor.gpo_all_active_power_less_known
137 essential_load1_extra: null
138 essential_load2_extra: null
139 nonessential_power: sensor.sunsynk_card_non_essential_active_power
140 non_essential_load1: sensor.hvac_active_power
141 non_essential_load2: sensor.ev_charger_active_power
142 grid_ct_power_172: sensor.power_meter_active_power
143 grid_ct_power_total: sensor.power_meter_active_power
144 grid_connected_status_194: sensor.inverters_off_grid_status
145 aux_power_166: sensor.sunsynk_card_aux_active_power
146 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
147 energy_cost_buy: sensor.electricity_price
148 energy_cost_sell: sensor.electricity_fit
149 solar_sell_247: switch.null
150 aux_load1: sensor.it_hardware_network_active_power
151 aux_load2: sensor.it_hardware_servers_active_power
152 aux_load1_extra: sensor.env_network_rack_bme280_temperature
153 aux_load2_extra: sensor.garage_controller_bme280_temperature
154 grid_voltage: sensor.power_meter_voltage
Example 2 - 2 x L1 1phase inverter with a 15kWh LUNA ESS battery - 4 PV strings (13.2kW)
1type: custom:sunsynk-power-flow-card
2cardstyle: full
3large_font: false
4title: Huawei - Power Monitor
5title_size: 18px
6show_solar: true
7show_grid: true
8show_battery: true
9decimal_places: 2
10decimal_places_energy: 2
11inverter:
12 modern: false
13 colour: grey
14 autarky: power
15 auto_scale: true
16 model: huawei
17 three_phase: false
18battery:
19 energy: 14850
20 shutdown_soc: sensor.battery_end_of_discharge_soc
21 invert_power: true
22 colour: '#fc8d83'
23 show_daily: true
24 animation_speed: 5
25 max_power: 5000
26 show_absolute: true
27 auto_scale: true
28 hide_soc: false
29 show_remaining_energy: true
30 dynamic_colour: true
31 linear_gradient: true
32solar:
33 colour: '#F7BC00'
34 show_daily: true
35 mppts: 4
36 animation_speed: 8
37 max_power: 13200
38 pv1_name: Inv1.S1
39 pv2_name: Inv2.S1
40 pv3_name: Inv1.S2
41 pv4_name: Inv2.S2
42 display_mode: 2
43 auto_scale: true
44 dynamic_colour: true
45 pv1_max_power: 3300
46 pv2_max_power: 3300
47 pv3_max_power: 3300
48 pv4_max_power: 3300
49 efficiency: 3
50load:
51 colour: magenta
52 show_daily: true
53 show_daily_aux: true
54 show_aux: true
55 invert_aux: false
56 show_absolute_aux: false
57 aux_name: Generator
58 aux_type: gen
59 aux_colour: '#5490c2'
60 aux_off_colour: brown
61 aux_loads: 2
62 aux_load1_name: IT - Servers
63 aux_load2_name: IT - Network
64 aux_load1_icon: mdi:server-network
65 aux_load2_icon: mdi:network
66 animation_speed: 4
67 essential_name: Essential
68 max_power: 4000
69 additional_loads: 2
70 load1_name: Lights
71 load2_name: All GPO
72 load3_name: Spare
73 load4_name: Spare
74 load1_icon: mdi:lightbulb
75 load2_icon: mdi:power-plug
76 load3_icon: mdi:water-boiler
77 load4_icon: mdi:kettle
78 auto_scale: true
79 dynamic_icon: true
80 dynamic_colour: true
81grid:
82 grid_name: Your-Grid-Name
83 colour: '#FF2400'
84 export_colour: green
85 no_grid_colour: '#a40013'
86 grid_off_colour: '#e7d59f'
87 show_daily_buy: true
88 show_daily_sell: true
89 show_nonessential: true
90 invert_grid: true
91 nonessential_name: Non Essential
92 nonessential_icon: none
93 additional_loads: 2
94 load1_name: HVAC
95 load2_name: EV
96 load1_icon: mdi:fan
97 load2_icon: mdi:car
98 animation_speed: 7
99 max_power: 10000
100 auto_scale: true
101 dynamic_icon: true
102 dynamic_colour: true
103 energy_cost_decimals: 3
104entities:
105 use_timer_248: null
106 priority_load_243: null
107 day_battery_charge_70: sensor.batteries_day_charge
108 day_battery_discharge_71: sensor.batteries_day_discharge
109 day_load_energy_84: sensor.house_consumption_energy_daily
110 day_grid_import_76: sensor.hs_grid_imported_daily
111 day_grid_export_77: sensor.hs_grid_exported_daily
112 day_pv_energy_108: sensor.inverters_daily_yield
113 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
114 inverter_voltage_154: sensor.power_meter_voltage
115 load_frequency_192: sensor.power_meter_frequency
116 inverter_current_164: sensor.inverter_phase_a_current
117 inverter_power_175: sensor.inverters_active_power
118 inverter_status_59: sensor.inverters_state
119 radiator_temp_91: null
120 dc_transformer_temp_90: sensor.inverters_internal_temperature
121 pv1_power_186: sensor.inverter_1_pv_1_power
122 pv2_power_187: sensor.inverter_1_pv_2_power
123 pv3_power_188: sensor.inverter_2_pv_1_power
124 pv4_power_189: sensor.inverter_2_pv_2_power
125 pv_total: sensor.inverters_input_power
126 environment_temp: sensor.<your_location>_temp
127 remaining_solar: sensor.energy_production_today_remaining
128 pv1_voltage_109: sensor.inverter_pv_1_voltage
129 pv1_current_110: sensor.inverter_pv_1_current
130 pv2_voltage_111: sensor.inverter_pv_2_voltage
131 pv2_current_112: sensor.inverter_pv_2_current
132 pv3_voltage_113: sensor.inverter_pv_1_voltage_2
133 pv3_current_114: sensor.inverter_pv_1_current_2
134 pv4_voltage_115: sensor.inverter_pv_2_voltage_2
135 pv4_current_116: sensor.inverter_pv_2_current_2
136 battery_voltage_183: sensor.batteries_bus_voltage
137 battery_soc_184: sensor.batteries_state_of_capacity
138 battery_power_190: sensor.batteries_charge_discharge_power
139 battery_current_191: sensor.batteries_bus_current
140 battery_temp_182: sensor.batteries_temperature
141 battery_status: sensor.batteries_status
142 essential_power: sensor.house_consumption_power_less_aux_non_essential
143 essential_load1: sensor.lights_all_active_power
144 essential_load2: sensor.gpo_all_active_power_less_known
145 essential_load1_extra: null
146 essential_load2_extra: null
147 nonessential_power: sensor.sunsynk_card_non_essential_active_power
148 non_essential_load1: sensor.aircon_active_power
149 non_essential_load2: sensor.ev_charger_active_power
150 grid_power_169: sensor.house_consumption_power
151 grid_ct_power_172: sensor.power_meter_active_power
152 grid_ct_power_total: sensor.power_meter_active_power
153 grid_connected_status_194: sensor.inverters_off_grid_status
154 aux_power_166: sensor.sunsynk_card_aux_active_power
155 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
156 energy_cost_buy: sensor.electricity_price
157 energy_cost_sell: sensor.electricity_fit
158 solar_sell_247: switch.null
159 aux_load1: sensor.it_hardware_network_active_power
160 aux_load2: sensor.it_hardware_servers_active_power
161 aux_load1_extra: sensor.env_network_rack_bme280_temperature
162 aux_load2_extra: sensor.garage_controller_bme280_temperature
163 grid_voltage: sensor.power_meter_voltage
Example 3 - 1 x M1 3phase inverter with a 15kWh LUNA ESS battery - 2 PV strings (10kW)
1type: custom:sunsynk-power-flow-card
2cardstyle: full
3large_font: false
4title: Huawei - Power Monitor
5title_size: 18px
6show_solar: true
7show_grid: true
8show_battery: true
9decimal_places: 2
10decimal_places_energy: 2
11dynamic_line_width: true
12inverter:
13 modern: false
14 colour: grey
15 autarky: power
16 auto_scale: true
17 model: huawei
18 three_phase: true
19battery:
20 energy: 14850
21 shutdown_soc: sensor.battery_end_of_discharge_soc
22 invert_power: true
23 colour: '#fc8d83'
24 show_daily: true
25 animation_speed: 5
26 max_power: 5000
27 show_absolute: true
28 auto_scale: true
29 hide_soc: false
30 show_remaining_energy: true
31 dynamic_colour: true
32 linear_gradient: true
33solar:
34 colour: '#F7BC00'
35 show_daily: true
36 mppts: 2
37 animation_speed: 8
38 max_power: 10000
39 pv1_name: Inv1.S1
40 pv2_name: Inv2.S1
41 display_mode: 2
42 auto_scale: true
43 dynamic_colour: true
44 pv1_max_power: 5000
45 pv2_max_power: 5000
46 efficiency: 3
47load:
48 colour: magenta
49 show_daily: true
50 show_daily_aux: true
51 show_aux: true
52 invert_aux: false
53 show_absolute_aux: false
54 aux_name: Generator
55 aux_type: gen
56 aux_colour: '#5490c2'
57 aux_off_colour: brown
58 aux_loads: 2
59 aux_load1_name: IT - Servers
60 aux_load2_name: IT - Network
61 aux_load1_icon: mdi:server-network
62 aux_load2_icon: mdi:network
63 animation_speed: 4
64 essential_name: Essential
65 max_power: 4000
66 additional_loads: 2
67 load1_name: Lights
68 load2_name: All GPO
69 load3_name: Spare
70 load4_name: Spare
71 load1_icon: mdi:lightbulb
72 load2_icon: mdi:power-plug
73 load3_icon: mdi:water-boiler
74 load4_icon: mdi:kettle
75 auto_scale: true
76 dynamic_icon: true
77 dynamic_colour: true
78grid:
79 grid_name: Your-Grid-Name
80 colour: '#FF2400'
81 export_colour: green
82 no_grid_colour: '#a40013'
83 grid_off_colour: '#e7d59f'
84 show_daily_buy: true
85 show_daily_sell: true
86 show_nonessential: true
87 invert_grid: true
88 nonessential_name: Non Essential
89 nonessential_icon: none
90 additional_loads: 2
91 load1_name: HVAC
92 load2_name: EV
93 load1_icon: mdi:fan
94 load2_icon: mdi:car
95 animation_speed: 7
96 max_power: 25000
97 auto_scale: true
98 dynamic_icon: true
99 dynamic_colour: true
100 energy_cost_decimals: 3
101entities:
102 use_timer_248: null
103 priority_load_243: null
104 day_battery_charge_70: sensor.batteries_day_charge
105 day_battery_discharge_71: sensor.batteries_day_discharge
106 day_load_energy_84: sensor.house_consumption_energy_daily
107 day_grid_import_76: sensor.hs_grid_imported_daily
108 day_grid_export_77: sensor.hs_grid_exported_daily
109 day_pv_energy_108: sensor.inverters_daily_yield
110 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
111 inverter_voltage_154: sensor.power_meter_phase_a_voltage
112 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
113 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
114 load_frequency_192: sensor.power_meter_frequency
115 grid_power_169: sensor.house_consumption_power
116 inverter_current_164: sensor.inverter_phase_a_current
117 inverter_current_L2: sensor.inverter_phase_b_current
118 inverter_current_L3: sensor.inverter_phase_c_current
119 inverter_power_175: sensor.inverters_active_power
120 inverter_status_59: sensor.inverters_state
121 radiator_temp_91: null
122 dc_transformer_temp_90: sensor.inverters_internal_temperature
123 pv1_power_186: sensor.inverter_1_pv_1_power
124 pv2_power_187: sensor.inverter_1_pv_2_power
125 pv_total: sensor.inverters_input_power
126 environment_temp: sensor.<your_location>_temp
127 remaining_solar: sensor.energy_production_today_remaining
128 pv1_voltage_109: sensor.inverter_pv_1_voltage
129 pv1_current_110: sensor.inverter_pv_1_current
130 pv2_voltage_111: sensor.inverter_pv_2_voltage
131 pv2_current_112: sensor.inverter_pv_2_current
132 battery_voltage_183: sensor.batteries_bus_voltage
133 battery_soc_184: sensor.batteries_state_of_capacity
134 battery_power_190: sensor.batteries_charge_discharge_power
135 battery_current_191: sensor.batteries_bus_current
136 battery_temp_182: sensor.batteries_temperature
137 battery_status: sensor.batteries_status
138 essential_power: sensor.house_consumption_power_less_aux_non_essential
139 essential_load1: sensor.lights_all_active_power
140 essential_load2: sensor.gpo_all_active_power_less_known
141 essential_load1_extra: null
142 essential_load2_extra: null
143 load_power_L1: sensor.shelly3em_phase_a_gpo_power
144 load_power_L2: sensor.shelly3em_phase_b_gpo_power
145 load_power_L3: sensor.shelly3em_phase_c_gpo_power
146 nonessential_power: sensor.sunsynk_card_non_essential_active_power
147 non_essential_load1: sensor.hvac_active_power
148 non_essential_load2: sensor.ev_charger_active_power
149 grid_ct_power_172: sensor.power_meter_phase_a_active_power
150 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
151 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
152 grid_ct_power_total: sensor.power_meter_active_power
153 grid_connected_status_194: sensor.inverters_off_grid_status
154 aux_power_166: sensor.sunsynk_card_aux_active_power
155 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
156 energy_cost_buy: sensor.electricity_price
157 energy_cost_sell: sensor.electricity_fit
158 solar_sell_247: switch.null
159 aux_load1: sensor.it_hardware_network_active_power
160 aux_load2: sensor.it_hardware_servers_active_power
161 aux_load1_extra: sensor.env_network_rack_bme280_temperature
162 aux_load2_extra: sensor.garage_controller_bme280_temperature
163 grid_voltage: sensor.power_meter_voltage
Example 4 - 1 x M1 3phase inverters with 2 x 15kWh LUNA ESS batteries - 2 PV strings (10kW)
1type: custom:sunsynk-power-flow-card
2cardstyle: full
3large_font: false
4title: Huawei - Power Monitor
5title_size: 18px
6show_solar: true
7show_grid: true
8show_battery: true
9decimal_places: 2
10decimal_places_energy: 2
11dynamic_line_width: true
12inverter:
13 modern: false
14 colour: grey
15 autarky: power
16 auto_scale: true
17 model: huawei
18 three_phase: true
19battery:
20 energy: 29700
21 shutdown_soc: sensor.battery_end_of_discharge_soc
22 invert_power: true
23 colour: '#fc8d83'
24 show_daily: true
25 animation_speed: 5
26 max_power: 10000
27 show_absolute: true
28 auto_scale: true
29 hide_soc: false
30 show_remaining_energy: true
31 dynamic_colour: true
32 linear_gradient: true
33solar:
34 colour: '#F7BC00'
35 show_daily: true
36 mppts: 2
37 animation_speed: 8
38 max_power: 10000
39 pv1_name: Inv1.S1
40 pv2_name: Inv2.S1
41 display_mode: 2
42 auto_scale: true
43 dynamic_colour: true
44 pv1_max_power: 5000
45 pv2_max_power: 5000
46 efficiency: 3
47load:
48 colour: magenta
49 show_daily: true
50 show_daily_aux: true
51 show_aux: true
52 invert_aux: false
53 show_absolute_aux: false
54 aux_name: Generator
55 aux_type: gen
56 aux_colour: '#5490c2'
57 aux_off_colour: brown
58 aux_loads: 2
59 aux_load1_name: IT - Servers
60 aux_load2_name: IT - Network
61 aux_load1_icon: mdi:server-network
62 aux_load2_icon: mdi:network
63 animation_speed: 4
64 essential_name: Essential
65 max_power: 4000
66 additional_loads: 2
67 load1_name: Lights
68 load2_name: All GPO
69 load3_name: Spare
70 load4_name: Spare
71 load1_icon: mdi:lightbulb
72 load2_icon: mdi:power-plug
73 load3_icon: mdi:water-boiler
74 load4_icon: mdi:kettle
75 auto_scale: true
76 dynamic_icon: true
77 dynamic_colour: true
78grid:
79 grid_name: Your-Grid-Name
80 colour: '#FF2400'
81 export_colour: green
82 no_grid_colour: '#a40013'
83 grid_off_colour: '#e7d59f'
84 show_daily_buy: true
85 show_daily_sell: true
86 show_nonessential: true
87 invert_grid: true
88 nonessential_name: Non Essential
89 nonessential_icon: none
90 additional_loads: 2
91 load1_name: HVAC
92 load2_name: EV
93 load1_icon: mdi:fan
94 load2_icon: mdi:car
95 animation_speed: 7
96 max_power: 25000
97 auto_scale: true
98 dynamic_icon: true
99 dynamic_colour: true
100 energy_cost_decimals: 3
101entities:
102 use_timer_248: null
103 priority_load_243: null
104 day_battery_charge_70: sensor.batteries_day_charge
105 day_battery_discharge_71: sensor.batteries_day_discharge
106 day_load_energy_84: sensor.house_consumption_energy_daily
107 day_grid_import_76: sensor.hs_grid_imported_daily
108 day_grid_export_77: sensor.hs_grid_exported_daily
109 day_pv_energy_108: sensor.inverters_daily_yield
110 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
111 inverter_voltage_154: sensor.power_meter_phase_a_voltage
112 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
113 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
114 load_frequency_192: sensor.power_meter_frequency
115 grid_power_169: sensor.house_consumption_power
116 inverter_current_164: sensor.inverter_phase_a_current
117 inverter_current_L2: sensor.inverter_phase_b_current
118 inverter_current_L3: sensor.inverter_phase_c_current
119 inverter_power_175: sensor.inverters_active_power
120 inverter_status_59: sensor.inverters_state
121 radiator_temp_91: null
122 dc_transformer_temp_90: sensor.inverters_internal_temperature
123 pv1_power_186: sensor.inverter_1_pv_1_power
124 pv2_power_187: sensor.inverter_1_pv_2_power
125 pv3_power_188: sensor.inverter_2_pv_1_power
126 pv4_power_189: sensor.inverter_2_pv_2_power
127 pv_total: sensor.inverters_input_power
128 environment_temp: sensor.<your_location>_temp
129 remaining_solar: sensor.energy_production_today_remaining
130 pv1_voltage_109: sensor.inverter_pv_1_voltage
131 pv1_current_110: sensor.inverter_pv_1_current
132 pv2_voltage_111: sensor.inverter_pv_2_voltage
133 pv2_current_112: sensor.inverter_pv_2_current
134 battery_voltage_183: sensor.batteries_bus_voltage
135 battery_soc_184: sensor.batteries_state_of_capacity
136 battery_power_190: sensor.batteries_charge_discharge_power
137 battery_current_191: sensor.batteries_bus_current
138 battery_temp_182: sensor.batteries_temperature
139 battery_status: sensor.batteries_status
140 essential_power: sensor.house_consumption_power_less_aux_non_essential
141 essential_load1: sensor.lights_all_active_power
142 essential_load2: sensor.gpo_all_active_power_less_known
143 essential_load1_extra: null
144 essential_load2_extra: null
145 load_power_L1: sensor.shelly3em_phase_a_gpo_power
146 load_power_L2: sensor.shelly3em_phase_b_gpo_power
147 load_power_L3: sensor.shelly3em_phase_c_gpo_power
148 nonessential_power: sensor.sunsynk_card_non_essential_active_power
149 non_essential_load1: sensor.hvac_active_power
150 non_essential_load2: sensor.ev_charger_active_power
151 grid_ct_power_172: sensor.power_meter_phase_a_active_power
152 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
153 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
154 grid_ct_power_total: sensor.power_meter_active_power
155 grid_connected_status_194: sensor.inverters_off_grid_status
156 aux_power_166: sensor.sunsynk_card_aux_active_power
157 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
158 energy_cost_buy: sensor.electricity_price
159 energy_cost_sell: sensor.electricity_fit
160 solar_sell_247: switch.null
161 aux_load1: sensor.it_hardware_network_active_power
162 aux_load2: sensor.it_hardware_servers_active_power
163 aux_load1_extra: sensor.env_network_rack_bme280_temperature
164 aux_load2_extra: sensor.garage_controller_bme280_temperature
165 grid_voltage: sensor.power_meter_voltage
Example 5 - 2 x M1 3phase inverters with a 15kWh LUNA ESS battery - 4 PV strings (20kW)
1type: custom:sunsynk-power-flow-card
2cardstyle: full
3large_font: false
4title: Huawei - Power Monitor
5title_size: 18px
6show_solar: true
7show_grid: true
8show_battery: true
9decimal_places: 2
10decimal_places_energy: 2
11dynamic_line_width: true
12inverter:
13 modern: false
14 colour: grey
15 autarky: power
16 auto_scale: true
17 model: huawei
18 three_phase: true
19battery:
20 energy: 14850
21 shutdown_soc: sensor.battery_end_of_discharge_soc
22 invert_power: true
23 colour: '#fc8d83'
24 show_daily: true
25 animation_speed: 5
26 max_power: 5000
27 show_absolute: true
28 auto_scale: true
29 hide_soc: false
30 show_remaining_energy: true
31 dynamic_colour: true
32 linear_gradient: true
33solar:
34 colour: '#F7BC00'
35 show_daily: true
36 mppts: 4
37 animation_speed: 8
38 max_power: 20000
39 pv1_name: Inv1.S1
40 pv2_name: Inv2.S1
41 pv3_name: Inv1.S2
42 pv4_name: Inv2.S2
43 display_mode: 2
44 auto_scale: true
45 dynamic_colour: true
46 pv1_max_power: 5000
47 pv2_max_power: 5000
48 pv3_max_power: 5000
49 pv4_max_power: 5000
50 efficiency: 3
51load:
52 colour: magenta
53 show_daily: true
54 show_daily_aux: true
55 show_aux: true
56 invert_aux: false
57 show_absolute_aux: false
58 aux_name: Generator
59 aux_type: gen
60 aux_colour: '#5490c2'
61 aux_off_colour: brown
62 aux_loads: 2
63 aux_load1_name: IT - Servers
64 aux_load2_name: IT - Network
65 aux_load1_icon: mdi:server-network
66 aux_load2_icon: mdi:network
67 animation_speed: 4
68 essential_name: Essential
69 max_power: 4000
70 additional_loads: 2
71 load1_name: Lights
72 load2_name: All GPO
73 load3_name: Spare
74 load4_name: Spare
75 load1_icon: mdi:lightbulb
76 load2_icon: mdi:power-plug
77 load3_icon: mdi:water-boiler
78 load4_icon: mdi:kettle
79 auto_scale: true
80 dynamic_icon: true
81 dynamic_colour: true
82grid:
83 grid_name: Your-Grid-Name
84 colour: '#FF2400'
85 export_colour: green
86 no_grid_colour: '#a40013'
87 grid_off_colour: '#e7d59f'
88 show_daily_buy: true
89 show_daily_sell: true
90 show_nonessential: true
91 invert_grid: true
92 nonessential_name: Non Essential
93 nonessential_icon: none
94 additional_loads: 2
95 load1_name: HVAC
96 load2_name: EV
97 load1_icon: mdi:fan
98 load2_icon: mdi:car
99 animation_speed: 7
100 max_power: 25000
101 auto_scale: true
102 dynamic_icon: true
103 dynamic_colour: true
104 energy_cost_decimals: 3
105entities:
106 use_timer_248: null
107 priority_load_243: null
108 day_battery_charge_70: sensor.batteries_day_charge
109 day_battery_discharge_71: sensor.batteries_day_discharge
110 day_load_energy_84: sensor.house_consumption_energy_daily
111 day_grid_import_76: sensor.hs_grid_imported_daily
112 day_grid_export_77: sensor.hs_grid_exported_daily
113 day_grid_export_77: sensor.hs_grid_exported_daily
114 day_grid_export_77: sensor.hs_grid_exported_daily
115 day_pv_energy_108: sensor.inverters_daily_yield
116 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
117 inverter_voltage_154: sensor.power_meter_phase_a_voltage
118 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
119 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
120 load_frequency_192: sensor.power_meter_frequency
121 grid_power_169: sensor.house_consumption_power
122 inverter_current_164: sensor.inverter_phase_a_current
123 inverter_current_L2: sensor.inverter_phase_b_current
124 inverter_current_L3: sensor.inverter_phase_c_current
125 inverter_power_175: sensor.inverters_active_power
126 inverter_status_59: sensor.inverters_state
127 radiator_temp_91: null
128 dc_transformer_temp_90: sensor.inverters_internal_temperature
129 pv1_power_186: sensor.inverter_1_pv_1_power
130 pv2_power_187: sensor.inverter_1_pv_2_power
131 pv3_power_188: sensor.inverter_2_pv_1_power
132 pv4_power_189: sensor.inverter_2_pv_2_power
133 pv_total: sensor.inverters_input_power
134 environment_temp: sensor.<your_location>_temp
135 remaining_solar: sensor.energy_production_today_remaining
136 pv1_voltage_109: sensor.inverter_pv_1_voltage
137 pv1_current_110: sensor.inverter_pv_1_current
138 pv2_voltage_111: sensor.inverter_pv_2_voltage
139 pv2_current_112: sensor.inverter_pv_2_current
140 pv3_voltage_113: sensor.inverter_pv_1_voltage_2
141 pv3_current_114: sensor.inverter_pv_1_current_2
142 pv4_voltage_115: sensor.inverter_pv_2_voltage_2
143 pv4_current_116: sensor.inverter_pv_2_current_2
144 battery_voltage_183: sensor.batteries_bus_voltage
145 battery_soc_184: sensor.batteries_state_of_capacity
146 battery_power_190: sensor.batteries_charge_discharge_power
147 battery_current_191: sensor.batteries_bus_current
148 battery_temp_182: sensor.batteries_temperature
149 battery_status: sensor.batteries_status
150 essential_power: sensor.house_consumption_power_less_aux_non_essential
151 essential_load1: sensor.lights_all_active_power
152 essential_load2: sensor.gpo_all_active_power_less_known
153 essential_load1_extra: null
154 essential_load2_extra: null
155 load_power_L1: sensor.shelly3em_phase_a_gpo_power
156 load_power_L2: sensor.shelly3em_phase_b_gpo_power
157 load_power_L3: sensor.shelly3em_phase_c_gpo_power
158 nonessential_power: sensor.sunsynk_card_non_essential_active_power
159 non_essential_load1: sensor.hvac_active_power
160 non_essential_load2: sensor.ev_charger_active_power
161 grid_ct_power_172: sensor.power_meter_phase_a_active_power
162 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
163 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
164 grid_ct_power_total: sensor.power_meter_active_power
165 grid_connected_status_194: sensor.inverters_off_grid_status
166 aux_power_166: sensor.sunsynk_card_aux_active_power
167 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
168 energy_cost_buy: sensor.electricity_price
169 energy_cost_sell: sensor.electricity_fit
170 solar_sell_247: switch.null
171 aux_load1: sensor.it_hardware_network_active_power
172 aux_load2: sensor.it_hardware_servers_active_power
173 aux_load1_extra: sensor.env_network_rack_bme280_temperature
174 aux_load2_extra: sensor.garage_controller_bme280_temperature
175 grid_voltage: sensor.power_meter_voltage