AutomationDataset/ha-puzzles/automation-descriptions.json

535 lines
80 KiB
JSON

[
{
"id": "'Heimspeicher: Erhaltungsladung starten'",
"result": {
"structured": "TRIGGER: When battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] OR battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc] remains below 8% for 5 minutes. CONDITIONS: None. ACTIONS: Turn on pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active]. IF pv battery target soc helper [input_number.helper_pv_battery_target_soc] is below 30, THEN set pv battery target soc helper [input_number.helper_pv_battery_target_soc] to 30. Select option 'Netzladen' for pv battery mode helper [input_select.helper_pv_battery_mode]. Send notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'Niedriger Speicher SOC.' and a message containing the current state of charge values.",
"natural_language": {
"trigger": "When either the battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] or the battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc] stays below 8% for at least five minutes.",
"conditions": "There are no conditions that must be met for the actions to run.",
"action": "The automation turns on the pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active]. It then checks if the pv battery target soc helper [input_number.helper_pv_battery_target_soc] is set below 30, and if so, sets it to 30 to ensure a sufficient target state of charge. Next, it changes the battery mode to 'Netzladen' (grid charging) via the pv battery mode helper [input_select.helper_pv_battery_mode]. Finally, it sends a notification to the mobile app companion [notify.mobile_app_<companion_app_device_name>] alerting the user about the low battery state of charge and the start of the maintenance charge."
},
"human_like": "Starts a grid-based maintenance charge for the battery storage system when the state of charge of any module falls critically low, ensuring the batteries are not damaged.",
"complexity": "medium"
}
},
{
"id": "'Heimspeicher: Erhaltungsladung stoppen'",
"result": {
"structured": "TRIGGER: When battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] OR battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc] rises above 20%. CONDITIONS: pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active] is on AND battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] is above 20% AND battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc] is above 20%. ACTIONS: Turn off pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active] AND set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'.",
"natural_language": {
"trigger": "When the state of charge for either battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] or battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc] goes above 20 percent.",
"conditions": "The helper switch for minimum battery charge, pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active], must be turned on. Additionally, the state of charge for both individual batteries, battery 1 1 soc sensor [sensor.sofar_battery_1_1_soc] and battery 1 2 soc sensor [sensor.sofar_battery_1_2_soc], must be above 20 percent.",
"action": "Deactivates the minimum charge mode by turning off the pv battery mincharge active helper [input_boolean.helper_pv_battery_mincharge_active] and changes the battery operating mode back to 'Automatic charging and discharging' by setting the pv battery mode helper [input_select.helper_pv_battery_mode] accordingly."
},
"human_like": "Stops the battery's minimum charge preservation mode and switches back to automatic operation once both batteries have charged above 20%.",
"complexity": "medium"
}
},
{
"id": "'EVCC: Aktualisere Min Soc des Fahrzeuges am Loadpoint'",
"result": {
"structured": "TRIGGER: When evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] changes state OR evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] changes state OR evcc vehicle 1 min soc [number.evcc_vehicle_1_min_soc] changes state. CONDITIONS: None. ACTIONS: First, set the value of evcc lp 1 vehicle min soc 2 helper [input_number.helper_evcc_lp_1_vehicle_min_soc_2] AND evcc lp 2 vehicle min soc helper [input_number.helper_evcc_lp_2_vehicle_min_soc] to 0. Then, if evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] equals evcc vehicle 1 name sensor [sensor.evcc_vehicle_1_name], set evcc lp 1 vehicle min soc helper [input_number.helper_evcc_lp_1_vehicle_min_soc] to the integer value of evcc vehicle 1 min soc [number.evcc_vehicle_1_min_soc]; otherwise, if evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] equals evcc vehicle 2 name sensor [sensor.evcc_vehicle_2_name], set evcc lp 1 vehicle min soc helper [input_number.helper_evcc_lp_1_vehicle_min_soc] to the integer value of evcc vehicle 2 min soc [number.evcc_vehicle_2_min_soc]. Finally, if evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] equals evcc vehicle 1 name sensor [sensor.evcc_vehicle_1_name], set evcc lp 2 vehicle min soc helper [input_number.helper_evcc_lp_2_vehicle_min_soc] to the integer value of evcc vehicle 1 min soc [number.evcc_vehicle_1_min_soc]; otherwise, if evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] equals evcc vehicle 2 name sensor [sensor.evcc_vehicle_2_name], set evcc lp 2 vehicle min soc helper [input_number.helper_evcc_lp_2_vehicle_min_soc] to the integer value of evcc vehicle 2 min soc [number.evcc_vehicle_2_min_soc].",
"natural_language": {
"trigger": "This automation runs whenever there is a change in the state of the evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected], the evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected], or the evcc vehicle 1 min soc [number.evcc_vehicle_1_min_soc].",
"conditions": "There are no conditions that must be met for the actions to run.",
"action": "First, it sets two helper values, evcc lp 1 vehicle min soc 2 helper [input_number.helper_evcc_lp_1_vehicle_min_soc_2] and evcc lp 2 vehicle min soc helper [input_number.helper_evcc_lp_2_vehicle_min_soc], to zero. Then, for the first loadpoint, it checks which vehicle is connected. If the vehicle name reported by evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] matches the name of vehicle 1 [sensor.evcc_vehicle_1_name], it updates the helper evcc lp 1 vehicle min soc helper [input_number.helper_evcc_lp_1_vehicle_min_soc] with the minimum state of charge value from vehicle 1 [number.evcc_vehicle_1_min_soc]. If it matches vehicle 2 [sensor.evcc_vehicle_2_name], it uses the minimum state of charge value from vehicle 2 [number.evcc_vehicle_2_min_soc] instead. A similar process is performed for the second loadpoint: it checks the connected vehicle name via evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] and updates the helper evcc lp 2 vehicle min soc helper [input_number.helper_evcc_lp_2_vehicle_min_soc] with the corresponding vehicle's minimum state of charge value."
},
"human_like": "Updates the minimum state of charge target for each EV charging loadpoint based on which vehicle is currently connected.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Erlaube die de-prioritisierte Ladung des Speichers",
"result": {
"structured": "TRIGGER: When the state of evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] OR evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] changes. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on AND speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is on. ACTIONS: Choose based on the following conditions: IF (evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] is on OR evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] is on) THEN set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'. ELSE IF (evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] is off AND evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] is off) THEN set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Nur Entladen'. Finally, execute script speicheroptimierung evcc priority soc aktualisieren script [script.speicheroptimierung_evcc_priority_soc_aktualisieren].",
"natural_language": {
"trigger": "When the charging status of either the evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] or the evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] changes.",
"conditions": "The battery optimization feature must be enabled, meaning the speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on, and delayed battery charging must be active, meaning the speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is also on.",
"action": "If at least one of the charging points is currently active, the automation will allow the battery to be charged with surplus power by setting the pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'. If neither charging point is active, it will prevent further battery charging by setting the mode to 'Nur Entladen'. Finally, it runs a script to update the priority state of charge for the EVCC system."
},
"human_like": "Optimizes self-consumption by allowing the battery to be charged with surplus solar power while an electric vehicle is charging, but prevents battery charging when no vehicle is plugged in.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: EVCC Priority SoC Aktualisieren, wenn Ladeverzögerung",
"result": {
"structured": "TRIGGER: When speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] changes state OR When speicheroptimierung limit soc grenze helper [input_number.helper_speicheroptimierung_limit_soc_grenze] changes state AND remains stable for 5 seconds. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on. ACTIONS: Execute script speicheroptimierung evcc priority soc aktualisieren script [script.speicheroptimierung_evcc_aktualisieren].",
"natural_language": {
"trigger": "The automation triggers either when the delayed charging status changes, represented by the helper 'speicheroptimierung verzoegertes laden aktiv helper' [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv], or when the charging limit threshold, 'speicheroptimierung limit soc grenze helper' [input_number.helper_speicheroptimierung_limit_soc_grenze], changes and then remains stable for five seconds.",
"conditions": "The automation only runs if the main optimization switch, 'speicheroptimierung ein helper' [input_boolean.helper_speicheroptimierung_ein], is turned on.",
"action": "It runs the script 'speicheroptimierung evcc priority soc aktualisieren script' [script.speicheroptimierung_evcc_priority_soc_aktualisieren] to update the EVCC priority state of charge."
},
"human_like": "Updates the EVCC charging priority when the delayed charging status or the charge limit threshold changes, but only if the overall storage optimization is active.",
"complexity": "medium"
}
},
{
"id": "'iGo: Helper aus: Smartes Laden ausschalten'",
"result": {
"structured": "TRIGGER: When intelligent go helper [input_boolean.helper_intelligent_go] changes from on to off. CONDITIONS: None. ACTIONS: Execute igo smartes laden ausschalten script [script.igo_smartes_laden_ausschalten].",
"natural_language": {
"trigger": "When the intelligent go helper [input_boolean.helper_intelligent_go] is turned off.",
"conditions": "There are no conditions that need to be met.",
"action": "Runs the script named igo smartes laden ausschalten script [script.igo_smartes_laden_ausschalten]."
},
"human_like": "Turns off smart charging when the 'Intelligent Go' helper is disabled.",
"complexity": "low"
}
},
{
"id": "'iGo: Helper ein: Nachts Smartes Laden einschalten'",
"result": {
"structured": "TRIGGER: When intelligent go helper [input_boolean.helper_intelligent_go] changes from off to on. CONDITIONS: The current time is after sunset AND before sunrise. ACTIONS: Execute the igo smartes laden einschalten script [script.igo_smartes_laden_einschalten].",
"natural_language": {
"trigger": "When the intelligent go helper [input_boolean.helper_intelligent_go] is turned on.",
"conditions": "The automation only runs if it is nighttime, meaning the current time is after sunset and before sunrise.",
"action": "Runs the 'igo smartes laden einschalten' script [script.igo_smartes_laden_einschalten]."
},
"human_like": "Activates smart charging at night when the 'Intelligent Go' helper is turned on.",
"complexity": "low"
}
},
{
"id": "'iGo: Sonnenaufgang: Smartes Laden ausschalten'",
"result": {
"structured": "TRIGGER: When sunrise occurs with a 30-minute offset. CONDITIONS: None. ACTIONS: Execute the igo smartes laden ausschaltenscript [script.igo_smartes_laden_ausschalten].",
"natural_language": {
"trigger": "When the sun rises, but delayed by 30 minutes.",
"conditions": "There are no conditions that need to be met.",
"action": "Runs the script named 'igo smartes laden ausschalten' [script.igo_smartes_laden_ausschalten]."
},
"human_like": "Turns off smart charging 30 minutes after sunrise.",
"complexity": "low"
}
},
{
"id": "'iGo: Sonnenuntergang: Smartes Laden einschalten, falls gewünscht'",
"result": {
"structured": "TRIGGER: At sunset. CONDITIONS: intelligent go helper [input_boolean.helper_intelligent_go] is on. ACTIONS: Execute igo smartes laden einschalten script [script.igo_smartes_laden_einschalten].",
"natural_language": {
"trigger": "At sunset.",
"conditions": "If the intelligent go helper [input_boolean.helper_intelligent_go] is switched on.",
"action": "Runs the igo smartes laden einschalten script [script.igo_smartes_laden_einschalten]."
},
"human_like": "Activates smart charging at sunset, but only if the intelligent charging feature is enabled.",
"complexity": "low"
}
},
{
"id": "'Speicheroptimierung: Ladegrenze monitoren und einstellen.'",
"result": {
"structured": "TRIGGER: When speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] changes state OR When speicheroptimierung limit soc grenze helper [input_number.helper_speicheroptimierung_limit_soc_grenze] changes state. CONDITIONS: (speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on) AND (speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is off) AND (speicheroptimierung limit ein helper [input_boolean.helper_speicheroptimierung_limit_ein] is on) AND (NOT (pv battery mode helper [input_select.helper_pv_battery_mode] is Netzladen)) AND (solcast pv forecast forecast tomorrow sensor [sensor.solcast_pv_forecast_forecast_tomorrow] is above speicheroptimierung limit guter tag prognose helper [input_number.helper_speicheroptimierung_limit_guter_tag_prognose]) AND (speicheroptimierung batterie nicht voll zahler helper [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler] is less than speicheroptimierung batterie ladelimit max tage helper [input_number.helper_speicheroptimierung_batterie_ladelimit_max_tage]). ACTIONS: Choose based on condition: IF (speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] is greater than or equal to speicheroptimierung limit soc grenze helper [input_number.helper_speicheroptimierung_limit_soc_grenze]) THEN set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Nur Entladen' AND run script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with a notification message. ELSE IF (speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] is less than speicheroptimierung limit soc grenze helper [input_number.helper_speicheroptimierung_limit_soc_grenze]) THEN set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen' AND run script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with a notification message (but this action is disabled).",
"natural_language": {
"trigger": "The automation triggers when the battery state of charge sensor [sensor.helper_speicheroptimierung_bat_soc] changes, or when the configured charge limit threshold [input_number.helper_speicheroptimierung_limit_soc_grenze] changes.",
"conditions": "All of the following must be true: the overall optimization feature [input_boolean.helper_speicheroptimierung_ein] is enabled; delayed charging [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is not active; the charge limit feature [input_boolean.helper_speicheroptimierung_limit_ein] is enabled; the battery mode [input_select.helper_pv_battery_mode] is not set to 'Netzladen'; the solar forecast for tomorrow [sensor.solcast_pv_forecast_forecast_tomorrow] is above a defined good-day threshold [input_number.helper_speicheroptimierung_limit_guter_tag_prognose]; and the number of days the battery has not been fully charged [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler] is still less than the maximum allowed days without a full charge [input_number.helper_speicheroptimierung_batterie_ladelimit_max_tage].",
"action": "Depending on the current battery level, the automation takes one of two paths. If the battery state of charge is at or above the defined limit, it switches the battery mode to 'Nur Entladen' (discharge only) and sends a notification confirming the limit has been reached. If the battery state of charge falls below the limit, it switches the battery mode back to 'Automatisches Laden und Entladen' (automatic charge and discharge); a notification for this event is configured but is currently disabled."
},
"human_like": "This automation manages battery charging limits to preserve battery health, preventing charging above a set level on days with good solar forecasts while allowing normal operation when the charge level drops.",
"complexity": "high"
}
},
{
"id": "'Speicheroptimierung: Laden verzögern bei Erreichen von Ladeabschaltungslimit.'",
"result": {
"structured": "TRIGGER: When the battery state of charge (sensor.helper_speicheroptimierung_bat_soc) is greater than or equal to the set charge deactivation threshold (input_number.helper_speicheroptimierung_soc_laden_deaktivieren) AND remains so for 1 minute. OR When the optimization switch (input_boolean.helper_speicheroptimierung_ein) turns from off to on. CONDITIONS: The optimization switch (input_boolean.helper_speicheroptimierung_ein) must be on. AND The remaining solar forecast for today (sensor.solcast_pv_forecast_forecast_remaining_today) must be greater than or equal to the current remaining energy (sensor.helper_speicheroptimierung_restenergie_aktuell) plus 1. AND Today's total solar forecast (sensor.solcast_pv_forecast_forecast_today) must be above the good day forecast limit (input_number.helper_speicheroptimierung_limit_guter_tag_prognose). AND The battery mode (input_select.helper_pv_battery_mode) must NOT be 'Netzladen'. ACTIONS: If there is no battery read error (input_boolean.helper_speicheroptimierung_battery_lesefehler is off), then: Turn on the delayed charging flag (input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv). Set the battery mode (input_select.helper_pv_battery_mode) to 'Nur Entladen'. Trigger the related automation (automation.speicheroptimierung_erlaube_die_de_prioritisierte_ladung_des_speichers_wahrend_verzogertem_speicherladen_wenn_ein_auto_geladen_wird_um_den_eigenverbrauch_zu_optimieren) with conditions skipped. Send a notification (script.speicheroptimierung_benachrichtigung) with status details. If there is a battery read error (input_boolean.helper_speicheroptimierung_battery_lesefehler is on), then: Send an error notification (script.speicheroptimierung_benachrichtigung).",
"natural_language": {
"trigger": "This automation triggers in two ways. First, when the battery's state of charge, monitored by sensor.helper_speicheroptimierung_bat_soc, reaches or exceeds a user-defined limit set on input_number.helper_speicheroptimierung_soc_laden_deaktivieren and stays there for one minute. Second, when the main optimization switch, input_boolean.helper_speicheroptimierung_ein, is manually turned on.",
"conditions": "For the automation to proceed, several conditions must be met. The main optimization switch, input_boolean.helper_speicheroptimierung_ein, must be in the 'on' state. The remaining solar energy forecast for the day, from sensor.solcast_pv_forecast_forecast_remaining_today, must be at least 1 kWh greater than the current calculated remaining energy from sensor.helper_speicheroptimierung_restenergie_aktuell. The total solar forecast for today, from sensor.solcast_pv_forecast_forecast_today, must be high enough to be considered a 'good solar day', meaning it's above the threshold set in input_number.helper_speicheroptimierung_limit_guter_tag_prognose. Finally, the current battery operating mode, input_select.helper_pv_battery_mode, must not be set to 'Netzladen' (Grid Charging).",
"action": "The automation first checks if a battery sensor read error has been flagged via input_boolean.helper_speicheroptimierung_battery_lesefehler. If no error is present, it activates delayed battery charging by turning on input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv and changes the battery mode to 'Nur Entladen' (Discharge Only) via input_select.helper_pv_battery_mode. It then triggers a related automation to manage car charging during this period and sends a notification with the current battery status and forecast. If a battery read error is detected, the automation aborts the main process and instead sends an error notification alerting the user to the sensor issue."
},
"human_like": "Delays home battery charging when the battery is sufficiently full and a sunny day is forecast, to save solar energy for later use, while preventing action if a sensor error occurs.",
"complexity": "high"
}
},
{
"id": "'Heimspeicher: Manuelle Ladung abgeschlossen'",
"result": {
"structured": "TRIGGER: When sofar battery capacity total sensor [sensor.sofar_battery_capacity_total] value is greater than or equal to pv battery target soc helper [input_number.helper_pv_battery_target_soc] value. CONDITIONS: pv battery mode helper [input_select.helper_pv_battery_mode] is set to 'Netzladen'. ACTIONS: If pv battery target soc helper [input_number.helper_pv_battery_target_soc] value equals 100, then wait for 15 minutes. Then, set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'. Finally, send a notification to mobile app pixel 8 [notify.mobile_app_pixel_8] with the title 'Heimspeicher Ladung fertig.' and a message stating the battery charge has been completed at the current capacity percentage.",
"natural_language": {
"trigger": "When the total battery capacity sensor [sensor.sofar_battery_capacity_total] reaches or exceeds the target state of charge set in the helper [input_number.helper_pv_battery_target_soc].",
"conditions": "The battery mode helper [input_select.helper_pv_battery_mode] must be set to 'Netzladen' (grid charging).",
"action": "If the target state of charge is set to 100%, the automation waits for 15 minutes to allow the battery to fully charge and balance its cells. Then, it switches the battery mode to 'Automatisches Laden und Entladen' (automatic charging and discharging) and sends a notification to the mobile device [notify.mobile_app_pixel_8] confirming the home battery charge is complete, including the current battery percentage."
},
"human_like": "Completes a manual grid charge of the home battery when the target charge level is reached, waits if the target is 100%, then switches back to automatic mode and sends a notification.",
"complexity": "medium"
}
},
{
"id": "'LP1: Bei Bedarf Fahrzeugladegrenze erhöhen'",
"result": {
"structured": "TRIGGER: When evcc lp 1 effective limit soc sensor [sensor.evcc_lp_1_effective_limit_soc] OR evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] changes state AND remains stable for 5 seconds. CONDITIONS: None. ACTIONS: Choose based on condition: IF evcc vehicle 1 name sensor [sensor.evcc_vehicle_1_name] equals evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] THEN run tesla ladegrenze bei bedarf erhohen script [script.tesla_ladegrenze_bei_bedarf_erhohen] with desired_limit_soc set to the current state of evcc lp 1 effective limit soc sensor [sensor.evcc_lp_1_effective_limit_soc]. OTHERWISE IF evcc vehicle 2 name sensor [sensor.evcc_vehicle_2_name] equals evcc lp 1 vehicle name sensor [sensor.evcc_lp_1_vehicle_name] THEN run hyundai ladegrenze bei bedarf erhohen script [script.hyundai_ladegrenze_bei_bedarf_erhohen] with desired_limit_soc set to the current state of evcc lp 1 effective limit soc sensor [sensor.evcc_lp_1_effective_limit_soc].",
"natural_language": {
"trigger": "When either the effective charge limit state of charge sensor [sensor.evcc_lp_1_effective_limit_soc] or the vehicle name sensor for charging point 1 [sensor.evcc_lp_1_vehicle_name] changes and remains stable for five seconds.",
"conditions": "There are no global conditions.",
"action": "The automation checks which vehicle is connected to the charging point. If the vehicle name reported for charging point 1 matches the name of Vehicle 1, it runs a script to adjust the Tesla's charge limit. If it matches the name of Vehicle 2, it runs a script to adjust the Hyundai's charge limit. In both cases, the target charge limit is set to the current effective limit value from the sensor."
},
"human_like": "Automatically adjusts the charge limit for the specific electric vehicle connected to charging point 1 when the target limit or the vehicle identity changes.",
"complexity": "medium"
}
},
{
"id": "'LP1: iGo: EVCC auf ''Schnell'': Sofort starten'",
"result": {
"structured": "TRIGGER: When evcc lp 1 mode select [select.evcc_lp_1_mode] changes state to 'now'. CONDITIONS: (intelligent go helper [input_boolean.helper_intelligent_go] is off) OR (the current time is after sunrise AND before sunset). ACTIONS: Execute script tesla ladevorgang starten [script.tesla_ladevorgang_starten] AND execute script igo smartes laden ausschalten [script.igo_smartes_laden_ausschalten].",
"natural_language": {
"trigger": "When the charging mode for the charging point (evcc lp 1 mode select [select.evcc_lp_1_mode]) is switched to 'now'.",
"conditions": "Either the 'intelligent go helper' [input_boolean.helper_intelligent_go] is turned off, or it is daytime (after sunrise and before sunset). This ensures the automation does not conflict with 'Intelligent Go' charging at night.",
"action": "Start the Tesla charging process by running the 'tesla ladevorgang starten' [script.tesla_ladevorgang_starten] script, and then turn off smart charging by running the 'igo smartes laden ausschalten' [script.igo_smartes_laden_ausschalten] script."
},
"human_like": "Immediately starts Tesla charging and disables smart charging when the charging point is set to 'Schnell' (fast) mode, but only if it's daytime or the 'Intelligent Go' helper is off.",
"complexity": "medium"
}
},
{
"id": "'LP1: iGo: Smartcharging endet.'",
"result": {
"structured": "TRIGGER: When octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] changes to off. CONDITIONS: intelligent go helper [input_boolean.helper_intelligent_go] is on. ACTIONS: Set evcc lp 1 mode select [select.evcc_lp_1_mode] to option 'pv'. Send a notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Ladevorgang beendet' and message 'Die Zeit für Smartcharging wurde beendet.'.",
"natural_language": {
"trigger": "When the octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] turns off, indicating the smart charging time has ended.",
"conditions": "The intelligent go helper [input_boolean.helper_intelligent_go] must be switched on.",
"action": "The automation switches the charging point's mode back to surplus charging by setting the evcc lp 1 mode select [select.evcc_lp_1_mode] to 'pv'. It also sends a notification to the mobile app companion [notify.mobile_app_<companion_app_device_name>] with the title 'iGo: Ladevorgang beendet' and the message 'Die Zeit für Smartcharging wurde beendet.'."
},
"human_like": "Ends the smart charging session and switches the EV charger back to solar surplus mode, sending a notification when the scheduled time is over.",
"complexity": "low"
}
},
{
"id": "'LP1: iGo: Smartcharging startet'",
"result": {
"structured": "TRIGGER: When octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] turns on. CONDITIONS: intelligent go helper [input_boolean.helper_intelligent_go] is on. ACTIONS: Set evcc lp 1 mode select [select.evcc_lp_1_mode] to option 'now' AND Send a notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Smartcharging gestartet' and message 'Smartcharging wurde gestartet.'.",
"natural_language": {
"trigger": "When the octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] changes its state to on, indicating the scheduled time for smart charging has begun.",
"conditions": "The intelligent go helper [input_boolean.helper_intelligent_go] must be switched on, confirming that smart charging is enabled in Home Assistant.",
"action": "The automation sets the evcc lp 1 mode select [select.evcc_lp_1_mode] to 'now' to allow immediate charging, and sends a notification to the mobile app companion [notify.mobile_app_<companion_app_device_name>] to inform the user that smart charging has started."
},
"human_like": "Starts smart charging and notifies the user when the scheduled charging window from Octopus begins, provided the feature is enabled.",
"complexity": "low"
}
},
{
"id": "'LP1: iGo: Tagsüber: Überprüfe ob Ladevorgang gestartet wurde'",
"result": {
"structured": "TRIGGER: When evcc lp 1 enabled sensor [binary_sensor.evcc_lp_1_enabled] changes from off to on AND remains on for 3 minutes. CONDITIONS: (sensor.evcc_lp_1_vehicle_soc [sensor.evcc_lp_1_vehicle_soc] is below 100) AND (evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] is on) AND (evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] is off) AND (evcc lp 1 mode select [select.evcc_lp_1_mode] is pv OR evcc lp 1 mode select [select.evcc_lp_1_mode] is minpv OR evcc lp 1 mode select [select.evcc_lp_1_mode] is now) AND (intelligent go helper [input_boolean.helper_intelligent_go] is off OR (sun is after sunrise AND before sunset)). ACTIONS: Execute script igo smartes laden ausschalten [script.igo_smartes_laden_ausschalten], execute script tesla ladevorgang starten [script.tesla_ladevorgang_starten], send notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Ladevorgang nicht gestartet' and message 'Der Ladevorgang ist nicht automatisch gestartet. Wurde nochmals im Tesla gestartet.'.",
"natural_language": {
"trigger": "The automation triggers when the charging point is enabled (the evcc lp 1 enabled sensor [binary_sensor.evcc_lp_1_enabled] changes from off to on) and stays enabled for at least three minutes.",
"conditions": "Several conditions must be met: The vehicle's state of charge [sensor.evcc_lp_1_vehicle_soc] must be below 100% to prevent triggering when the vehicle stops charging at full battery. A vehicle must be connected to the charging point, as indicated by the evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] being on. However, the vehicle must not have started charging, so the evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] must be off. The charging mode [select.evcc_lp_1_mode] must be set to either 'pv' (solar), 'minpv' (minimum solar), or 'now' (fast). Finally, either the 'Intelligent Go' helper [input_boolean.helper_intelligent_go] is turned off, or it is currently daytime (after sunrise and before sunset).",
"action": "The automation performs three actions: It runs the script to turn off smart charging [script.igo_smartes_laden_ausschalten], runs the script to start the Tesla charging process [script.tesla_ladevorgang_starten], and sends a notification to the mobile app [notify.mobile_app_<companion_app_device_name>] with the title 'iGo: Ladevorgang nicht gestartet' and a message stating that charging did not start automatically and was restarted in the Tesla."
},
"human_like": "This automation detects when a charging session at the EV charging point has been enabled for a few minutes but the vehicle hasn't started charging, and then manually restarts the charging process and sends a notification.",
"complexity": "medium"
}
},
{
"id": "'LP1: iGo: Tagsüber: Ladevorgang unterbrochen'",
"result": {
"structured": "TRIGGER: When evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] changes from on to off AND remains off for 3 minutes. CONDITIONS: (evcc lp 1 vehicle soc sensor [sensor.evcc_lp_1_vehicle_soc] is below 100) AND (evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] is on) AND (evcc lp 1 enabled sensor [binary_sensor.evcc_lp_1_enabled] is on) AND ((evcc lp 1 mode select [select.evcc_lp_1_mode] is pv) OR (evcc lp 1 mode select [select.evcc_lp_1_mode] is minpv) OR (evcc lp 1 mode select [select.evcc_lp_1_mode] is now)) AND ((intelligent go helper [input_boolean.helper_intelligent_go] is off) OR (the current time is after sunrise AND before sunset)). ACTIONS: Execute script igo smartes laden ausschalten [script.igo_smartes_laden_ausschalten], execute script tesla ladevorgang starten [script.tesla_ladevorgang_starten], send a notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Ladevorgang unterbrochen' and message 'Der Ladevorgang wurde vom Tesla unterbrochen. Er wurde neu gestartet.'.",
"natural_language": {
"trigger": "When the evcc lp 1 charging sensor [binary_sensor.evcc_lp_1_charging] stops reporting an active charge and remains in the 'off' state for at least three minutes.",
"conditions": "The vehicle's state of charge [sensor.evcc_lp_1_vehicle_soc] must be less than 100%, a vehicle must be connected to the charging point [binary_sensor.evcc_lp_1_connected], the charging point itself must be enabled [binary_sensor.evcc_lp_1_enabled], and the charging mode [select.evcc_lp_1_mode] must be set to either 'pv', 'minpv', or 'now'. Additionally, either the 'Intelligent Go' helper [input_boolean.helper_intelligent_go] is turned off, or it is currently daytime (between sunrise and sunset).",
"action": "The automation runs two scripts: first, the 'igo smartes laden ausschalten' [script.igo_smartes_laden_ausschalten] script, and then the 'tesla ladevorgang starten' [script.tesla_ladevorgang_starten] script. Finally, it sends a notification to the mobile app [notify.mobile_app_<companion_app_device_name>] to inform the user that the charging session was interrupted by the Tesla and has been restarted."
},
"human_like": "This automation detects when a Tesla charging session is interrupted during the day (or when smart charging is off) and automatically restarts it, notifying the user.",
"complexity": "medium"
}
},
{
"id": "'LP2: Bei Bedarf Fahrzeugladegrenze erhöhen'",
"result": {
"structured": "TRIGGER: When evcc lp 2 effective limit soc sensor [sensor.evcc_lp_2_effective_limit_soc] OR evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] changes state AND remains stable for 5 seconds. CONDITIONS: None. ACTIONS: Choose based on condition: IF evcc vehicle 1 name sensor [sensor.evcc_vehicle_1_name] equals evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] THEN run tesla ladegrenze bei bedarf erhohen script [script.tesla_ladegrenze_bei_bedarf_erhohen] with desired_limit_soc set to the current state of evcc lp 2 effective limit soc sensor [sensor.evcc_lp_2_effective_limit_soc]. OTHERWISE IF evcc vehicle 2 name sensor [sensor.evcc_vehicle_2_name] equals evcc lp 2 vehicle name sensor [sensor.evcc_lp_2_vehicle_name] THEN run hyundai ladegrenze bei bedarf erhohen script [script.hyundai_ladegrenze_bei_bedarf_erhohen] with desired_limit_soc set to the current state of evcc lp 2 effective limit soc sensor [sensor.evcc_lp_2_effective_limit_soc].",
"natural_language": {
"trigger": "When either the effective charge limit sensor [sensor.evcc_lp_2_effective_limit_soc] or the vehicle name sensor [sensor.evcc_lp_2_vehicle_name] for charging point 2 changes and the new state remains stable for five seconds.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation checks which vehicle is connected to the charging point. If the connected vehicle name matches the name of vehicle 1 [sensor.evcc_vehicle_1_name], it runs a script to adjust the Tesla's charge limit, passing the new desired limit from the sensor. If the connected vehicle name matches the name of vehicle 2 [sensor.evcc_vehicle_2_name], it runs a different script to adjust the Hyundai's charge limit, also passing the new desired limit."
},
"human_like": "Automatically adjusts the charge limit for the specific electric vehicle connected to charging point 2 when its target limit or name changes.",
"complexity": "medium"
}
},
{
"id": "'LP2: iGo: EVCC auf ''Schnell'': Sofort starten'",
"result": {
"structured": "TRIGGER: When evcc lp 2 mode select [select.evcc_lp_2_mode] changes state to 'now'. CONDITIONS: (intelligent go helper [input_boolean.helper_intelligent_go] is off) OR (the sun is above the horizon, i.e., after sunrise and before sunset). ACTIONS: Execute script tesla ladevorgang starten script [script.tesla_ladevorgang_starten] AND execute script igo smartes laden ausschalten script [script.igo_smartes_laden_ausschalten].",
"natural_language": {
"trigger": "When the charging mode for the charging point is switched to 'Schnell' (now).",
"conditions": "Either the intelligent go helper [input_boolean.helper_intelligent_go] is turned off, or it is daytime (after sunrise and before sunset). This ensures the automation does not conflict with smart charging at night when Intelligent Go is active.",
"action": "Start the Tesla charging process by running the tesla ladevorgang starten script [script.tesla_ladevorgang_starten] and turn off smart charging by running the igo smartes laden ausschalten script [script.igo_smartes_laden_ausschalten]."
},
"human_like": "Starts Tesla charging immediately and disables smart charging when the charging point is set to 'Schnell' mode, but only during the day or if the Intelligent Go helper is off.",
"complexity": "medium"
}
},
{
"id": "'LP2: iGo: Smartcharging endet.'",
"result": {
"structured": "TRIGGER: When octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] changes state to off. CONDITIONS: intelligent go helper [input_boolean.helper_intelligent_go] is on. ACTIONS: Set evcc lp 2 mode select [select.evcc_lp_2_mode] to option 'pv'. Send a notification titled 'iGo: Ladevorgang beendet' with message 'Die Zeit für Smartcharging wurde beendet.' to mobile app companion [notify.mobile_app_<companion_app_device_name>].",
"natural_language": {
"trigger": "When the octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] turns off, indicating the smart charging time has ended.",
"conditions": "The intelligent go helper [input_boolean.helper_intelligent_go] must be switched on.",
"action": "The automation changes the charging mode for the EVCC load point 2 back to surplus charging (PV) by setting the evcc lp 2 mode select [select.evcc_lp_2_mode] to 'pv'. It also sends a notification to the mobile app companion [notify.mobile_app_<companion_app_device_name>] with the title 'iGo: Ladevorgang beendet' and the message 'Die Zeit für Smartcharging wurde beendet.'."
},
"human_like": "Ends the smart charging session for the car, switches the charger back to surplus solar power mode, and sends a notification to your phone.",
"complexity": "low"
}
},
{
"id": "'LP2: iGo: Smartcharging startet'",
"result": {
"structured": "TRIGGER: When octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] changes to 'on'. CONDITIONS: intelligent go helper [input_boolean.helper_intelligent_go] is 'on'. ACTIONS: Set evcc lp 2 mode select [select.evcc_lp_2_mode] to option 'now' AND Send a notification titled 'iGo: Smartcharging gestartet' with message 'Smartcharging wurde gestartet.' to mobile app companion [notify.mobile_app_<companion_app_device_name>].",
"natural_language": {
"trigger": "When the octopus intelligent dispatching sensor [binary_sensor.octopus_a_<octopus_id>_intelligent_dispatching] indicates that the time for smart charging has started by turning on.",
"conditions": "If the intelligent go helper [input_boolean.helper_intelligent_go] is switched on, which allows smart charging to proceed.",
"action": "Sets the charging mode for the EVCC charging point to 'now' via the evcc lp 2 mode select [select.evcc_lp_2_mode] and sends a notification to the mobile app companion [notify.mobile_app_<companion_app_device_name>] with the title 'iGo: Smartcharging gestartet' and the message 'Smartcharging wurde gestartet.'"
},
"human_like": "Starts smart charging for the EVCC charging point and sends a notification when the intelligent dispatching schedule begins, provided the feature is enabled.",
"complexity": "low"
}
},
{
"id": "'LP2: iGo: Tagsüber: Überprüfe ob Ladevorgang gestartet wurde'",
"result": {
"structured": "TRIGGER: When evcc lp 2 enabled sensor [binary_sensor.evcc_lp_2_enabled] changes from off to on AND remains on for 3 minutes. CONDITIONS: (sensor.evcc_lp_2_vehicle_soc [sensor.evcc_lp_2_vehicle_soc] is below 100) AND (evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] is on) AND (evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] is off) AND (evcc lp 2 mode select [select.evcc_lp_2_mode] is pv OR evcc lp 2 mode select [select.evcc_lp_2_mode] is minpv OR evcc lp 2 mode select [select.evcc_lp_2_mode] is now) AND (intelligent go helper [input_boolean.helper_intelligent_go] is off OR the current time is between sunrise and sunset). ACTIONS: Run script igo smartes laden ausschalten [script.igo_smartes_laden_ausschalten], run script tesla ladevorgang starten [script.tesla_ladevorgang_starten], send a notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Ladevorgang nicht gestartet' and message 'Der Ladevorgang ist nicht automatisch gestartet. Wurde nochmals im Tesla gestartet.'.",
"natural_language": {
"trigger": "When the charging point is enabled (the evcc lp 2 enabled sensor [binary_sensor.evcc_lp_2_enabled] changes from off to on) and stays enabled for at least three minutes.",
"conditions": "The vehicle's state of charge [sensor.evcc_lp_2_vehicle_soc] must be below 100% to avoid triggering when the vehicle stops charging at full capacity. A vehicle must be connected to the charging point (evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] is on). The vehicle must not have started charging yet (evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] is off). The charging mode [select.evcc_lp_2_mode] must be set to either 'pv', 'minpv', or 'now'. Finally, either the 'Intelligent Go' helper [input_boolean.helper_intelligent_go] is turned off, or it is currently daytime (between sunrise and sunset).",
"action": "The automation will first run a script to turn off smart charging [script.igo_smartes_laden_ausschalten], then run a script to start the Tesla charging process [script.tesla_ladevorgang_starten]. Finally, it sends a notification to the mobile app [notify.mobile_app_<companion_app_device_name>] to inform the user that the charging process did not start automatically and has been manually restarted."
},
"human_like": "This automation detects when a charging session is enabled but the vehicle hasn't started charging after a few minutes, and then manually restarts the Tesla charging process, sending a notification to the user.",
"complexity": "medium"
}
},
{
"id": "'LP2: iGo: Tagsüber: Ladevorgang unterbrochen'",
"result": {
"structured": "TRIGGER: When evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] changes from on to off AND remains off for 3 minutes. CONDITIONS: (evcc lp 2 vehicle soc sensor [sensor.evcc_lp_2_vehicle_soc] is below 100) AND (evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] is on) AND (evcc lp 2 enabled sensor [binary_sensor.evcc_lp_2_enabled] is on) AND (evcc lp 2 mode select [select.evcc_lp_2_mode] is pv OR evcc lp 2 mode select [select.evcc_lp_2_mode] is minpv OR evcc lp 2 mode select [select.evcc_lp_2_mode] is now) AND (intelligent go helper [input_boolean.helper_intelligent_go] is off OR (sun is above horizon (after sunrise AND before sunset))). ACTIONS: Execute script igo smartes laden ausschalten [script.igo_smartes_laden_ausschalten], then execute script tesla ladevorgang starten [script.tesla_ladevorgang_starten], then send a notification to mobile app companion [notify.mobile_app_<companion_app_device_name>] with title 'iGo: Ladevorgang unterbrochen' and message 'Der Ladevorgang wurde vom Tesla unterbrochen. Er wurde neu gestartet.'.",
"natural_language": {
"trigger": "When the evcc lp 2 charging sensor [binary_sensor.evcc_lp_2_charging] stops reporting an active charging state and remains in the 'off' state for at least three minutes.",
"conditions": "The vehicle's state of charge [sensor.evcc_lp_2_vehicle_soc] must be below 100% to ensure the interruption is not due to a completed charge. A vehicle must be connected to the charging point [binary_sensor.evcc_lp_2_connected], and the charging point itself must be enabled [binary_sensor.evcc_lp_2_enabled]. The charging mode [select.evcc_lp_2_mode] must be set to either 'pv', 'minpv', or 'now'. Finally, either the 'intelligent go' helper [input_boolean.helper_intelligent_go] is turned off, or it is currently daytime (between sunrise and sunset).",
"action": "First, it runs the script to disable smart charging [script.igo_smartes_laden_ausschalten]. Then, it runs the script to restart the Tesla charging process [script.tesla_ladevorgang_starten]. Finally, it sends a notification to the mobile app [notify.mobile_app_<companion_app_device_name>] to inform the user that the charging process was interrupted by the Tesla and has been restarted."
},
"human_like": "Automatically restarts a Tesla charging session if it gets interrupted during the day, provided the car isn't fully charged and the charger is in an appropriate mode.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Täglicher Maximalwert schreiben'",
"result": {
"structured": "TRIGGER: When speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] changes state. CONDITIONS: speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] is above the value of speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] AND the current time is after sunrise. ACTIONS: Set the value of speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] to the current state of speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc].",
"natural_language": {
"trigger": "Whenever the battery state of charge sensor [sensor.helper_speicheroptimierung_bat_soc] changes its value.",
"conditions": "The current battery state of charge [sensor.helper_speicheroptimierung_bat_soc] must be higher than the current daily maximum value stored in the helper [input_number.helper_speicheroptimierung_today_max_soc], and this check must only happen after sunrise.",
"action": "Updates the daily maximum state of charge helper [input_number.helper_speicheroptimierung_today_max_soc] to match the current battery level [sensor.helper_speicheroptimierung_bat_soc]."
},
"human_like": "Updates the daily maximum battery charge level after sunrise whenever a new higher value is detected.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Täglicher Maximalwert nicht erreicht: Meldung'",
"result": {
"structured": "TRIGGER: At sunset. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on AND speicheroptimierung benachrichtigungen helper [input_boolean.helper_speicheroptimierung_benachrichtigungen] is on. ACTIONS: Execute a conditional action based on the following checks: IF speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] is below evcc site priority soc [number.evcc_site_priority_soc], THEN run script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with a specific message. ELSE IF speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] is below 100 AND speicheroptimierung limit ein helper [input_boolean.helper_speicheroptimierung_limit_ein] is off, THEN run the same script with a different message. ELSE IF speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] is below speicheroptimierung limit soc grenze helper [input_number.helper_speicheroptimierung_limit_soc_grenze] AND speicheroptimierung limit ein helper [input_boolean.helper_speicheroptimierung_limit_ein] is on, THEN run the same script with another message.",
"natural_language": {
"trigger": "The automation triggers daily at sunset.",
"conditions": "The automation only runs if the speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is turned on and the speicheroptimierung benachrichtigungen helper [input_boolean.helper_speicheroptimierung_benachrichtigungen] is also turned on.",
"action": "Depending on the day's maximum battery charge level and system settings, it sends a specific notification. If the maximum charge level is below the EVCC priority target, it sends a red alert. If it's below 100% but the charge limit is off, it sends a gray informational message. If a charge limit is active and the maximum level is below that limit, it sends a different gray informational message. All messages are sent via the speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung]."
},
"human_like": "Sends a daily summary notification at sunset about whether the home battery reached its target charge level, with different messages based on the system's configuration.",
"complexity": "medium"
}
},
{
"id": "'Heimspeicher: Modus geändert'",
"result": {
"structured": "TRIGGER: When pv battery mode helper [input_select.helper_pv_battery_mode] OR pv battery max discharge power helper [input_number.helper_pv_battery_max_discharge_power] OR pv battery max charge power helper [input_number.helper_pv_battery_max_charge_power] changes state and remains stable for 3 seconds. OR When evcc site battery discharge control sensor [sensor.evcc_site_battery_discharge_control] changes to false. OR When evcc site battery grid charge active sensor [sensor.evcc_site_battery_grid_charge_active] changes to false. CONDITIONS: (evcc site battery discharge control sensor [sensor.evcc_site_battery_discharge_control] is false) AND (evcc site battery grid charge active sensor [sensor.evcc_site_battery_grid_charge_active] is false). ACTIONS: Execute heimspeicher modus setzen script [script.heimspeicher_modus_setzen].",
"natural_language": {
"trigger": "The automation triggers in three scenarios: first, when any of the helper settings for the PV battery (the mode, maximum discharge power, or maximum charge power) changes and remains stable for three seconds. Second, when the sensor indicating EVCC battery discharge control becomes inactive (false). Third, when the sensor indicating EVCC grid charging becomes inactive (false).",
"conditions": "The automation only proceeds if both the EVCC battery discharge control sensor and the EVCC battery grid charge active sensor are currently in an inactive state (false), meaning EVCC currently has no control over battery charging or discharging.",
"action": "Runs the script named 'heimspeicher modus setzen' to set the home battery mode."
},
"human_like": "Updates the home battery mode when helper settings change or when EVCC is not actively controlling the battery, ensuring the correct mode is applied.",
"complexity": "medium"
}
},
{
"id": "'Heimspeicher: Nächtliches Speichersparen morgens beenden'",
"result": {
"structured": "TRIGGER: At 06:30:00. CONDITIONS: nightly battery saver helper [input_boolean.helper_nightly_battery_saver] is on. ACTIONS: Turn off nightly battery saver helper [input_boolean.helper_nightly_battery_saver]. Turn off home battery discharge disabled helper [input_boolean.helper_home_battery_discharge_disabled]. Set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'.",
"natural_language": {
"trigger": "Every morning at 6:30.",
"conditions": "Only if the nightly battery saver helper [input_boolean.helper_nightly_battery_saver] is currently switched on.",
"action": "It turns off the nightly battery saver helper [input_boolean.helper_nightly_battery_saver] and the home battery discharge disabled helper [input_boolean.helper_home_battery_discharge_disabled]. Finally, it sets the pv battery mode helper [input_select.helper_pv_battery_mode] back to 'Automatisches Laden und Entladen' (Automatic Charging and Discharging)."
},
"human_like": "Ends the nightly battery saving mode at 6:30 AM by re-enabling automatic battery operation.",
"complexity": "low"
}
},
{
"id": "'Heimspeicher: Nächtliches Speichersparen aktivieren'",
"result": {
"structured": "TRIGGER: When sofar battery capacity total sensor [sensor.sofar_battery_capacity_total] remains below 35% for 5 minutes OR When the time is exactly 00:00:00. CONDITIONS: (The current time is between 00:00:00 and 06:00:00 on any day of the week) AND (sofar battery capacity total sensor [sensor.sofar_battery_capacity_total] is below 35%). ACTIONS: Set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Nur Laden'.",
"natural_language": {
"trigger": "The automation triggers either when the sofar battery capacity total sensor [sensor.sofar_battery_capacity_total] reports a battery level below 35% for a continuous period of five minutes, or when the clock strikes midnight (00:00:00).",
"conditions": "The automation only proceeds if the current time is between midnight and 6:00 AM on any day of the week, and the sofar battery capacity total sensor [sensor.sofar_battery_capacity_total] is still below 35% at that moment.",
"action": "It changes the battery operating mode by setting the pv battery mode helper [input_select.helper_pv_battery_mode] to 'Nur Laden' (Only Charge), effectively disabling battery discharge."
},
"human_like": "Activates a battery-saving 'charge-only' mode overnight if the battery capacity is low, ensuring power is conserved for the morning.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Laden bei zu niedrigem Speicherstand starten'",
"result": {
"structured": "TRIGGER: When the battery state of charge (sensor.helper_speicheroptimierung_bat_soc) is less than or equal to the configured minimum threshold (input_number.helper_speicheroptimierung_min_soc_laden_aktivieren) AND remains so for 1 minute. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on. ACTIONS: IF speicheroptimierung battery lesefehler helper [input_boolean.helper_speicheroptimierung_battery_lesefehler] is off THEN: Execute script speicheroptimierung benachrichtigung [script.speicheroptimierung_benachrichtigung] with a message about low battery and activation, including current SOC and solar forecast. Set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'. Turn off speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv]. Turn off evcc lp 1 battery boost switch [switch.evcc_lp_1_battery_boost] AND evcc lp 2 battery boost switch [switch.evcc_lp_2_battery_boost]. ELSE (if a battery read error is present): IF speicheroptimierung benachrichtigungen helper [input_boolean.helper_speicheroptimierung_benachrichtigungen] is on THEN: Send a notification to mobile app pixel 8 [notify.mobile_app_pixel_8] about the SOC read error. Execute script speicheroptimierung benachrichtigung [script.speicheroptimierung_benachrichtigung] with an error message about the SOC read error.",
"natural_language": {
"trigger": "When the battery state of charge sensor [sensor.helper_speicheroptimierung_bat_soc] falls to or below the minimum charge activation threshold [input_number.helper_speicheroptimierung_min_soc_laden_aktivieren] and stays there for one minute.",
"conditions": "The main automation switch, speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein], must be turned on.",
"action": "First, it checks if there is a recent battery read error [input_boolean.helper_speicheroptimierung_battery_lesefehler]. If there is no error, it sends a notification via a script [script.speicheroptimierung_benachrichtigung] about the low battery level and activates charging by setting the battery mode [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen'. It also deactivates any delayed charging flag [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] and turns off battery boost modes for two EV chargers [switch.evcc_lp_1_battery_boost, switch.evcc_lp_2_battery_boost]. If a battery read error is detected, it sends an error notification to a mobile app [notify.mobile_app_pixel_8] (if notifications are enabled [input_boolean.helper_speicheroptimierung_benachrichtigungen]) and also runs an error notification script [script.speicheroptimierung_benachrichtigung]."
},
"human_like": "Automatically starts charging the home battery when its level drops too low, and sends a notification. It also handles cases where the battery sensor might be reporting an error.",
"complexity": "medium"
}
},
{
"id": "'EVCC: Morgendlicher reset von Battery Grid Charge Limit'",
"result": {
"structured": "TRIGGER: At 09:00:00. CONDITIONS: None. ACTIONS: Set evcc site battery grid charge limit [number.evcc_site_battery_grid_charge_limit] to 0.",
"natural_language": {
"trigger": "Every day at 9:00 AM.",
"conditions": "There are no conditions that must be met.",
"action": "Sets the value of evcc site battery grid charge limit [number.evcc_site_battery_grid_charge_limit] to 0."
},
"human_like": "Resets the battery grid charge limit to zero every morning at 9 AM.",
"complexity": "low"
}
},
{
"id": "'EVCC: LP1: Reset nach ausstecken'",
"result": {
"structured": "TRIGGER: When evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] changes from on to off. CONDITIONS: None. ACTIONS: Set evcc lp 1 smart cost limit [number.evcc_lp_1_smart_cost_limit] to 0.20 AND set evcc lp 1 mode select [select.evcc_lp_1_mode] to pv.",
"natural_language": {
"trigger": "When the evcc lp 1 connected sensor [binary_sensor.evcc_lp_1_connected] changes from being connected (on) to disconnected (off).",
"conditions": "There are no conditions for this automation.",
"action": "Resets the smart cost limit for the charger to 0.20 by setting the evcc lp 1 smart cost limit [number.evcc_lp_1_smart_cost_limit], and changes the charging mode to 'pv' by setting the evcc lp 1 mode select [select.evcc_lp_1_mode]."
},
"human_like": "Resets the EV charger's cost limit and switches it to PV mode when the vehicle is unplugged.",
"complexity": "low"
}
},
{
"id": "'EVCC: LP2: Reset nach ausstecken'",
"result": {
"structured": "TRIGGER: When evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] changes from on to off. CONDITIONS: None. ACTIONS: Set EVCC LP2 Smart Cost Limit [number.evcc_lp_2_smart_cost_limit] to 0.20 AND Set evcc lp 2 mode select [select.evcc_lp_2_mode] to pv.",
"natural_language": {
"trigger": "When the evcc lp 2 connected sensor [binary_sensor.evcc_lp_2_connected] reports a change from connected (on) to disconnected (off).",
"conditions": "There are no conditions for this automation.",
"action": "Resets the EVCC LP2 Smart Cost Limit [number.evcc_lp_2_smart_cost_limit] to 0.20 and changes the evcc lp 2 mode select [select.evcc_lp_2_mode] to 'pv'."
},
"human_like": "Resets the charging limit and mode to default settings when the EV charging cable is unplugged.",
"complexity": "low"
}
},
{
"id": "'Speicheroptimierung: Vermutlicher SoC Lesefehler: helper_speicheroptimierung_battery_lesefehler",
"result": {
"structured": "TRIGGER: When speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] changes to 0. CONDITIONS: None. ACTIONS: Turn on speicheroptimierung battery lesefehler helper [input_boolean.helper_speicheroptimierung_battery_lesefehler], wait for 2 minutes, then turn off speicheroptimierung battery lesefehler helper [input_boolean.helper_speicheroptimierung_battery_lesefehler].",
"natural_language": {
"trigger": "When the speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] reports a state of 0.",
"conditions": "There are no conditions that must be met.",
"action": "The automation turns on the speicheroptimierung battery lesefehler helper [input_boolean.helper_speicheroptimierung_battery_lesefehler], waits for two minutes, and then turns it off again."
},
"human_like": "Flags a potential battery sensor reading error for two minutes when the battery state of charge drops to zero.",
"complexity": "low"
}
},
{
"id": "'Speicheroptimierung: Nach Sonnenaufgang noch genug Kapazität.'",
"result": {
"structured": "TRIGGER: 30 minutes after sunrise. CONDITIONS: (speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on) AND (solcast pv forecast forecast remaining today sensor [sensor.solcast_pv_forecast_forecast_remaining_today] is greater than or equal to speicheroptimierung restenergie aktuell sensor [sensor.helper_speicheroptimierung_restenergie_aktuell] + 1) AND (solcast pv forecast forecast today sensor [sensor.solcast_pv_forecast_forecast_today] is above speicheroptimierung limit guter tag prognose helper [input_number.helper_speicheroptimierung_limit_guter_tag_prognose]) AND (speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc] is greater than or equal to speicheroptimierung soc laden deaktivieren helper [input_number.helper_speicheroptimierung_soc_laden_deaktivieren]) AND (pv battery mode helper [input_select.helper_pv_battery_mode] is NOT Netzladen). ACTIONS: Run script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with a notification message, set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Nur Entladen', and turn on speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv].",
"natural_language": {
"trigger": "The automation triggers 30 minutes after sunrise.",
"conditions": "All of the following must be true: The storage optimization feature is enabled (speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on). The solar forecast for the remaining energy today (solcast pv forecast forecast remaining today sensor [sensor.solcast_pv_forecast_forecast_remaining_today]) is at least 1 kWh greater than the current remaining energy in the system (speicheroptimierung restenergie aktuell sensor [sensor.helper_speicheroptimierung_restenergie_aktuell]). Today's total solar forecast (solcast pv forecast forecast today sensor [sensor.solcast_pv_forecast_forecast_today]) is above the configured threshold for a 'good solar day' (speicheroptimierung limit guter tag prognose helper [input_number.helper_speicheroptimierung_limit_guter_tag_prognose]). The current battery state of charge (speicheroptimierung bat soc sensor [sensor.helper_speicheroptimierung_bat_soc]) is at or above the configured minimum level for disabling charging (speicheroptimierung soc laden deaktivieren helper [input_number.helper_speicheroptimierung_soc_laden_deaktivieren]). The battery is not currently in 'Grid Charging' mode (pv battery mode helper [input_select.helper_pv_battery_mode] is not set to 'Netzladen').",
"action": "Sends a notification via a script (speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung]) stating that battery charging is being delayed, switches the battery mode to 'Discharge Only' (Nur Entladen) on pv battery mode helper [input_select.helper_pv_battery_mode], and activates a flag (speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv]) to indicate delayed charging is active."
},
"human_like": "Delays battery charging in the morning if there is enough solar forecast and sufficient battery capacity, to save the battery for later use.",
"complexity": "medium"
}
},
{
"id": "Speicheroptimierung ausgeschaltet",
"result": {
"structured": "TRIGGER: When speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] changes from 'on' to 'off'. CONDITIONS: None. ACTIONS: Set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen' AND Turn off speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv].",
"natural_language": {
"trigger": "When the helper switch for storage optimization (speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein]) is turned off.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the PV battery mode (pv battery mode helper [input_select.helper_pv_battery_mode]) to 'Automatic charging and discharging' and turns off the helper for delayed charging (speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv])."
},
"human_like": "When storage optimization is turned off, it resets the battery mode to automatic and disables delayed charging.",
"complexity": "low"
}
},
{
"id": "'Speicheroptimierung: Tage ohne Vollladung setzen. Max SoC zurücksetzen'",
"result": {
"structured": "TRIGGER: Daily at midnight (00:00:00). CONDITIONS: None. ACTIONS: If speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] is below 100, then increment speicheroptimierung batterie nicht voll zahler helper [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler] by 1. Otherwise, set speicheroptimierung batterie nicht voll zahler helper [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler] to 0. Then, set speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc] to 0.",
"natural_language": {
"trigger": "The automation runs every day at midnight.",
"conditions": "There are no conditions.",
"action": "First, it checks if the maximum state of charge recorded for the day, stored in speicheroptimierung today max soc helper [input_number.helper_speicheroptimierung_today_max_soc], was below 100%. If it was, it increases a counter for days without a full charge, stored in speicheroptimierung batterie nicht voll zahler helper [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler], by one. If the maximum state of charge was 100%, it resets that counter to zero. Then, it resets the maximum state of charge tracker for the new day back to zero."
},
"human_like": "This automation tracks how many days in a row the battery fails to reach a full charge, resetting the counter if it does, and prepares the tracker for the next day.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Verspätetes Laden starten'",
"result": {
"structured": "TRIGGER: When the state of sensor.solcast_pv_forecast_forecast_remaining_today changes. CONDITIONS: (speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on) AND (speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is on) AND (The forecasted remaining solar energy [sensor.solcast_pv_forecast_forecast_remaining_today] is less than or equal to the current remaining energy [sensor.helper_speicheroptimierung_restenergie_aktuell]). ACTIONS: Execute script speicheroptimierung benachrichtigung [script.speicheroptimierung_benachrichtigung] with a notification message, set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen', turn off speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv], and execute script speicheroptimierung evcc priority soc aktualisieren [script.speicheroptimierung_evcc_priority_soc_aktualisieren].",
"natural_language": {
"trigger": "When the forecast for the remaining solar energy production for today [sensor.solcast_pv_forecast_forecast_remaining_today] changes.",
"conditions": "The battery optimization feature must be enabled via the helper [input_boolean.helper_speicheroptimierung_ein]. The delayed charging feature must also be active via its helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv]. Finally, the forecasted amount of solar energy left for the day must be less than or equal to the current amount of energy that still needs to be stored.",
"action": "Sends a notification via a script [script.speicheroptimierung_benachrichtigung] to announce that battery charging has started, including the current battery state of charge and the forecast value. It then switches the battery mode [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen' (automatic charging and discharging), deactivates the delayed charging helper, and runs another script [script.speicheroptimierung_evcc_priority_soc_aktualisieren] to update priority state-of-charge settings."
},
"human_like": "Starts delayed battery charging when the solar forecast indicates there's not enough energy left in the day to meet the storage target, and then switches to automatic operation.",
"complexity": "medium"
}
},
{
"id": "'Speicheroptimierung: Wenn Speicher für mehr als 30 Tage nicht vollgeworden",
"result": {
"structured": "TRIGGER: When speicheroptimierung batterie nicht voll zahler helper [input_number.helper_speicheroptimierung_batterie_nicht_voll_zahler] is above 30. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on. ACTIONS: Set pv battery target soc helper [input_number.helper_pv_battery_target_soc] to 100. Set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Netzladen'. Execute script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with parameters: notification_icon 'mdi:home-battery-outline', title 'Speichervollladung erzwungen.', message 'Nachdem der Speicher für mehr als 30 Tage nicht vollgeworden ist, wird eine Vollladung nun aus dem Netz erzwungen um den LFP Speicher wieder zu kalibrieren.', color 'red', tag 'speicheroptimierung-ladungerzwungen'.",
"natural_language": {
"trigger": "When the helper counter tracking how many days the battery has not been fully charged exceeds 30 days.",
"conditions": "The battery optimization feature must be enabled.",
"action": "It sets the battery target state of charge to 100%, changes the battery mode to grid charging, and sends a notification confirming that a forced full charge from the grid has been initiated to recalibrate the LFP battery."
},
"human_like": "Forces a full grid charge to recalibrate the battery if it hasn't been fully charged in over 30 days.",
"complexity": "low"
}
},
{
"id": "'Speicheroptimierung: Vorhersage fällt unter Limit für ausreichend guten",
"result": {
"structured": "TRIGGER: When the forecasted solar energy production for today [sensor.solcast_pv_forecast_forecast_today] falls below the configured limit for a 'good day' [input_number.helper_speicheroptimierung_limit_guter_tag_prognose]. CONDITIONS: speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein] is on AND speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv] is on. ACTIONS: Execute the notification script speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] with a message about starting battery charge, set pv battery mode helper [input_select.helper_pv_battery_mode] to 'Automatisches Laden und Entladen', turn off speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv], and execute the script speicheroptimierung evcc priority soc aktualisieren script [script.speicheroptimierung_evcc_priority_soc_aktualisieren].",
"natural_language": {
"trigger": "When the sensor for today's solar power forecast [sensor.solcast_pv_forecast_forecast_today] reports a value lower than the threshold set in the helper for a good day's forecast limit [input_number.helper_speicheroptimierung_limit_guter_tag_prognose].",
"conditions": "Both the main optimization switch, speicheroptimierung ein helper [input_boolean.helper_speicheroptimierung_ein], and the specific switch for delayed charging, speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv], must be turned on.",
"action": "Sends a notification via the speicheroptimierung benachrichtigung script [script.speicheroptimierung_benachrichtigung] announcing that battery charging has started, including the current battery state of charge and the remaining forecast. It then changes the battery mode to 'Automatisches Laden und Entladen' via pv battery mode helper [input_select.helper_pv_battery_mode], deactivates the delayed charging flag by turning off speicheroptimierung verzoegertes laden aktiv helper [input_boolean.helper_speicheroptimierung_verzoegertes_laden_aktiv], and runs the speicheroptimierung evcc priority soc aktualisieren script [script.speicheroptimierung_evcc_priority_soc_aktualisieren] to update charging priorities."
},
"human_like": "Starts charging the home battery and switches to automatic mode when the solar forecast for the day is too low, provided the optimization feature is enabled.",
"complexity": "medium"
}
},
{
"id": "'Heimspeicher: Modus erneut setzen bei unerwarteten Änderungen am Passive",
"result": {
"structured": "TRIGGER: When sofar passive mode grid power [number.sofar_passive_mode_grid_power] changes state AND remains stable for 2 seconds OR When sofar passive mode battery power max [number.sofar_passive_mode_battery_power_max] changes state AND remains stable for 2 seconds OR When sofar passive mode battery power min [number.sofar_passive_mode_battery_power_min] changes state AND remains stable for 2 seconds OR When sofar charger use mode [select.sofar_charger_use_mode] changes state AND remains stable for 2 seconds. CONDITIONS: (battery updating passive mode helper [input_boolean.helper_battery_updating_passive_mode] is off) AND (evcc site battery discharge control sensor [sensor.evcc_site_battery_discharge_control] is false AND evcc site battery grid charge active sensor [sensor.evcc_site_battery_grid_charge_active] is false). ACTIONS: Set variables for old values of the four trigger entities. Execute script heimspeicher modus setzen [script.heimspeicher_modus_setzen]. If the script indicates values were updated (return_values.values_updated == true), send a notification to mobile app pixel 8 [notify.mobile_app_pixel_8] with details of the power value changes. If the script indicates the energy storage mode changed (return_values.energy_storage_mode_changed == true), send a notification to mobile app pixel 8 [notify.mobile_app_pixel_8] with details of the use mode change.",
"natural_language": {
"trigger": "The automation triggers when any of the following four entities change state and remain stable for two seconds: the desired grid power setting (sofar passive mode grid power [number.sofar_passive_mode_grid_power]), the maximum battery power setting (sofar passive mode battery power max [number.sofar_passive_mode_battery_power_max]), the minimum battery power setting (sofar passive mode battery power min [number.sofar_passive_mode_battery_power_min]), or the charger use mode (sofar charger use mode [select.sofar_charger_use_mode]).",
"conditions": "Two conditions must be met. First, the helper switch indicating the battery's passive mode is being updated (battery updating passive mode helper [input_boolean.helper_battery_updating_passive_mode]) must be off, meaning the system is not currently in the process of changing these values. Second, the EVCC system must not be controlling the battery, which is true when both the battery discharge control sensor (evcc site battery discharge control sensor [sensor.evcc_site_battery_discharge_control]) and the battery grid charge active sensor (evcc site battery grid charge active sensor [sensor.evcc_site_battery_grid_charge_active]) are in a 'false' state.",
"action": "The automation first records the current values of the four settings that triggered it. It then runs a script (heimspeicher modus setzen [script.heimspeicher_modus_setzen]) which is designed to restore the desired passive mode settings. Depending on the script's results, it may send notifications. If the script reports that the power values were updated, it sends a detailed notification to a mobile device (mobile app pixel 8 [notify.mobile_app_pixel_8]) showing the old and new values for the grid power, max battery power, and min battery power. If the script reports that the energy storage mode was changed, it sends a separate notification to the same device showing the old and new charger use mode."
},
"human_like": "This automation detects and corrects unexpected changes to the home battery's passive mode settings, sending a notification if a correction was needed.",
"complexity": "medium"
}
}
]