28 lines
8.3 KiB
JSON
28 lines
8.3 KiB
JSON
[
|
|
{
|
|
"id": "Sonnenschutz Garten V9",
|
|
"result": {
|
|
"structured": "TRIGGER: When weather station [weather.wetter_jetzt_home] temperature attribute remains above 22°C for 10 minutes OR When weather station [weather.wetter_jetzt_home] temperature attribute remains below 20°C for 10 minutes OR When weather station [weather.wetter_jetzt_home] state changes to sunny, clear, or partlycloudy and remains for 10 minutes OR When weather station [weather.wetter_jetzt_home] state changes from sunny, clear, or partlycloudy and remains for 10 minutes OR When automation rolladen auf [input_boolean.automation_rolladen_auf] turns on OR When automation rolladen auf [input_boolean.automation_rolladen_auf] turns off OR At 19:00:00. CONDITIONS: (Current month is between May and September (inclusive)) AND (Current time is between 13:00:00 and 18:30:00). ACTIONS: Choose based on conditions: IF (automation rolladen auf [input_boolean.automation_rolladen_auf] is on) AND (sonnenschutz aktiv [input_boolean.sonnenschutz_aktiv] is off) AND (weather station [weather.wetter_jetzt_home] temperature attribute is above 22°C) AND (weather station [weather.wetter_jetzt_home] state is sunny, clear, or partlycloudy) AND (last rolladen move [input_datetime.last_rolladen_move] is not unknown AND more than 1 hour has passed since its last update) THEN turn on sonnenschutz aktiv [input_boolean.sonnenschutz_aktiv], send notification 'Sonnenschutz aktiviert', wait 1 minute, activate scene rolladen sonnenschutz garten [scene.rolladen_sonnenschutz_garten], and update last rolladen move [input_datetime.last_rolladen_move] to current time. ELSE IF (sonnenschutz aktiv [input_boolean.sonnenschutz_aktiv] is on) AND ((weather station [weather.wetter_jetzt_home] temperature attribute is below 20°C) OR (weather station [weather.wetter_jetzt_home] state is NOT sunny, clear, or partlycloudy)) AND (last rolladen move [input_datetime.last_rolladen_move] is not unknown AND more than 1 hour has passed since its last update) THEN send notification 'Sonnenschutz deaktiviert'.",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in several ways: when the temperature reported by the weather station [weather.wetter_jetzt_home] stays above 22°C for 10 minutes, or when it stays below 20°C for 10 minutes. It also triggers when the weather condition changes to or from sunny, clear, or partly cloudy and remains that way for 10 minutes. Additionally, it triggers when the automation rolladen auf [input_boolean.automation_rolladen_auf] switch is turned on or off, or at 7:00 PM every day.",
|
|
"conditions": "For the automation to proceed, the current month must be between May and September, and the current time must be between 1:00 PM and 6:30 PM.",
|
|
"action": "The automation performs one of two sequences based on the state of the system. First, if the 'automation rolladen auf' [input_boolean.automation_rolladen_auf] is on, the sun protection is currently inactive [input_boolean.sonnenschutz_aktiv is off], the weather station [weather.wetter_jetzt_home] reports a temperature above 22°C and a sunny, clear, or partly cloudy condition, and at least one hour has passed since the last recorded blind movement [input_datetime.last_rolladen_move], then it will activate the sun protection. This involves turning on the 'sonnenschutz aktiv' switch, sending a notification, waiting one minute, activating the 'rolladen sonnenschutz garten' [scene.rolladen_sonnenschutz_garten] scene, and updating the timestamp for the last movement. Alternatively, if the sun protection is already active [input_boolean.sonnenschutz_aktiv is on] and either the temperature drops below 20°C or the weather is no longer sunny, clear, or partly cloudy, and again at least one hour has passed since the last movement, then it will send a notification that the sun protection has been deactivated."
|
|
},
|
|
"human_like": "Automatically lowers or raises the garden-side blinds for sun protection on warm, sunny afternoons between May and September, with a cooldown period between adjustments.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "Sonnenschutz Strasse V8",
|
|
"result": {
|
|
"structured": "TRIGGER: When weather station [weather.wetter_jetzt_home] temperature attribute remains above 22°C for 10 minutes OR When weather station [weather.wetter_jetzt_home] temperature attribute remains below 20°C for 10 minutes OR When weather station [weather.wetter_jetzt_home] state changes to sunny, clear, or partlycloudy and remains for 10 minutes OR When weather station [weather.wetter_jetzt_home] state changes from sunny, clear, or partlycloudy and remains for 10 minutes OR When automation rolladen auf [input_boolean.automation_rolladen_auf] turns on OR When automation rolladen auf [input_boolean.automation_rolladen_auf] turns off OR At 13:00:00 daily. CONDITIONS: (Time is between 06:00:00 and 13:30:00) AND (Current month is between May and September inclusive) AND (The condition checking that last rolladen move strassenseite [input_datetime.last_rolladen_move_strassenseite] was more than 3600 seconds ago is disabled). ACTIONS: Choose based on conditions: If automation rolladen auf [input_boolean.automation_rolladen_auf] is on AND sonnenschutz strassenseite aktiv [input_boolean.sonnenschutz_strassenseite_aktiv] is off AND weather station [weather.wetter_jetzt_home] temperature attribute is above 22°C AND weather station [weather.wetter_jetzt_home] state is sunny, clear, or partlycloudy THEN turn on sonnenschutz strassenseite aktiv [input_boolean.sonnenschutz_strassenseite_aktiv], send notification 'Sonnenschutz aktiviert', wait 1 minute, activate scene buro rollo sonnenschutz [scene.buro_rollo_sonnenschutz], and set last rolladen move strassenseite [input_datetime.last_rolladen_move_strassenseite] to current time. OR If sonnenschutz strassenseite aktiv [input_boolean.sonnenschutz_strassenseite_aktiv] is on AND (weather station [weather.wetter_jetzt_home] temperature attribute is below 20°C OR weather station [weather.wetter_jetzt_home] state is NOT sunny, clear, or partlycloudy) THEN send notification 'Sonnenschutz deaktiviert', wait 1 minute, activate scene sonnenschutz strassenseite hoch [scene.sonnenschutz_strassenseite_hoch], create persistent notification, turn off sonnenschutz strassenseite aktiv [input_boolean.sonnenschutz_strassenseite_aktiv], and set last rolladen move strassenseite [input_datetime.last_rolladen_move_strassenseite] to current time.",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered by several events: when the temperature reported by the weather station [weather.wetter_jetzt_home] stays above 22°C for ten minutes, or stays below 20°C for ten minutes. It also triggers when the weather condition changes to or from sunny, clear, or partly cloudy and remains that way for ten minutes. Additionally, it triggers whenever the automation rolladen auf [input_boolean.automation_rolladen_auf] is turned on or off, and every day at 1:00 PM.",
|
|
"conditions": "For the automation to run, the current time must be between 6:00 AM and 1:30 PM, and the current month must be between May and September. A third condition, which would have required at least an hour to pass since the last recorded movement of the street-side blinds, is currently disabled.",
|
|
"action": "The automation performs one of two sequences based on the current state. If the automation is set to allow blinds to lower, the sun protection is currently inactive, the temperature is above 22°C, and the weather is sunny, clear, or partly cloudy, then it will activate the street-side sun protection. This involves turning on the corresponding status flag, sending a notification, waiting a minute, lowering the office blinds via a scene, and recording the time of this action. Alternatively, if the sun protection is active but the temperature drops below 20°C or the weather is no longer sunny, clear, or partly cloudy, it will deactivate the protection. This involves sending a notification, waiting a minute, raising the blinds via a scene, creating a persistent log notification, turning off the status flag, and recording the time."
|
|
},
|
|
"human_like": "Automatically lowers the street-side blinds for sun protection on warm, sunny mornings between May and September, and raises them when it gets cooler or cloudy.",
|
|
"complexity": "high"
|
|
}
|
|
}
|
|
] |