AutomationDataset/Fouppy/automation-descriptions.json

210 lines
20 KiB
JSON

[
{
"id": "'Control switches: kitchen Rodret dimmer switch sink'",
"result": {
"structured": "TRIGGER: When a ZHA event with command 'on', cluster_id 6, and endpoint_id 1 occurs OR When a ZHA event with command 'off', cluster_id 6, and endpoint_id 1 occurs OR When a ZHA event with command 'move_with_on_off', cluster_id 8, and endpoint_id 1 occurs OR When a ZHA event with command 'move', cluster_id 8, and endpoint_id 1 occurs OR When a ZHA event with command 'stop_with_on_off', cluster_id 8, and endpoint_id 1 occurs. CONDITIONS: The device_id from the trigger event must be in the list of remote_devices (specifically device df5b9b63c997a2417895397f2d10f3bf). ACTIONS: If trigger is 'on' press: Turn on kitchen sink light [light.kitchen_sink] with 50% brightness if helper_force_brightness is true, otherwise turn it on normally. If trigger is 'off' press: Turn off kitchen sink light [light.kitchen_sink]. If trigger is 'move_with_on_off' hold: While the hold event continues, repeatedly increase brightness of kitchen sink light [light.kitchen_sink] by helper_hold_dim_step percent every helper_hold_delay seconds. If trigger is 'move' hold: Calculate current brightness percentage and steps needed to reach zero. Repeatedly decrease brightness of kitchen sink light [light.kitchen_sink] by helper_hold_dim_step percent every helper_hold_delay seconds until brightness is near zero, then set to 1% brightness.",
"natural_language": {
"trigger": "When the kitchen rodret dimmer switch [device_id: df5b9b63c997a2417895397f2d10f3bf] sends a ZHA event for a button press or hold. This includes a single press of the 'on' or 'off' button, holding the 'on' button, holding the 'off' button, or releasing a held button.",
"conditions": "The automation only runs if the event originates from the specific kitchen rodret dimmer switch device.",
"action": "Depending on the button press: A single 'on' press turns the kitchen sink light [light.kitchen_sink] on, optionally forcing it to 50% brightness if configured. A single 'off' press turns the light off. Holding the 'on' button gradually increases the light's brightness. Holding the 'off' button gradually decreases the light's brightness down to 1%."
},
"human_like": "Controls the kitchen sink light using a dimmer switch, allowing for turning it on/off and adjusting brightness by holding the buttons.",
"complexity": "high"
}
},
{
"id": "'Control switches: kitchen Rodret dimmer switch counters'",
"result": {
"structured": "TRIGGER: When a ZHA event with command 'on', cluster_id 6, and endpoint_id 1 occurs (press-on-zha) OR When a ZHA event with command 'off', cluster_id 6, and endpoint_id 1 occurs (press-off-zha) OR When a ZHA event with command 'move_with_on_off', cluster_id 8, and endpoint_id 1 occurs (hold-on-zha) OR When a ZHA event with command 'move', cluster_id 8, and endpoint_id 1 occurs (hold-off-zha) OR When a ZHA event with command 'stop_with_on_off', endpoint_id 1, and cluster_id 8 occurs (release-zha). CONDITIONS: The device_id of the triggering event must match the device_id of kitchen rodret dimmer switch [device_id: df5b9b63c997a2417895397f2d10f3bf]. ACTIONS: IF trigger is press-on-zha: IF helper_force_brightness is true THEN turn on kitchen countertop light [light.kitchen_countertop] with brightness at 50%. OTHERWISE turn on kitchen countertop light [light.kitchen_countertop] with default settings. IF trigger is press-off-zha: Turn off kitchen countertop light [light.kitchen_countertop]. IF trigger is hold-on-zha: WHILE the hold-on-zha trigger is active, repeatedly turn on kitchen countertop light [light.kitchen_countertop] increasing brightness by helper_hold_dim_step percent with a transition of helper_hold_delay seconds, and wait helper_hold_delay seconds. IF trigger is hold-off-zha: Calculate current brightness percentage and steps needed to reach zero. Repeatedly (total_iterations_to_zero - 1 times) turn on kitchen countertop light [light.kitchen_countertop] decreasing brightness by helper_hold_dim_step percent with a transition of helper_hold_delay seconds, and wait helper_hold_delay seconds. THEN set kitchen countertop light [light.kitchen_countertop] brightness to 1% with a transition of helper_hold_delay seconds.",
"natural_language": {
"trigger": "The automation is triggered by specific button presses or holds on the kitchen rodret dimmer switch [device_id: df5b9b63c997a2417895397f2d10f3bf]. These include a single press of the 'on' button, a single press of the 'off' button, holding the 'on' button, holding the 'off' button, or releasing a held button.",
"conditions": "The automation only runs if the button press or hold event originates from the specific kitchen rodret dimmer switch device.",
"action": "Depending on which button action triggered the automation: A single 'on' press turns on the kitchen countertop light [light.kitchen_countertop], optionally forcing it to 50% brightness if a helper variable is set. A single 'off' press turns the light off. Holding the 'on' button continuously increases the light's brightness. Holding the 'off' button gradually decreases the light's brightness down to a minimum of 1%."
},
"human_like": "Controls the kitchen countertop light using a specific Zigbee dimmer switch, allowing for on/off, dimming, and brightness adjustments via button presses and holds.",
"complexity": "high"
}
},
{
"id": "'Control switches: office Rodret dimmer switch bookcases'",
"result": {
"structured": "TRIGGER: When a ZHA event with command 'on' on cluster 6 endpoint 1 is received OR When a ZHA event with command 'off' on cluster 6 endpoint 1 is received OR When a ZHA event with command 'move_with_on_off' on cluster 8 endpoint 1 is received OR When a ZHA event with command 'move' on cluster 8 endpoint 1 is received OR When a ZHA event with command 'stop_with_on_off' on cluster 8 endpoint 1 is received. CONDITIONS: The device that generated the ZHA event is the office rodret dimmer switch [device_id: 8b9d1a82015ce6dcacc147b0beba435a]. ACTIONS: If the trigger is 'on' press: If helper_force_brightness is true, turn on office bookcases light [light.office_bookcases] to 50% brightness; otherwise, turn it on to its previous state. If the trigger is 'off' press: Turn off office bookcases light [light.office_bookcases]. If the trigger is 'move_with_on_off' hold: While the button is held, repeatedly increase the brightness of office bookcases light [light.office_bookcases] by helper_hold_dim_step percent every helper_hold_delay seconds. If the trigger is 'move' hold: Calculate the current brightness percentage of office bookcases light [light.office_bookcases], then repeatedly decrease the brightness by helper_hold_dim_step percent every helper_hold_delay seconds until it reaches 1% brightness, then set it to 1%. If the trigger is 'stop_with_on_off' release: No action is defined for this trigger.",
"natural_language": {
"trigger": "The automation is triggered by specific button presses and holds on the office rodret dimmer switch [device_id: 8b9d1a82015ce6dcacc147b0beba435a]. The triggers include a single press of the 'on' button, a single press of the 'off' button, holding the 'on' button, holding the 'off' button, and releasing a held button.",
"conditions": "The automation only runs if the button press or hold event originated from the specific office rodret dimmer switch [device_id: 8b9d1a82015ce6dcacc147b0beba435a].",
"action": "Depending on which button action triggered the automation: For an 'on' press, the office bookcases light [light.office_bookcases] is turned on. If a special brightness override is enabled, it sets the brightness to 50%; otherwise, it turns on to its last state. For an 'off' press, the light is turned off. For a held 'on' button, the light's brightness is gradually increased in steps while the button is held. For a held 'off' button, the light's brightness is gradually decreased in steps until it reaches a minimum of 1% brightness. A button release trigger does not perform any action."
},
"human_like": "This automation allows the office rodret dimmer switch to control the office bookcases light, supporting on/off, dimming up while holding the on button, and dimming down while holding the off button.",
"complexity": "high"
}
},
{
"id": "'Leaving: ask to turn off everything'",
"result": {
"structured": "TRIGGER: When fouppy person [person.fouppy] leaves home (state changes from home) OR when moom person [person.moom] leaves home (state changes from home). CONDITIONS: (no one home sensor [binary_sensor.no_one_home] is on) AND (anything on sensor [binary_sensor.anything_on] is on). ACTIONS: Wait for 5 minutes, then check if no one home sensor [binary_sensor.no_one_home] is still on, and if so, send a notification to phone fouppy notification [notify.phone_fouppy] with the message 'No one is home, turn off everything?' and an action button 'Turn off everything'.",
"natural_language": {
"trigger": "When either fouppy person [person.fouppy] or moom person [person.moom] leaves home.",
"conditions": "Both the no one home sensor [binary_sensor.no_one_home] and the anything on sensor [binary_sensor.anything_on] must be in the 'on' state, indicating that no one is home and something is still turned on.",
"action": "After a five-minute delay, the automation checks again if the no one home sensor [binary_sensor.no_one_home] is still on. If it is, a notification is sent to phone fouppy notification [notify.phone_fouppy] asking if everything should be turned off, with a button to perform that action."
},
"human_like": "Sends a notification to ask if all devices should be turned off when both residents have left home and something is still running.",
"complexity": "medium"
}
},
{
"id": "'Leaving: turn off everything after notification'",
"result": {
"structured": "TRIGGER: When a mobile app notification action event occurs with action TURN_OFF_EVERYTHING. CONDITIONS: None. ACTIONS: Execute leaving script [script.leaving].",
"natural_language": {
"trigger": "When a specific action, 'TURN_OFF_EVERYTHING', is selected from a notification sent to the mobile app.",
"conditions": "There are no additional conditions that must be met.",
"action": "Runs the leaving script [script.leaving]."
},
"human_like": "Turns off everything in the house when the user confirms the action from a mobile notification.",
"complexity": "low"
}
},
{
"id": "'System: warning about high CPU usage'",
"result": {
"structured": "TRIGGER: When system monitor processor use sensor [sensor.system_monitor_processor_use] remains above 70% for 4 hours. CONDITIONS: None. ACTIONS: Send a notification to phone fouppy notification [notify.phone_fouppy] with title 'System' and message 'CPU usage has been above 70% for 4 hours! ⚠️🖥'.",
"natural_language": {
"trigger": "When the system monitor processor use sensor [sensor.system_monitor_processor_use] reports a value higher than 70% for a continuous period of 4 hours.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a notification to the phone fouppy notification [notify.phone_fouppy] service with the title 'System' and a warning message about the sustained high CPU usage."
},
"human_like": "Sends a phone notification if the system's CPU usage stays above 70% for four hours.",
"complexity": "low"
}
},
{
"id": "'System: warning about high CPU temperature'",
"result": {
"structured": "TRIGGER: When cpu temperature mean sensor [sensor.cpu_temperature_mean] remains above 70 °C for 4 hours. CONDITIONS: None. ACTIONS: Send a notification to phone fouppy notification [notify.phone_fouppy] with title 'System' and message 'CPU temperature has been above 70 °C for 4 hours! ⚠️'.",
"natural_language": {
"trigger": "When the cpu temperature mean sensor [sensor.cpu_temperature_mean] reports a temperature above 70 degrees Celsius for a continuous period of 4 hours.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a warning notification titled 'System' to the phone fouppy notification [notify.phone_fouppy], stating that the CPU temperature has been high for 4 hours."
},
"human_like": "Sends a phone warning if the average CPU temperature stays too high for an extended period.",
"complexity": "low"
}
},
{
"id": "'System: battery level low'",
"result": {
"structured": "TRIGGER: At 14:30:00 daily. CONDITIONS: For each battery sensor in the list, the sensor's entity_id does NOT contain 'iphone' AND does NOT contain '1+8' AND the sensor's battery level is greater than 0% AND less than min_battery_level (50%). ACTIONS: For each qualifying sensor, send a notification to phone fouppy notification [notify.phone_fouppy] with title 'System' and message 'Battery level low of [sensor_entity_id]: [battery_level]%! ⚠️'.",
"natural_language": {
"trigger": "Every day at 2:30 PM.",
"conditions": "For each battery sensor found in the system, the sensor's name must not contain the words 'iphone' or '1+8', and its reported battery level must be above 0% but below the defined minimum threshold of 50%.",
"action": "Sends a notification to the phone fouppy notification [notify.phone_fouppy] for each low battery sensor, alerting the user with the sensor's name and current battery percentage."
},
"human_like": "Sends a daily alert for any device batteries that are running low, excluding specific phones.",
"complexity": "medium"
}
},
{
"id": "'System: SpeedTest'",
"result": {
"structured": "TRIGGER: When the time pattern matches every hour (hours: /1). CONDITIONS: None. ACTIONS: Execute update speedtest script [script.update_speedtest].",
"natural_language": {
"trigger": "The automation runs every hour, on the hour.",
"conditions": "There are no conditions that must be met.",
"action": "Runs the update speedtest script [script.update_speedtest]."
},
"human_like": "Runs an internet speed test every hour.",
"complexity": "low"
}
},
{
"id": "'Utilities: washing machine or dishwasher started or finished'",
"result": {
"structured": "TRIGGER: When dishwasher sensor [binary_sensor.dishwasher] changes state OR When washing machine sensor [binary_sensor.washing_machine] changes state. CONDITIONS: (The new state is 'on' AND the previous state was 'off') OR (The new state is 'off' AND the previous state was 'on'). ACTIONS: Set the datetime of an input_datetime entity named after the triggering device and its new state (e.g., input_datetime.dishwasher_on) to the current timestamp.",
"natural_language": {
"trigger": "When the dishwasher sensor [binary_sensor.dishwasher] or the washing machine sensor [binary_sensor.washing_machine] changes its state.",
"conditions": "The state change must be a transition from off to on, or from on to off.",
"action": "Records the time of the event by setting a corresponding datetime helper. For example, if the dishwasher turns on, it sets the datetime for an entity named 'dishwasher_on' to the current time."
},
"human_like": "Records the start and finish times for the dishwasher or washing machine by tracking when they turn on or off.",
"complexity": "medium"
}
},
{
"id": "'Utilities: washing machine notification'",
"result": {
"structured": "TRIGGER: When washing machine sensor [binary_sensor.washing_machine] changes state from on to off. CONDITIONS: None. ACTIONS: Run utility notification script [script.utility_notification] with data: name 'Washing machine', emojis '👚👕'.",
"natural_language": {
"trigger": "When the washing machine sensor [binary_sensor.washing_machine] changes from being on to being off.",
"conditions": "There are no conditions for this automation.",
"action": "Runs the utility notification script [script.utility_notification] to send a notification, specifying the name as 'Washing machine' and including the emojis '👚👕'."
},
"human_like": "Sends a notification when the washing machine finishes its cycle.",
"complexity": "low"
}
},
{
"id": "'Utilities: dishwasher notification'",
"result": {
"structured": "TRIGGER: When dishwasher sensor [binary_sensor.dishwasher] changes state from on to off. CONDITIONS: None. ACTIONS: Run utility notification script [script.utility_notification] with data: name 'Dishwasher', emojis '🍽🍳'.",
"natural_language": {
"trigger": "When the dishwasher sensor [binary_sensor.dishwasher] finishes its cycle, indicated by its state changing from 'on' to 'off'.",
"conditions": "There are no additional conditions that must be met for this automation to proceed.",
"action": "Sends a notification by running the utility notification script [script.utility_notification], specifying the appliance name as 'Dishwasher' and including the emojis 🍽🍳."
},
"human_like": "Sends a notification when the dishwasher has finished its cycle.",
"complexity": "low"
}
},
{
"id": "'Utilities: switch mosquito plug on'",
"result": {
"structured": "TRIGGER: When the time is 20:00:00. CONDITIONS: None. ACTIONS: Turn on living room mosquito plug switch [switch.living_room_mosquito_plug].",
"natural_language": {
"trigger": "At 8:00 PM every day.",
"conditions": "There are no conditions that need to be met.",
"action": "Turns on the living room mosquito plug switch [switch.living_room_mosquito_plug]."
},
"human_like": "Turns on the mosquito plug in the living room every evening at 8 PM.",
"complexity": "low"
}
},
{
"id": "'Utilities: switch mosquito plug off'",
"result": {
"structured": "TRIGGER: When the time is 08:00:00. CONDITIONS: None. ACTIONS: Turn off living room mosquito plug switch [switch.living_room_mosquito_plug].",
"natural_language": {
"trigger": "Every day at 8:00 AM.",
"conditions": "There are no conditions that must be met.",
"action": "Turns off the living room mosquito plug switch [switch.living_room_mosquito_plug]."
},
"human_like": "Automatically turns off the mosquito plug in the living room at 8:00 AM each day.",
"complexity": "low"
}
},
{
"id": "'Work: Fouppy left work notification for MooM'",
"result": {
"structured": "TRIGGER: When fouppy person [person.fouppy] changes state from Fouppy Work. CONDITIONS: The current time is between 15:00:00 and 22:00:00. ACTIONS: Send a notification to phone moom notification [notify.phone_moom] with title 'Work' and message 'Fouppy has left work! ♥️🎉'.",
"natural_language": {
"trigger": "When the person entity for Fouppy [person.fouppy] changes its state from 'Fouppy Work'.",
"conditions": "The automation only runs if the current time is between 3:00 PM and 10:00 PM.",
"action": "Sends a notification titled 'Work' with the message 'Fouppy has left work! ♥️🎉' to the notification service for MooM's phone [notify.phone_moom]."
},
"human_like": "Sends a loving notification to MooM when Fouppy leaves work during the afternoon or evening.",
"complexity": "low"
}
},
{
"id": "'Work: MooM left work notification for Fouppy'",
"result": {
"structured": "TRIGGER: When moom person [person.moom] changes state from MooM Work. CONDITIONS: The current time is between 15:00:00 AND before 22:00:00. ACTIONS: Send a notification to phone fouppy notification [notify.phone_fouppy] with title 'Work' and message 'MooM has left work! ♥️🎉'.",
"natural_language": {
"trigger": "When the moom person [person.moom] changes their state from 'MooM Work'.",
"conditions": "The automation only runs if the current time is between 3:00 PM and 10:00 PM.",
"action": "Sends a notification to Fouppy's phone [notify.phone_fouppy] with the title 'Work' and the message 'MooM has left work! ♥️🎉'."
},
"human_like": "Sends a notification to Fouppy when MooM leaves work during the afternoon or evening.",
"complexity": "low"
}
}
]