AutomationDataset/qanh3007hcmut/automation-descriptions.json

275 lines
26 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"id": "'1745157257921'",
"result": {
"structured": "TRIGGER: When temperature sensor [sensor.temperature] is above 30 for 1 second. CONDITIONS: member device tracker [device_tracker.member] is home. ACTIONS: Set living room conditioner [climate.living_room_conditioner] HVAC mode to cool, set living room conditioner [climate.living_room_conditioner] preset mode to home, and set living room conditioner [climate.living_room_conditioner] temperature to 16 with HVAC mode cool.",
"natural_language": {
"trigger": "When the temperature sensor [sensor.temperature] reports a temperature above 30 degrees for at least one second.",
"conditions": "The member device tracker [device_tracker.member] must report that the member is at home.",
"action": "Activates the living room air conditioner by setting it to cooling mode, setting the preset to 'home', and setting the target temperature to 16 degrees."
},
"human_like": "Turns on the living room air conditioner to cool the room to 16 degrees when it gets too hot and someone is home.",
"complexity": "low"
}
},
{
"id": "'1745158517325'",
"result": {
"structured": "TRIGGER: When member device tracker [device_tracker.member] changes state from home to not_home. CONDITIONS: None. ACTIONS: Turn off living room light [light.living_room_light] with a 2-second transition AND turn off living room conditioner [climate.living_room_conditioner].",
"natural_language": {
"trigger": "When the member device tracker [device_tracker.member] leaves home, changing its state from 'home' to 'not_home'.",
"conditions": "There are no conditions that must be met.",
"action": "Turn off the living room light [light.living_room_light] with a 2-second fade-out and turn off the living room conditioner [climate.living_room_conditioner]."
},
"human_like": "Turns off the living room light and air conditioner when the last person leaves home.",
"complexity": "low"
}
},
{
"id": "'1745158830677'",
"result": {
"structured": "TRIGGER: When member device tracker [device_tracker.member] changes state to home. CONDITIONS: temperature sensor [sensor.temperature] is above 30. ACTIONS: Turn on living room light [light.living_room_light], set living room conditioner [climate.living_room_conditioner] to cool mode, lock front door lock [lock.front_door_lock] with code 0000, and set living room light [light.living_room_light] to 55% brightness.",
"natural_language": {
"trigger": "When the member device tracker [device_tracker.member] detects that a member has arrived home.",
"conditions": "If the temperature sensor [sensor.temperature] reports a temperature above 30 degrees.",
"action": "Turns on the living room light [light.living_room_light], sets the living room conditioner [climate.living_room_conditioner] to cool mode, locks the front door lock [lock.front_door_lock] using the code 0000, and adjusts the living room light [light.living_room_light] to 55% brightness."
},
"human_like": "When a member arrives home on a hot day, this automation turns on the AC and lights, and locks the front door.",
"complexity": "low"
}
},
{
"id": "'1748614849274'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on the topic 'home/frontdoor/notifications'. CONDITIONS: The 'timestand' field in the received MQTT payload is not equal to 0. ACTIONS: Create a persistent notification with a title 'Frontdoor Camera - [current date and time]' and a message '[detected object name] detected and standing for [timestand value]'.",
"natural_language": {
"trigger": "When a notification message is received from the front door camera via MQTT.",
"conditions": "The notification must contain a 'timestand' value that is not zero.",
"action": "A notification is displayed, showing the detected object's name and how long it has been standing there, along with the current date and time."
},
"human_like": "Sends a notification when the front door camera detects someone or something standing there for a period of time.",
"complexity": "medium"
}
},
{
"id": "'1748681697677'",
"result": {
"structured": "TRIGGER: When people detection sensor [binary_sensor.people_detection] changes to off and remains off for 5 seconds. CONDITIONS: (gas stove left [switch.gas_stove_left] is on AND remains on for 5 seconds) OR (gas stove right [switch.gas_stove_right] is on AND remains on for 5 seconds) OR (gas stove mid [switch.gas_stove_mid] is on AND remains on for 5 seconds). ACTIONS: Create a persistent notification with title 'Active Stove Warning!!! - <current_date_time>' and message 'Stoves are still on, but no one is detected in the kitchen.'",
"natural_language": {
"trigger": "When the people detection sensor [binary_sensor.people_detection] no longer detects anyone in the kitchen and remains in this state for at least five seconds.",
"conditions": "If at least one of the stove burners—gas stove left [switch.gas_stove_left], gas stove right [switch.gas_stove_right], or gas stove mid [switch.gas_stove_mid]—has been turned on and remains on for at least five seconds.",
"action": "Sends a persistent warning notification with the title 'Active Stove Warning!!!' followed by the current date and time, and a message stating that the stoves are still on but no one is detected in the kitchen."
},
"human_like": "Sends a warning notification if any stove burner is left on for five seconds after people are no longer detected in the kitchen.",
"complexity": "medium"
}
},
{
"id": "'1748704185401'",
"result": {
"structured": "TRIGGER: When a persistent notification is updated, becomes current, is removed, or is added. CONDITIONS: The notification ID starts with 'frontdoor_camera_' AND the notification message ends with '0 second'. ACTIONS: Dismiss the persistent notification using the same notification ID.",
"natural_language": {
"trigger": "When any persistent notification is added, updated, becomes current, or is removed.",
"conditions": "The notification's ID must begin with the text 'frontdoor_camera_', and its message must end with the text '0 second'.",
"action": "Dismiss the specific persistent notification that triggered this automation."
},
"human_like": "Automatically clears notifications from the front door camera that report a duration of zero seconds.",
"complexity": "medium"
}
},
{
"id": "'1748932858082'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic home/sensor/temperature. CONDITIONS: None. ACTIONS: If the received temperature value is between 31 and 35 inclusive, then create a persistent notification with title 'Temperature Warning!!!' and message 'Unhealthy high temperature', set the temperature to 21°C and HVAC mode to cool for living room conditioner [climate.living_room_conditioner], bedroom room conditioner 1 [climate.bedroom_room_conditioner_1], and bedroom room conditioner 1 2 [climate.bedroom_room_conditioner_1_2], and create another persistent notification with title 'Cooling mode activated!' and message 'Adjust air conditioner down to 21°C'. If the received temperature value is greater than 35 and up to 45.0, then create a persistent notification with title 'Temperature Warning!!!' and message 'Hazardous high temperature', set the temperature to 21°C and HVAC mode to cool for the same three climate entities, and create another persistent notification with title 'Cooling mode activated!' and message 'Adjust air conditioner down to 21°C'.",
"natural_language": {
"trigger": "When a new temperature reading is published to the MQTT topic 'home/sensor/temperature'.",
"conditions": "There are no additional conditions.",
"action": "Depending on the temperature value received, the automation takes different actions. If the temperature is between 31 and 35 degrees, it sends a warning notification about unhealthy high temperature, sets the living room conditioner [climate.living_room_conditioner], bedroom room conditioner 1 [climate.bedroom_room_conditioner_1], and bedroom room conditioner 1 2 [climate.bedroom_room_conditioner_1_2] to cooling mode at 21°C, and sends a confirmation notification. If the temperature is above 35 and up to 45 degrees, it sends a more severe warning about hazardous high temperature, performs the same cooling actions on the three air conditioners, and sends the same confirmation notification."
},
"human_like": "Monitors temperature readings and automatically activates cooling on multiple air conditioners with appropriate warnings if the temperature becomes too high.",
"complexity": "medium"
}
},
{
"id": "'1748934631877'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic 'home/sensor/humidity'. CONDITIONS: None. ACTIONS: If the received humidity value is greater than 20 AND less than or equal to 30, create a persistent notification with title 'Humidity Warning!!!' and message 'Unhealthy low humidity' (ID: low_humidity_warning). If the received humidity value is greater than or equal to 0 AND less than or equal to 20, create a persistent notification with title 'Humidity Warning!!!' and message 'Hazardous low humidity' (ID: low_humidity_warning). If the received humidity value is greater than 80 AND less than or equal to 100, create a persistent notification with title 'Humidity Warning!!!' and message 'Hazardous high humidity' (ID: high_humidity_warning). If the received humidity value is greater than 70 AND less than or equal to 80, create a persistent notification with title 'Humidity Warning!!!' and message 'Unhealthy high humidity' (ID: high_humidity_warning).",
"natural_language": {
"trigger": "Whenever a new humidity reading is published to the MQTT topic 'home/sensor/humidity'.",
"conditions": "There are no conditions that must be met.",
"action": "Based on the received humidity value, a warning notification is created. If the humidity is between 20% and 30%, an 'Unhealthy low humidity' warning is shown. If it's between 0% and 20%, a 'Hazardous low humidity' warning is shown. If the humidity is between 80% and 100%, a 'Hazardous high humidity' warning is shown. If it's between 70% and 80%, an 'Unhealthy high humidity' warning is shown. All notifications have the title 'Humidity Warning!!!'."
},
"human_like": "Sends a warning notification when the reported humidity level is outside a healthy range, indicating if it's dangerously low or high.",
"complexity": "medium"
}
},
{
"id": "'1748948977924'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic 'home/sensor/gas_concentration'. CONDITIONS: None. ACTIONS: If the MQTT payload is a number greater than or equal to 400, then create a persistent notification with title 'Gas Leaking Warning!!!' and ID 'gas_leaking_warning'.",
"natural_language": {
"trigger": "When a message is received on the MQTT topic 'home/sensor/gas_concentration'.",
"conditions": "There are no conditions that must be met.",
"action": "If the value in the received message is 400 or higher, create a persistent warning notification titled 'Gas Leaking Warning!!!'."
},
"human_like": "Sends a gas leak warning notification when the reported gas concentration is dangerously high.",
"complexity": "low"
}
},
{
"id": "'1748949370424'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic 'home/sensor/pm25'. CONDITIONS: None. ACTIONS: If the payload value is between 35.5 and 55.4 (inclusive), create a persistent notification with title 'Air quality warning!!!' and message 'Unhealthy air quality due to elevated PM2.5 concentration'. If the payload value is between 55.5 and 200 (inclusive), create a persistent notification with title 'Air quality warning!!!' and message 'PM2.5 at hazardous levels'.",
"natural_language": {
"trigger": "When a new message is published to the MQTT topic 'home/sensor/pm25'.",
"conditions": "There are no additional conditions.",
"action": "Depending on the PM2.5 value received, the automation will show a warning notification. If the value is between 35.5 and 55.4, it shows a notification about unhealthy air quality. If the value is between 55.5 and 200, it shows a notification about hazardous PM2.5 levels."
},
"human_like": "Shows an air quality warning notification when PM2.5 sensor readings reach unhealthy or hazardous levels.",
"complexity": "medium"
}
},
{
"id": "'1748949556532'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic home/sensor/pm10. CONDITIONS: None. ACTIONS: If the payload is a number between 150 and 250 (inclusive of 150, exclusive of 250), create a persistent notification with ID pm10_warning, title 'Air quality warning!!!', and message 'PM10 levels exceed safe limits'. If the payload is a number greater than or equal to 250, create a persistent notification with ID pm10_warning, title 'Air quality warning!!!', and message 'Fine dust (PM10) at hazardous levels'.",
"natural_language": {
"trigger": "When a new MQTT message arrives on the topic 'home/sensor/pm10'.",
"conditions": "There are no conditions that must be met.",
"action": "The automation checks the numeric value in the message. If the value is at least 150 but less than 250, it creates a persistent warning notification stating that PM10 levels exceed safe limits. If the value is 250 or higher, it creates a persistent warning notification stating that fine dust (PM10) is at hazardous levels."
},
"human_like": "Sends an air quality warning notification when PM10 sensor readings reach unhealthy or hazardous levels.",
"complexity": "medium"
}
},
{
"id": "'1748949758398'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic 'home/sensor/co2'. CONDITIONS: None. ACTIONS: If the payload value is between 1000 and 3000 inclusive, then create a persistent notification with title 'Poor air circulation!!!' and message 'CO₂ concentration above safe limit'. If the payload value is greater than 3000 and up to 10000, then create a persistent notification with title 'CO2 Warning!!!' and message 'High CO₂ levels detected ventilation activated'.",
"natural_language": {
"trigger": "The automation is triggered whenever a new message is published to the MQTT topic 'home/sensor/co2'.",
"conditions": "There are no additional conditions that must be met.",
"action": "Depending on the CO₂ concentration value received in the MQTT message, the system will create a warning notification. If the value is between 1000 and 3000 parts per million, it creates a notification titled 'Poor air circulation!!!' with a message about CO₂ being above the safe limit. If the value is higher, between 3001 and 10000 parts per million, it creates a more urgent notification titled 'CO2 Warning!!!' indicating that ventilation has been activated."
},
"human_like": "Sends air quality warnings based on CO₂ levels, with different alerts for elevated and high concentrations.",
"complexity": "medium"
}
},
{
"id": "'1748949853195'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic home/sensor/co. CONDITIONS: None. ACTIONS: If the payload is a numeric value between 15 and 50 (inclusive), create a persistent notification with title 'Warning!!!' and message 'CO levels exceed safe threshold risk of poisoning' (ID: co_warning). Otherwise, if the payload is a numeric value greater than 50 and up to 300, create a persistent notification with title 'Danger!!!!' and message 'High levels of carbon monoxide detected evacuate immediately' (ID: co2_warning).",
"natural_language": {
"trigger": "The automation is triggered whenever a new message is published to the MQTT topic 'home/sensor/co'.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation checks the numeric value in the received message. If the value is between 15 and 50 parts per million, it creates a persistent warning notification. If the value is between 51 and 300 parts per million, it creates a more urgent danger notification. No action is taken for values outside these ranges."
},
"human_like": "Sends urgent notifications when carbon monoxide (CO) sensor readings reach dangerous levels.",
"complexity": "medium"
}
},
{
"id": "'1748859184225'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on topic 'home/living/people/fall/state' with payload '1'. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Fall Detection Warning!!!' and message 'Someone fell in the living room'.",
"natural_language": {
"trigger": "When a specific MQTT message indicating a fall is received from the topic 'home/living/people/fall/state'.",
"conditions": "There are no conditions that must be met.",
"action": "Immediately creates a prominent on-screen notification with the title 'Fall Detection Warning!!!' and the message 'Someone fell in the living room'."
},
"human_like": "Sends an urgent notification if a fall is detected in the living room.",
"complexity": "low"
}
},
{
"id": "'1748956648036'",
"result": {
"structured": "TRIGGER: When the humidity attribute of living room humidifier [humidifier.living_room_humidifier] is greater than 0 AND less than the value of humid sensor [sensor.humid_sensor]. CONDITIONS: None. ACTIONS: Publish the message 'humidifying' to the MQTT topic 'home/living/humidity/action' with QoS 1 and retain flag true.",
"natural_language": {
"trigger": "When the current humidity level reported by the living room humidifier [humidifier.living_room_humidifier] is above 0% and below the humidity level measured by the humid sensor [sensor.humid_sensor].",
"conditions": "There are no conditions that must be met.",
"action": "Sends an MQTT message with the payload 'humidifying' to the topic 'home/living/humidity/action', ensuring the message is retained and delivered with quality of service level 1."
},
"human_like": "Sends a command to start humidifying when the humidifier's internal humidity reading is lower than the room's sensor reading.",
"complexity": "low"
}
},
{
"id": "'1748957956807'",
"result": {
"structured": "TRIGGER: When the humidity attribute of living room humidifier [humidifier.living_room_humidifier] is above the value of humid sensor [sensor.humid_sensor] AND below 100. CONDITIONS: None. ACTIONS: Publish the message 'drying' to the MQTT topic 'home/living/humidity/action' with QoS 1 and retain flag set to true.",
"natural_language": {
"trigger": "When the current humidity level reported by the living room humidifier [humidifier.living_room_humidifier] is higher than the value from the humid sensor [sensor.humid_sensor] but still below 100%.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a command by publishing the word 'drying' to a specific MQTT topic (home/living/humidity/action), ensuring the message is retained for new subscribers."
},
"human_like": "Sends a 'drying' command when the humidifier's reported humidity is higher than the sensor reading, likely to trigger a dehumidification mode.",
"complexity": "low"
}
},
{
"id": "'1748958953795'",
"result": {
"structured": "TRIGGER: When the humidity attribute of bedroom humidifier 1 [humidifier.bedroom_humidifier_1] is above the value of humid sensor [sensor.humid_sensor] AND below 100. CONDITIONS: None. ACTIONS: Publish an MQTT message to the topic 'home/bedroom/1/humidity/action' with the payload 'drying', using QoS 1 and retain flag true.",
"natural_language": {
"trigger": "When the humidity reading from the bedroom humidifier 1 [humidifier.bedroom_humidifier_1] is greater than the value reported by the humid sensor [sensor.humid_sensor] but still less than 100%.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a message via MQTT to the topic 'home/bedroom/1/humidity/action' with the command 'drying', ensuring the message is delivered reliably and persists for new subscribers."
},
"human_like": "Activates a drying command when the bedroom humidifier's humidity is higher than a reference sensor but hasn't reached the maximum level.",
"complexity": "low"
}
},
{
"id": "'1748959014888'",
"result": {
"structured": "TRIGGER: When the humidity attribute of bedroom humidifier 1 [humidifier.bedroom_humidifier_1] is greater than 0 AND less than the current state of humid sensor [sensor.humid_sensor]. CONDITIONS: None. ACTIONS: Publish the message 'humidifying' to the MQTT topic 'home/bedroom/1/humidity/action' with QoS 1 and retain flag true.",
"natural_language": {
"trigger": "When the humidity level reported by the bedroom humidifier 1 [humidifier.bedroom_humidifier_1] is above zero but below the current humidity reading from the humid sensor [sensor.humid_sensor].",
"conditions": "There are no additional conditions for this automation.",
"action": "Sends an MQTT command to the topic 'home/bedroom/1/humidity/action' with the payload 'humidifying', ensuring the message is delivered reliably and retained for new subscribers."
},
"human_like": "Activates the humidifying action for bedroom 1 when the humidifier's own humidity reading is positive but lower than the room's main sensor.",
"complexity": "low"
}
},
{
"id": "'1748959058628'",
"result": {
"structured": "TRIGGER: When the humidity attribute of bedroom humidifier 2 [humidifier.bedroom_humidifier_2] is above the value of humid sensor [sensor.humid_sensor] AND below 100. CONDITIONS: None. ACTIONS: Publish an MQTT message to topic 'home/bedroom/2/humidity/action' with payload 'drying' (QoS 1, retained).",
"natural_language": {
"trigger": "When the current humidity level reported by the bedroom humidifier 2 [humidifier.bedroom_humidifier_2] is higher than the value from the humid sensor [sensor.humid_sensor] but still below 100%.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a command by publishing an MQTT message to the topic 'home/bedroom/2/humidity/action' with the content 'drying', ensuring the message is retained and delivered with quality of service level 1."
},
"human_like": "Sends a signal to start drying in bedroom 2 when the humidifier's humidity reading is too high compared to a reference sensor.",
"complexity": "low"
}
},
{
"id": "'1748959088933'",
"result": {
"structured": "TRIGGER: When the humidity attribute of bedroom humidifier 2 [humidifier.bedroom_humidifier_2] is greater than 0 AND less than the current value of humid sensor [sensor.humid_sensor]. CONDITIONS: None. ACTIONS: Publish an MQTT message to the topic 'home/bedroom/2/humidity/action' with the payload 'humidifying', using QoS 1 and retain flag true.",
"natural_language": {
"trigger": "When the humidity reading from the bedroom humidifier 2 [humidifier.bedroom_humidifier_2] is above 0 percent but below the current humidity level reported by the humid sensor [sensor.humid_sensor].",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends an MQTT command to the topic 'home/bedroom/2/humidity/action' with the message 'humidifying', ensuring the message is delivered reliably and persists for new subscribers."
},
"human_like": "Activates the humidifier in bedroom 2 when its internal humidity reading is positive but lower than the main room sensor, signaling it should start adding moisture.",
"complexity": "low"
}
},
{
"id": "'1748959317369'",
"result": {
"structured": "TRIGGER: When an MQTT message is received on the topic 'home/sensor/humidity'. CONDITIONS: None. ACTIONS: Based on the numeric payload of the trigger message: IF (20 < payload <= 30) THEN publish payload '60' to topics 'home/living/humidity/set', 'home/bedroom/1/humidity/set', and 'home/bedroom/2/humidity/set'. IF (0 <= payload <= 20) THEN publish payload '40' to the same three topics. IF (80 < payload <= 100) THEN publish payload '40' to the same three topics. IF (70 < payload <= 80) THEN publish payload '50' to the same three topics. All MQTT publications use QoS 2 and retain flag true.",
"natural_language": {
"trigger": "When a new humidity reading is received via MQTT on the topic 'home/sensor/humidity'.",
"conditions": "There are no additional conditions to check.",
"action": "The automation reads the humidity value from the message and sets target humidity levels for three different rooms accordingly. If the humidity is between 20% and 30% (exclusive of 20, inclusive of 30), it sets the target to 60% for the living room and two bedrooms. If the humidity is between 0% and 20% (inclusive), or between 80% and 100% (exclusive of 80, inclusive of 100), it sets the target to 40%. If the humidity is between 70% and 80% (exclusive of 70, inclusive of 80), it sets the target to 50%. These target values are sent as retained MQTT messages with high reliability (QoS 2)."
},
"human_like": "Automatically adjusts the target humidity for multiple rooms based on a central humidity sensor reading.",
"complexity": "medium"
}
}
]