feat: change solix power delivery to cower usage on all 3 phases

This commit is contained in:
Dominik Polakovics Polakovics 2026-04-29 11:51:46 +02:00
parent bebb1f82a7
commit 7e3556d685

View file

@ -65,14 +65,20 @@
}; };
# Zero-export grid balancing automation # Zero-export grid balancing automation
# Adjusts Solarbank output every 30s to drive grid import on phase C toward 0W # Adjusts Solarbank output to drive net grid import (sum of all 3 phases) toward 0W
"automation solarbank zero export" = { "automation solarbank zero export" = {
alias = "Solarbank Zero Export"; alias = "Solarbank Zero Export";
mode = "single"; mode = "single";
trigger = { trigger = [
platform = "state"; {
entity_id = "sensor.shellyem3_485519d792a7_channel_c_power"; platform = "state";
}; entity_id = [
"sensor.shellyem3_485519d792a7_channel_a_power"
"sensor.shellyem3_485519d792a7_channel_b_power"
"sensor.shellyem3_485519d792a7_channel_c_power"
];
}
];
condition = [ condition = [
{ {
condition = "not"; condition = "not";
@ -98,7 +104,7 @@
action = [ action = [
{ {
variables = { variables = {
grid_power = "{{ states('sensor.shellyem3_485519d792a7_channel_c_power') | float(0) }}"; grid_power = "{{ (states('sensor.shellyem3_485519d792a7_channel_a_power') | float(0)) + (states('sensor.shellyem3_485519d792a7_channel_b_power') | float(0)) + (states('sensor.shellyem3_485519d792a7_channel_c_power') | float(0)) }}";
current_output = "{{ states('number.solarbank_3_e2700_pro_system_output_preset') | float(0) }}"; current_output = "{{ states('number.solarbank_3_e2700_pro_system_output_preset') | float(0) }}";
}; };
} }