AutomationDataset/Hoffis-Welt/automation-descriptions.json

28 lines
6.5 KiB
JSON

[
{
"id": "Akku Laden - Automation",
"result": {
"structured": "TRIGGER: When PV forecast with factor [sensor.vohersage_pv_ertrag_mit_faktor] changes OR When basic charging limit [input_number.ladegrenze_grundladung] changes OR When battery charging limit [input_number.battery_chargig_limit] changes OR When sun [sun.sun] remains below_horizon for 30 minutes OR When total solar production 2 [sensor.solar_ertrag_gesamt_2] remains below 100 for 10 minutes OR When charging start time [binary_sensor.zeitpunkt_start_laden] changes from off to on. CONDITIONS: None. ACTIONS: Choose one action sequence based on conditions. SEQUENCE 1 (Akku laden stoppen): CONDITIONS: (Trigger is Ladelimit wurde geändert OR Ladegrenze Grundladung hat sich geändert OR Prognose mit Faktor hat sich geändert) AND (battery remaining capacity [sensor.restkappazitaet_akku] < PV forecast with factor [sensor.vohersage_pv_ertrag_mit_faktor]) AND (EMS mode selection [sensor.ems_mode_selection] is Self-consumption mode (default)) AND (PV generating [binary_sensor.pv_generating] is on) AND ((charging process active [input_boolean.ladevorgang_aktiv] is off) OR ((charging process active [input_boolean.ladevorgang_aktiv] is on) AND (battery level [sensor.battery_level] > battery charging limit [input_number.battery_chargig_limit]))) AND ((battery level [sensor.battery_level] > basic charging limit [input_number.ladegrenze_grundladung]) OR (battery level [sensor.battery_level] > battery charging limit [input_number.battery_chargig_limit])) AND ((time controlled charging [input_boolean.zeitgesteuertes_laden] is off) OR ((time controlled charging [input_boolean.zeitgesteuertes_laden] is on) AND (charging start time [binary_sensor.zeitpunkt_start_laden] is off))). ACTIONS: Send notification 'Akku laden gestoppt' to mobile app pixel 8a [notify.mobile_app_pixel_8a] AND Execute set battery bypass mode script [script.sg_set_battery_bypass_mode]. SEQUENCE 2 (Akku laden fortsetzten Prognose basiert): CONDITIONS: (Trigger is Ladelimit wurde geändert OR Ladegrenze Grundladung hat sich geändert OR Prognose mit Faktor hat sich geändert) AND (battery remaining capacity [sensor.restkappazitaet_akku] >= PV forecast with factor [sensor.vohersage_pv_ertrag_mit_faktor]) AND (EMS mode selection [sensor.ems_mode_selection] is Forced mode) AND (battery level [sensor.battery_level] < battery charging limit [input_number.battery_chargig_limit]) AND (time controlled charging [input_boolean.zeitgesteuertes_laden] is off). ACTIONS: Turn on charging process active [input_boolean.ladevorgang_aktiv] AND Execute set self consumption mode script [script.sg_set_self_consumption_mode] AND Send notification 'Akku laden gestartet' to mobile app pixel 8a [notify.mobile_app_pixel_8a]. SEQUENCE 3 (Akku laden fortsetzten Zeitgesteuert): CONDITIONS: (Trigger is Zeitpunkt Start laden) AND (time controlled charging [input_boolean.zeitgesteuertes_laden] is on) AND (charging process active [input_boolean.ladevorgang_aktiv] is off). ACTIONS: Turn on charging process active [input_boolean.ladevorgang_aktiv] AND Execute set self consumption mode script [script.sg_set_self_consumption_mode] AND Send notification 'Akku laden gestartet' to mobile app pixel 8a [notify.mobile_app_pixel_8a]. SEQUENCE 4 (Helper Ladevorgang ausschalten): CONDITIONS: (Trigger is Sonne ist untergegangen OR Kein PV Ertrag seit 10 Minuten). ACTIONS: Turn off charging process active [input_boolean.ladevorgang_aktiv].",
"natural_language": {
"trigger": "This automation can be triggered by several events: a change in the PV forecast with factor [sensor.vohersage_pv_ertrag_mit_faktor], a change in the basic charging limit [input_number.ladegrenze_grundladung], a change in the battery charging limit [input_number.battery_chargig_limit], the sun [sun.sun] staying below the horizon for 30 minutes, the total solar production 2 [sensor.solar_ertrag_gesamt_2] staying below 100 for 10 minutes, or the charging start time [binary_sensor.zeitpunkt_start_laden] switching from off to on.",
"conditions": "There are no global conditions. The automation uses a 'choose' action to select one of four possible action sequences based on specific sets of conditions.",
"action": "Depending on the trigger and the state of the system, one of four sequences will run. 1. Stop Charging: If triggered by a limit or forecast change, and the remaining battery capacity is less than the forecasted PV production, the system is in self-consumption mode with PV generating, and either charging is already off or the battery is over the PV/Grid limit, and the battery is above either the basic or PV/Grid limit, and time-controlled charging is either off or its start time hasn't been reached, then a stop notification is sent and the battery is set to bypass mode. 2. Resume Charging (Forecast-based): If triggered by a limit or forecast change, and the remaining battery capacity is greater than or equal to the forecasted PV production, the system is in forced mode, the battery level is below the PV/Grid limit, and time-controlled charging is off, then charging is turned on, the system is set to self-consumption mode, and a start notification is sent. 3. Resume Charging (Time-based): If triggered by the charging start time being reached, time-controlled charging is on, and charging is currently off, then charging is turned on, the system is set to self-consumption mode, and a start notification is sent. 4. Turn Off Charging Helper: If triggered by sunset or no PV production for 10 minutes, the charging process is simply turned off."
},
"human_like": "This automation intelligently manages home battery charging, starting or stopping it based on solar production forecasts, battery levels, user-set limits, and scheduled times to optimize self-consumption.",
"complexity": "high"
}
},
{
"id": "Template Sensoren jede Minute aktualisieren",
"result": {
"structured": "TRIGGER: Every minute at 20 seconds past the minute. CONDITIONS: None. ACTIONS: Update the entity charging start time [binary_sensor.zeitpunkt_start_laden].",
"natural_language": {
"trigger": "The automation triggers every minute, precisely at 20 seconds past the minute.",
"conditions": "There are no conditions that need to be met for the action to run.",
"action": "The automation forces an update of the charging start time [binary_sensor.zeitpunkt_start_laden] sensor."
},
"human_like": "Updates the charging start time sensor every minute to ensure its data is current.",
"complexity": "low"
}
}
]