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
3panel_mode: false
4large_font: false
5title: Huawei - Power Monitor
6title_size: 18px
7show_solar: true
8show_grid: true
9show_battery: true
10decimal_places: 2
11decimal_places_energy: 2
12dynamic_line_width: true
13inverter:
14 modern: false
15 colour: grey
16 autarky: power
17 auto_scale: true
18 model: huawei
19 three_phase: false
20battery:
21 energy: 14850
22 shutdown_soc: sensor.battery_end_of_discharge_soc
23 invert_power: true
24 colour: '#fc8d83'
25 show_daily: true
26 animation_speed: 5
27 max_power: 5000
28 show_absolute: true
29 auto_scale: true
30 hide_soc: false
31 show_remaining_energy: true
32 dynamic_colour: true
33 linear_gradient: true
34solar:
35 colour: '#F7BC00'
36 show_daily: true
37 mppts: 2
38 animation_speed: 8
39 max_power: 6600
40 pv1_name: Inv1.S1
41 pv2_name: Inv2.S1
42 display_mode: 2
43 auto_scale: true
44 dynamic_colour: true
45 pv1_max_power: 3300
46 pv2_max_power: 3300
47 efficiency: 3
48load:
49 colour: magenta
50 show_daily: true
51 show_daily_aux: true
52 show_aux: true
53 invert_aux: false
54 show_absolute_aux: false
55 aux_name: Generator
56 aux_type: gen
57 aux_colour: '#5490c2'
58 aux_off_colour: brown
59 aux_loads: 2
60 aux_load1_name: IT - Servers
61 aux_load2_name: IT - Network
62 aux_load1_icon: mdi:server-network
63 aux_load2_icon: mdi:network
64 animation_speed: 4
65 essential_name: Essential
66 max_power: 4000
67 additional_loads: 2
68 load1_name: Lights
69 load2_name: All GPO
70 load3_name: Spare
71 load4_name: Spare
72 load1_icon: mdi:lightbulb
73 load2_icon: mdi:power-plug
74 load3_icon: mdi:water-boiler
75 load4_icon: mdi:kettle
76 auto_scale: true
77 dynamic_icon: true
78 dynamic_colour: true
79grid:
80 grid_name: Your-Grid-Name
81 colour: '#FF2400'
82 export_colour: green
83 no_grid_colour: '#a40013'
84 grid_off_colour: '#e7d59f'
85 show_daily_buy: true
86 show_daily_sell: true
87 show_nonessential: true
88 invert_grid: true
89 nonessential_name: Non Essential
90 nonessential_icon: none
91 additional_loads: 2
92 load1_name: HVAC
93 load2_name: EV
94 load1_icon: mdi:fan
95 load2_icon: mdi:car
96 animation_speed: 7
97 max_power: 15000
98 auto_scale: true
99 dynamic_icon: true
100 dynamic_colour: true
101 energy_cost_decimals: 3
102entities:
103 use_timer_248: null
104 priority_load_243: null
105 day_battery_charge_70: sensor.batteries_day_charge
106 day_battery_discharge_71: sensor.batteries_day_discharge
107 day_load_energy_84: sensor.house_consumption_energy_daily
108 day_grid_import_76: sensor.hs_grid_imported_daily
109 day_grid_export_77: sensor.hs_grid_exported_daily
110 day_pv_energy_108: sensor.inverters_daily_yield
111 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
112 inverter_voltage_154: sensor.power_meter_voltage
113 load_frequency_192: sensor.power_meter_frequency
114 grid_power_169: sensor.house_consumption_power
115 inverter_current_164: sensor.inverter_phase_a_current
116 inverter_power_175: sensor.inverters_active_power
117 inverter_status_59: sensor.inverters_state
118 radiator_temp_91: null
119 dc_transformer_temp_90: sensor.inverters_internal_temperature
120 pv1_power_186: sensor.inverter_1_pv_1_power
121 pv2_power_187: sensor.inverter_1_pv_2_power
122 pv_total: sensor.inverters_input_power
123 environment_temp: sensor.<your_location>_temp
124 remaining_solar: sensor.energy_production_today_remaining
125 pv1_voltage_109: sensor.inverter_pv_1_voltage
126 pv1_current_110: sensor.inverter_pv_1_current
127 pv2_voltage_111: sensor.inverter_pv_2_voltage
128 pv2_current_112: sensor.inverter_pv_2_current
129 battery_voltage_183: sensor.batteries_bus_voltage
130 battery_soc_184: sensor.batteries_state_of_capacity
131 battery_power_190: sensor.batteries_charge_discharge_power
132 battery_current_191: sensor.batteries_bus_current
133 battery_temp_182: sensor.batteries_temperature
134 battery_status: sensor.batteries_status
135 essential_power: sensor.house_consumption_power_less_aux_non_essential
136 essential_load1: sensor.lights_all_active_power
137 essential_load2: sensor.gpo_all_active_power_less_known
138 essential_load1_extra: null
139 essential_load2_extra: null
140 nonessential_power: sensor.sunsynk_card_non_essential_active_power
141 non_essential_load1: sensor.hvac_active_power
142 non_essential_load2: sensor.ev_charger_active_power
143 grid_ct_power_172: sensor.power_meter_active_power
144 grid_ct_power_total: sensor.power_meter_active_power
145 grid_connected_status_194: sensor.inverters_off_grid_status
146 aux_power_166: sensor.sunsynk_card_aux_active_power
147 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
148 energy_cost_buy: sensor.electricity_price
149 energy_cost_sell: sensor.electricity_fit
150 solar_sell_247: switch.null
151 aux_load1: sensor.it_hardware_network_active_power
152 aux_load2: sensor.it_hardware_servers_active_power
153 aux_load1_extra: sensor.env_network_rack_bme280_temperature
154 aux_load2_extra: sensor.garage_controller_bme280_temperature
155 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
3panel_mode: false
4large_font: false
5title: Huawei - Power Monitor
6title_size: 18px
7show_solar: true
8show_grid: true
9show_battery: true
10decimal_places: 2
11decimal_places_energy: 2
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: 4
37 animation_speed: 8
38 max_power: 13200
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: 3300
47 pv2_max_power: 3300
48 pv3_max_power: 3300
49 pv4_max_power: 3300
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: 10000
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_pv_energy_108: sensor.inverters_daily_yield
114 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
115 inverter_voltage_154: sensor.power_meter_voltage
116 load_frequency_192: sensor.power_meter_frequency
117 inverter_current_164: sensor.inverter_phase_a_current
118 inverter_power_175: sensor.inverters_active_power
119 inverter_status_59: sensor.inverters_state
120 radiator_temp_91: null
121 dc_transformer_temp_90: sensor.inverters_internal_temperature
122 pv1_power_186: sensor.inverter_1_pv_1_power
123 pv2_power_187: sensor.inverter_1_pv_2_power
124 pv3_power_188: sensor.inverter_2_pv_1_power
125 pv4_power_189: sensor.inverter_2_pv_2_power
126 pv_total: sensor.inverters_input_power
127 environment_temp: sensor.<your_location>_temp
128 remaining_solar: sensor.energy_production_today_remaining
129 pv1_voltage_109: sensor.inverter_pv_1_voltage
130 pv1_current_110: sensor.inverter_pv_1_current
131 pv2_voltage_111: sensor.inverter_pv_2_voltage
132 pv2_current_112: sensor.inverter_pv_2_current
133 pv3_voltage_113: sensor.inverter_pv_1_voltage_2
134 pv3_current_114: sensor.inverter_pv_1_current_2
135 pv4_voltage_115: sensor.inverter_pv_2_voltage_2
136 pv4_current_116: sensor.inverter_pv_2_current_2
137 battery_voltage_183: sensor.batteries_bus_voltage
138 battery_soc_184: sensor.batteries_state_of_capacity
139 battery_power_190: sensor.batteries_charge_discharge_power
140 battery_current_191: sensor.batteries_bus_current
141 battery_temp_182: sensor.batteries_temperature
142 battery_status: sensor.batteries_status
143 essential_power: sensor.house_consumption_power_less_aux_non_essential
144 essential_load1: sensor.lights_all_active_power
145 essential_load2: sensor.gpo_all_active_power_less_known
146 essential_load1_extra: null
147 essential_load2_extra: null
148 nonessential_power: sensor.sunsynk_card_non_essential_active_power
149 non_essential_load1: sensor.aircon_active_power
150 non_essential_load2: sensor.ev_charger_active_power
151 grid_power_169: sensor.house_consumption_power
152 grid_ct_power_172: sensor.power_meter_active_power
153 grid_ct_power_total: sensor.power_meter_active_power
154 grid_connected_status_194: sensor.inverters_off_grid_status
155 aux_power_166: sensor.sunsynk_card_aux_active_power
156 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
157 energy_cost_buy: sensor.electricity_price
158 energy_cost_sell: sensor.electricity_fit
159 solar_sell_247: switch.null
160 aux_load1: sensor.it_hardware_network_active_power
161 aux_load2: sensor.it_hardware_servers_active_power
162 aux_load1_extra: sensor.env_network_rack_bme280_temperature
163 aux_load2_extra: sensor.garage_controller_bme280_temperature
164 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
3panel_mode: false
4large_font: false
5title: Huawei - Power Monitor
6title_size: 18px
7show_solar: true
8show_grid: true
9show_battery: true
10decimal_places: 2
11decimal_places_energy: 2
12dynamic_line_width: true
13inverter:
14 modern: false
15 colour: grey
16 autarky: power
17 auto_scale: true
18 model: huawei
19 three_phase: true
20battery:
21 energy: 14850
22 shutdown_soc: sensor.battery_end_of_discharge_soc
23 invert_power: true
24 colour: '#fc8d83'
25 show_daily: true
26 animation_speed: 5
27 max_power: 5000
28 show_absolute: true
29 auto_scale: true
30 hide_soc: false
31 show_remaining_energy: true
32 dynamic_colour: true
33 linear_gradient: true
34solar:
35 colour: '#F7BC00'
36 show_daily: true
37 mppts: 2
38 animation_speed: 8
39 max_power: 10000
40 pv1_name: Inv1.S1
41 pv2_name: Inv2.S1
42 display_mode: 2
43 auto_scale: true
44 dynamic_colour: true
45 pv1_max_power: 5000
46 pv2_max_power: 5000
47 efficiency: 3
48load:
49 colour: magenta
50 show_daily: true
51 show_daily_aux: true
52 show_aux: true
53 invert_aux: false
54 show_absolute_aux: false
55 aux_name: Generator
56 aux_type: gen
57 aux_colour: '#5490c2'
58 aux_off_colour: brown
59 aux_loads: 2
60 aux_load1_name: IT - Servers
61 aux_load2_name: IT - Network
62 aux_load1_icon: mdi:server-network
63 aux_load2_icon: mdi:network
64 animation_speed: 4
65 essential_name: Essential
66 max_power: 4000
67 additional_loads: 2
68 load1_name: Lights
69 load2_name: All GPO
70 load3_name: Spare
71 load4_name: Spare
72 load1_icon: mdi:lightbulb
73 load2_icon: mdi:power-plug
74 load3_icon: mdi:water-boiler
75 load4_icon: mdi:kettle
76 auto_scale: true
77 dynamic_icon: true
78 dynamic_colour: true
79grid:
80 grid_name: Your-Grid-Name
81 colour: '#FF2400'
82 export_colour: green
83 no_grid_colour: '#a40013'
84 grid_off_colour: '#e7d59f'
85 show_daily_buy: true
86 show_daily_sell: true
87 show_nonessential: true
88 invert_grid: true
89 nonessential_name: Non Essential
90 nonessential_icon: none
91 additional_loads: 2
92 load1_name: HVAC
93 load2_name: EV
94 load1_icon: mdi:fan
95 load2_icon: mdi:car
96 animation_speed: 7
97 max_power: 25000
98 auto_scale: true
99 dynamic_icon: true
100 dynamic_colour: true
101 energy_cost_decimals: 3
102entities:
103 use_timer_248: null
104 priority_load_243: null
105 day_battery_charge_70: sensor.batteries_day_charge
106 day_battery_discharge_71: sensor.batteries_day_discharge
107 day_load_energy_84: sensor.house_consumption_energy_daily
108 day_grid_import_76: sensor.hs_grid_imported_daily
109 day_grid_export_77: sensor.hs_grid_exported_daily
110 day_pv_energy_108: sensor.inverters_daily_yield
111 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
112 inverter_voltage_154: sensor.power_meter_phase_a_voltage
113 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
114 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
115 load_frequency_192: sensor.power_meter_frequency
116 grid_power_169: sensor.house_consumption_power
117 inverter_current_164: sensor.inverter_phase_a_current
118 inverter_current_L2: sensor.inverter_phase_b_current
119 inverter_current_L3: sensor.inverter_phase_c_current
120 inverter_power_175: sensor.inverters_active_power
121 inverter_status_59: sensor.inverters_state
122 radiator_temp_91: null
123 dc_transformer_temp_90: sensor.inverters_internal_temperature
124 pv1_power_186: sensor.inverter_1_pv_1_power
125 pv2_power_187: sensor.inverter_1_pv_2_power
126 pv_total: sensor.inverters_input_power
127 environment_temp: sensor.<your_location>_temp
128 remaining_solar: sensor.energy_production_today_remaining
129 pv1_voltage_109: sensor.inverter_pv_1_voltage
130 pv1_current_110: sensor.inverter_pv_1_current
131 pv2_voltage_111: sensor.inverter_pv_2_voltage
132 pv2_current_112: sensor.inverter_pv_2_current
133 battery_voltage_183: sensor.batteries_bus_voltage
134 battery_soc_184: sensor.batteries_state_of_capacity
135 battery_power_190: sensor.batteries_charge_discharge_power
136 battery_current_191: sensor.batteries_bus_current
137 battery_temp_182: sensor.batteries_temperature
138 battery_status: sensor.batteries_status
139 essential_power: sensor.house_consumption_power_less_aux_non_essential
140 essential_load1: sensor.lights_all_active_power
141 essential_load2: sensor.gpo_all_active_power_less_known
142 essential_load1_extra: null
143 essential_load2_extra: null
144 load_power_L1: sensor.shelly3em_phase_a_gpo_power
145 load_power_L2: sensor.shelly3em_phase_b_gpo_power
146 load_power_L3: sensor.shelly3em_phase_c_gpo_power
147 nonessential_power: sensor.sunsynk_card_non_essential_active_power
148 non_essential_load1: sensor.hvac_active_power
149 non_essential_load2: sensor.ev_charger_active_power
150 grid_ct_power_172: sensor.power_meter_phase_a_active_power
151 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
152 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
153 grid_ct_power_total: sensor.power_meter_active_power
154 grid_connected_status_194: sensor.inverters_off_grid_status
155 aux_power_166: sensor.sunsynk_card_aux_active_power
156 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
157 energy_cost_buy: sensor.electricity_price
158 energy_cost_sell: sensor.electricity_fit
159 solar_sell_247: switch.null
160 aux_load1: sensor.it_hardware_network_active_power
161 aux_load2: sensor.it_hardware_servers_active_power
162 aux_load1_extra: sensor.env_network_rack_bme280_temperature
163 aux_load2_extra: sensor.garage_controller_bme280_temperature
164 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
3panel_mode: false
4large_font: false
5title: Huawei - Power Monitor
6title_size: 18px
7show_solar: true
8show_grid: true
9show_battery: true
10decimal_places: 2
11decimal_places_energy: 2
12dynamic_line_width: true
13inverter:
14 modern: false
15 colour: grey
16 autarky: power
17 auto_scale: true
18 model: huawei
19 three_phase: true
20battery:
21 energy: 29700
22 shutdown_soc: sensor.battery_end_of_discharge_soc
23 invert_power: true
24 colour: '#fc8d83'
25 show_daily: true
26 animation_speed: 5
27 max_power: 10000
28 show_absolute: true
29 auto_scale: true
30 hide_soc: false
31 show_remaining_energy: true
32 dynamic_colour: true
33 linear_gradient: true
34solar:
35 colour: '#F7BC00'
36 show_daily: true
37 mppts: 2
38 animation_speed: 8
39 max_power: 10000
40 pv1_name: Inv1.S1
41 pv2_name: Inv2.S1
42 display_mode: 2
43 auto_scale: true
44 dynamic_colour: true
45 pv1_max_power: 5000
46 pv2_max_power: 5000
47 efficiency: 3
48load:
49 colour: magenta
50 show_daily: true
51 show_daily_aux: true
52 show_aux: true
53 invert_aux: false
54 show_absolute_aux: false
55 aux_name: Generator
56 aux_type: gen
57 aux_colour: '#5490c2'
58 aux_off_colour: brown
59 aux_loads: 2
60 aux_load1_name: IT - Servers
61 aux_load2_name: IT - Network
62 aux_load1_icon: mdi:server-network
63 aux_load2_icon: mdi:network
64 animation_speed: 4
65 essential_name: Essential
66 max_power: 4000
67 additional_loads: 2
68 load1_name: Lights
69 load2_name: All GPO
70 load3_name: Spare
71 load4_name: Spare
72 load1_icon: mdi:lightbulb
73 load2_icon: mdi:power-plug
74 load3_icon: mdi:water-boiler
75 load4_icon: mdi:kettle
76 auto_scale: true
77 dynamic_icon: true
78 dynamic_colour: true
79grid:
80 grid_name: Your-Grid-Name
81 colour: '#FF2400'
82 export_colour: green
83 no_grid_colour: '#a40013'
84 grid_off_colour: '#e7d59f'
85 show_daily_buy: true
86 show_daily_sell: true
87 show_nonessential: true
88 invert_grid: true
89 nonessential_name: Non Essential
90 nonessential_icon: none
91 additional_loads: 2
92 load1_name: HVAC
93 load2_name: EV
94 load1_icon: mdi:fan
95 load2_icon: mdi:car
96 animation_speed: 7
97 max_power: 25000
98 auto_scale: true
99 dynamic_icon: true
100 dynamic_colour: true
101 energy_cost_decimals: 3
102entities:
103 use_timer_248: null
104 priority_load_243: null
105 day_battery_charge_70: sensor.batteries_day_charge
106 day_battery_discharge_71: sensor.batteries_day_discharge
107 day_load_energy_84: sensor.house_consumption_energy_daily
108 day_grid_import_76: sensor.hs_grid_imported_daily
109 day_grid_export_77: sensor.hs_grid_exported_daily
110 day_pv_energy_108: sensor.inverters_daily_yield
111 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
112 inverter_voltage_154: sensor.power_meter_phase_a_voltage
113 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
114 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
115 load_frequency_192: sensor.power_meter_frequency
116 grid_power_169: sensor.house_consumption_power
117 inverter_current_164: sensor.inverter_phase_a_current
118 inverter_current_L2: sensor.inverter_phase_b_current
119 inverter_current_L3: sensor.inverter_phase_c_current
120 inverter_power_175: sensor.inverters_active_power
121 inverter_status_59: sensor.inverters_state
122 radiator_temp_91: null
123 dc_transformer_temp_90: sensor.inverters_internal_temperature
124 pv1_power_186: sensor.inverter_1_pv_1_power
125 pv2_power_187: sensor.inverter_1_pv_2_power
126 pv3_power_188: sensor.inverter_2_pv_1_power
127 pv4_power_189: sensor.inverter_2_pv_2_power
128 pv_total: sensor.inverters_input_power
129 environment_temp: sensor.<your_location>_temp
130 remaining_solar: sensor.energy_production_today_remaining
131 pv1_voltage_109: sensor.inverter_pv_1_voltage
132 pv1_current_110: sensor.inverter_pv_1_current
133 pv2_voltage_111: sensor.inverter_pv_2_voltage
134 pv2_current_112: sensor.inverter_pv_2_current
135 battery_voltage_183: sensor.batteries_bus_voltage
136 battery_soc_184: sensor.batteries_state_of_capacity
137 battery_power_190: sensor.batteries_charge_discharge_power
138 battery_current_191: sensor.batteries_bus_current
139 battery_temp_182: sensor.batteries_temperature
140 battery_status: sensor.batteries_status
141 essential_power: sensor.house_consumption_power_less_aux_non_essential
142 essential_load1: sensor.lights_all_active_power
143 essential_load2: sensor.gpo_all_active_power_less_known
144 essential_load1_extra: null
145 essential_load2_extra: null
146 load_power_L1: sensor.shelly3em_phase_a_gpo_power
147 load_power_L2: sensor.shelly3em_phase_b_gpo_power
148 load_power_L3: sensor.shelly3em_phase_c_gpo_power
149 nonessential_power: sensor.sunsynk_card_non_essential_active_power
150 non_essential_load1: sensor.hvac_active_power
151 non_essential_load2: sensor.ev_charger_active_power
152 grid_ct_power_172: sensor.power_meter_phase_a_active_power
153 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
154 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
155 grid_ct_power_total: sensor.power_meter_active_power
156 grid_connected_status_194: sensor.inverters_off_grid_status
157 aux_power_166: sensor.sunsynk_card_aux_active_power
158 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
159 energy_cost_buy: sensor.electricity_price
160 energy_cost_sell: sensor.electricity_fit
161 solar_sell_247: switch.null
162 aux_load1: sensor.it_hardware_network_active_power
163 aux_load2: sensor.it_hardware_servers_active_power
164 aux_load1_extra: sensor.env_network_rack_bme280_temperature
165 aux_load2_extra: sensor.garage_controller_bme280_temperature
166 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
3panel_mode: false
4large_font: false
5title: Huawei - Power Monitor
6title_size: 18px
7show_solar: true
8show_grid: true
9show_battery: true
10decimal_places: 2
11decimal_places_energy: 2
12dynamic_line_width: true
13inverter:
14 modern: false
15 colour: grey
16 autarky: power
17 auto_scale: true
18 model: huawei
19 three_phase: true
20battery:
21 energy: 14850
22 shutdown_soc: sensor.battery_end_of_discharge_soc
23 invert_power: true
24 colour: '#fc8d83'
25 show_daily: true
26 animation_speed: 5
27 max_power: 5000
28 show_absolute: true
29 auto_scale: true
30 hide_soc: false
31 show_remaining_energy: true
32 dynamic_colour: true
33 linear_gradient: true
34solar:
35 colour: '#F7BC00'
36 show_daily: true
37 mppts: 4
38 animation_speed: 8
39 max_power: 20000
40 pv1_name: Inv1.S1
41 pv2_name: Inv2.S1
42 pv3_name: Inv1.S2
43 pv4_name: Inv2.S2
44 display_mode: 2
45 auto_scale: true
46 dynamic_colour: true
47 pv1_max_power: 5000
48 pv2_max_power: 5000
49 pv3_max_power: 5000
50 pv4_max_power: 5000
51 efficiency: 3
52load:
53 colour: magenta
54 show_daily: true
55 show_daily_aux: true
56 show_aux: true
57 invert_aux: false
58 show_absolute_aux: false
59 aux_name: Generator
60 aux_type: gen
61 aux_colour: '#5490c2'
62 aux_off_colour: brown
63 aux_loads: 2
64 aux_load1_name: IT - Servers
65 aux_load2_name: IT - Network
66 aux_load1_icon: mdi:server-network
67 aux_load2_icon: mdi:network
68 animation_speed: 4
69 essential_name: Essential
70 max_power: 4000
71 additional_loads: 2
72 load1_name: Lights
73 load2_name: All GPO
74 load3_name: Spare
75 load4_name: Spare
76 load1_icon: mdi:lightbulb
77 load2_icon: mdi:power-plug
78 load3_icon: mdi:water-boiler
79 load4_icon: mdi:kettle
80 auto_scale: true
81 dynamic_icon: true
82 dynamic_colour: true
83grid:
84 grid_name: Your-Grid-Name
85 colour: '#FF2400'
86 export_colour: green
87 no_grid_colour: '#a40013'
88 grid_off_colour: '#e7d59f'
89 show_daily_buy: true
90 show_daily_sell: true
91 show_nonessential: true
92 invert_grid: true
93 nonessential_name: Non Essential
94 nonessential_icon: none
95 additional_loads: 2
96 load1_name: HVAC
97 load2_name: EV
98 load1_icon: mdi:fan
99 load2_icon: mdi:car
100 animation_speed: 7
101 max_power: 25000
102 auto_scale: true
103 dynamic_icon: true
104 dynamic_colour: true
105 energy_cost_decimals: 3
106entities:
107 use_timer_248: null
108 priority_load_243: null
109 day_battery_charge_70: sensor.batteries_day_charge
110 day_battery_discharge_71: sensor.batteries_day_discharge
111 day_load_energy_84: sensor.house_consumption_energy_daily
112 day_grid_import_76: sensor.hs_grid_imported_daily
113 day_grid_export_77: sensor.hs_grid_exported_daily
114 day_grid_export_77: sensor.hs_grid_exported_daily
115 day_grid_export_77: sensor.hs_grid_exported_daily
116 day_pv_energy_108: sensor.inverters_daily_yield
117 day_aux_energy: sensor.sunsynk_card_aux_energy_daily
118 inverter_voltage_154: sensor.power_meter_phase_a_voltage
119 inverter_voltage_L2: sensor.power_meter_phase_b_voltage
120 inverter_voltage_L3: sensor.power_meter_phase_c_voltage
121 load_frequency_192: sensor.power_meter_frequency
122 grid_power_169: sensor.house_consumption_power
123 inverter_current_164: sensor.inverter_phase_a_current
124 inverter_current_L2: sensor.inverter_phase_b_current
125 inverter_current_L3: sensor.inverter_phase_c_current
126 inverter_power_175: sensor.inverters_active_power
127 inverter_status_59: sensor.inverters_state
128 radiator_temp_91: null
129 dc_transformer_temp_90: sensor.inverters_internal_temperature
130 pv1_power_186: sensor.inverter_1_pv_1_power
131 pv2_power_187: sensor.inverter_1_pv_2_power
132 pv3_power_188: sensor.inverter_2_pv_1_power
133 pv4_power_189: sensor.inverter_2_pv_2_power
134 pv_total: sensor.inverters_input_power
135 environment_temp: sensor.<your_location>_temp
136 remaining_solar: sensor.energy_production_today_remaining
137 pv1_voltage_109: sensor.inverter_pv_1_voltage
138 pv1_current_110: sensor.inverter_pv_1_current
139 pv2_voltage_111: sensor.inverter_pv_2_voltage
140 pv2_current_112: sensor.inverter_pv_2_current
141 pv3_voltage_113: sensor.inverter_pv_1_voltage_2
142 pv3_current_114: sensor.inverter_pv_1_current_2
143 pv4_voltage_115: sensor.inverter_pv_2_voltage_2
144 pv4_current_116: sensor.inverter_pv_2_current_2
145 battery_voltage_183: sensor.batteries_bus_voltage
146 battery_soc_184: sensor.batteries_state_of_capacity
147 battery_power_190: sensor.batteries_charge_discharge_power
148 battery_current_191: sensor.batteries_bus_current
149 battery_temp_182: sensor.batteries_temperature
150 battery_status: sensor.batteries_status
151 essential_power: sensor.house_consumption_power_less_aux_non_essential
152 essential_load1: sensor.lights_all_active_power
153 essential_load2: sensor.gpo_all_active_power_less_known
154 essential_load1_extra: null
155 essential_load2_extra: null
156 load_power_L1: sensor.shelly3em_phase_a_gpo_power
157 load_power_L2: sensor.shelly3em_phase_b_gpo_power
158 load_power_L3: sensor.shelly3em_phase_c_gpo_power
159 nonessential_power: sensor.sunsynk_card_non_essential_active_power
160 non_essential_load1: sensor.hvac_active_power
161 non_essential_load2: sensor.ev_charger_active_power
162 grid_ct_power_172: sensor.power_meter_phase_a_active_power
163 grid_ct_power_L2: sensor.power_meter_phase_b_active_power
164 grid_ct_power_L3: sensor.power_meter_phase_c_active_power
165 grid_ct_power_total: sensor.power_meter_active_power
166 grid_connected_status_194: sensor.inverters_off_grid_status
167 aux_power_166: sensor.sunsynk_card_aux_active_power
168 aux_connected_status: binary_sensor.sunsynk_card_aux_connected_status
169 energy_cost_buy: sensor.electricity_price
170 energy_cost_sell: sensor.electricity_fit
171 solar_sell_247: switch.null
172 aux_load1: sensor.it_hardware_network_active_power
173 aux_load2: sensor.it_hardware_servers_active_power
174 aux_load1_extra: sensor.env_network_rack_bme280_temperature
175 aux_load2_extra: sensor.garage_controller_bme280_temperature
176 grid_voltage: sensor.power_meter_voltage