AutomationDataset/Jogiarea/automation-descriptions.json

28 lines
7.8 KiB
JSON

[
{
"id": "Wohnraumlüftung Manuell",
"result": {
"structured": "TRIGGER: When Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] changes state. CONDITIONS: None. ACTIONS: If Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Ein', turn on Wohnraumluftung Steuerung Automation [automation.wohnraumluftung_steuerung]. If it is 'Aus', turn off Wohnraumluftung Steuerung Automation [automation.wohnraumluftung_steuerung] AND turn off Ventilation Fan 1 [dac54d12465125424a46f187a23dd7ca] AND turn off Ventilation Fan 2 [f7e955bee1c89f94b18c1192ed089eee]. If it is 'Manuell', turn off Wohnraumluftung Steuerung Automation [automation.wohnraumluftung_steuerung] (stopping its actions) AND set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] AND Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter] to 30% speed. If it is 'Sommer', turn on Wohnraumluftung Steuerung Automation [automation.wohnraumluftung_steuerung].",
"natural_language": {
"trigger": "Whenever the state of the Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] changes.",
"conditions": "There are no conditions; the automation runs every time the trigger occurs.",
"action": "Depending on the selected mode, different actions are performed. If 'Ein' (On) is selected, the Wohnraumluftung Steuerung Automation [automation.wohnraumluftung_steuerung] is turned on. If 'Aus' (Off) is selected, that same automation is turned off, and two specific fans, Ventilation Fan 1 [dac54d12465125424a46f187a23dd7ca] and Ventilation Fan 2 [f7e955bee1c89f94b18c1192ed089eee], are also turned off. If 'Manuell' (Manual) is selected, the main automation is turned off with its actions stopped, and the main ventilation system fans, Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter], are set to run at 30% speed. If 'Sommer' (Summer) is selected, the main automation is turned on."
},
"human_like": "Controls the home ventilation system based on a manual selector, turning the automatic control on or off, or setting specific fan speeds for manual or summer modes.",
"complexity": "medium"
}
},
{
"id": "Wohnraumlüftung Steuerung",
"result": {
"structured": "TRIGGER: Every 55 seconds (time_pattern). CONDITIONS: None (global). ACTIONS: Choose the first matching rule: 1. IF Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is above 70% AND (Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Ein' OR 'Sommer') AND NOT (time is between 20:15:00 and 07:00:00 on any weekday) THEN set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter] to 31%. 2. IF Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is above 70% AND (Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Ein' OR 'Sommer') AND time is between 20:15:00 and 07:00:00 on any weekday THEN set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter] to 24%. 3. IF Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is NOT above 70% AND (Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Sommer' OR 'Ein') AND (the maximum of Netatmo Base CO2 Sensor [sensor.netatmo_basis_co2] and Netatmo Upstairs CO2 Sensor [sensor.netatmo_oben_co2] is less than 500 ppm OR Living Room Outside Temperature Sensor [sensor.wohnzimmer_aussen_temperatur] is greater than Netatmo Base Temperature Sensor [sensor.netatmo_basis_temperature]) THEN turn off Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter]. 4. IF NOT (time is between 20:15:00 and 07:00:00 on any weekday AND Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is above 70%) AND Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Ein' THEN set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter] to a percentage calculated from the maximum CO2 value (linearly scaled from 9% at 500 ppm to 31% at 1500 ppm), wait 2 seconds, then set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] to 1% higher than Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter]. 5. IF NOT (time is between 20:15:00 and 07:00:00 on any weekday AND Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is above 70%) AND Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Sommer' THEN set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] to a percentage calculated from the maximum CO2 value (linearly scaled from 9% at 500 ppm to 31% at 1500 ppm) AND turn off Ventilation Fan 1 [dac54d12465125424a46f187a23dd7ca]. 6. IF time is between 20:15:00 and 07:00:00 on any weekday AND NOT (trigger id 'co2_unter_500' OR Bathroom Humidity Temperature Sensor [sensor.hum_temp_bad_humidity] is above 70%) AND (Wohnraumlüftung Ein/Aus Manuell Select [input_select.wohnraunluftung_ein_aus_manuell] is 'Ein' OR 'Sommer') THEN set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] and Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter] to a percentage calculated from the maximum CO2 value (linearly scaled from 8% at 500 ppm to 12% at 1500 ppm), wait 2 seconds, then set Ventilation System Exhaust Fan [fan.beluftungsanlage_esp32_abluftl_fter] to 1% higher than Ventilation System Supply Fan [fan.beluftungsanlage_esp32_zuluftl_fter].",
"natural_language": {
"trigger": "The automation runs every 55 seconds.",
"conditions": "There are no global conditions. The automation uses a choose action with several conditional branches that are evaluated in order. Each branch has its own set of conditions.",
"action": "Based on the current sensor readings, time, and ventilation mode, the automation selects one of six possible actions: 1. If the bathroom humidity is high during the day and the system is set to 'Ein' or 'Sommer', it sets both fans to a high speed (31%). 2. If the bathroom humidity is high during the night and the system is set to 'Ein' or 'Sommer', it sets both fans to a lower speed (24%). 3. If the bathroom humidity is not high, the system is in 'Ein' or 'Sommer' mode, and either the CO2 levels are very low or the outside temperature is warmer than inside, it turns both fans off. 4. If it's daytime, the bathroom humidity is not high, and the system is in 'Ein' mode, it calculates a fan speed based on the highest CO2 reading (scaling between 9% and 31%), sets both fans, and then slightly increases the exhaust fan speed. 5. If it's daytime, the bathroom humidity is not high, and the system is in 'Sommer' mode, it calculates a fan speed based on the highest CO2 reading (scaling between 9% and 31%) for the exhaust fan only and turns off a specific supply fan (Ventilation Fan 1). 6. If it's nighttime, the bathroom humidity is not high, and the system is in 'Ein' or 'Sommer' mode, it calculates a lower fan speed based on the highest CO2 reading (scaling between 8% and 12%), sets both fans, and then slightly increases the exhaust fan speed."
},
"human_like": "This automation controls the home ventilation system's fan speeds based on bathroom humidity, CO2 levels, indoor/outdoor temperature, time of day, and the selected operating mode.",
"complexity": "high"
}
}
]