AutomationDataset/BShurilla/automation-descriptions.json

171 lines
14 KiB
JSON

[
{
"id": "End Quick Clean Mode",
"result": {
"structured": "TRIGGER: Every 10 minutes (time pattern). CONDITIONS: (quick clean mode [input_boolean.quick_clean_mode] is on) AND (current time is greater than or equal to (the datetime value stored in quick clean start [input_datetime.quick_clean_start] plus 8 hours)). ACTIONS: Turn off quick clean mode [input_boolean.quick_clean_mode].",
"natural_language": {
"trigger": "The automation triggers every 10 minutes.",
"conditions": "The automation checks if the quick clean mode [input_boolean.quick_clean_mode] is currently on, and if the current time is at least 8 hours after the start time stored in quick clean start [input_datetime.quick_clean_start].",
"action": "It turns off the quick clean mode [input_boolean.quick_clean_mode]."
},
"human_like": "Automatically turns off the Quick Clean Mode after it has been active for 8 hours.",
"complexity": "medium"
}
},
{
"id": "✅ Flow Restored - Clear Alert",
"result": {
"structured": "TRIGGER: When pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] rises above 0.1 GPM. CONDITIONS: esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] is above 0 RPM. ACTIONS: Dismiss the persistent notification with ID 'pool_pump_flow_warning'.",
"natural_language": {
"trigger": "When the pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] detects a flow rate greater than 0.1 gallons per minute.",
"conditions": "The automation only proceeds if the esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] is greater than 0 RPM, meaning the pump is actively running.",
"action": "Clears the persistent alert notification with the ID 'pool_pump_flow_warning'."
},
"human_like": "Clears the pool pump flow warning alert when water flow is restored and the pump is running.",
"complexity": "low"
}
},
{
"id": "Gallon Counter Increment",
"result": {
"structured": "TRIGGER: Every minute when the time pattern matches minutes: /1. CONDITIONS: pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] is above 0. ACTIONS: Repeat the following sequence a number of times equal to the rounded integer value of pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm]: Increment gallons this cycle [counter.gallons_this_cycle].",
"natural_language": {
"trigger": "The automation runs every minute, on the minute.",
"conditions": "It only proceeds if the pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] sensor reports a value greater than zero.",
"action": "It increments the gallons this cycle [counter.gallons_this_cycle] counter. The number of increments performed equals the current flow rate value from the sensor, rounded to the nearest whole number."
},
"human_like": "Every minute, it adds gallons to a counter based on the current pool flow rate, effectively tracking total gallons pumped per cycle.",
"complexity": "medium"
}
},
{
"id": "Pool Pump Manual Override - Turn Off",
"result": {
"structured": "TRIGGER: When esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run] turns off. CONDITIONS: None. ACTIONS: Turn off pool pump manual [input_boolean.pool_pump_manual].",
"natural_language": {
"trigger": "When the pool pump switch [switch.esp32_pool_pump_pool_pump_run] is turned off.",
"conditions": "There are no conditions that must be met.",
"action": "Turns off the manual override flag [input_boolean.pool_pump_manual]."
},
"human_like": "Automatically resets the pool pump manual override when the pump is turned off.",
"complexity": "low"
}
},
{
"id": "Pool Pump Manual Override - Turn On",
"result": {
"structured": "TRIGGER: When esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run] turns on. CONDITIONS: (NOT (time is between 07:59:00 and 08:01:00)) AND (pool pump manual [input_boolean.pool_pump_manual] is off). ACTIONS: Turn on pool pump manual [input_boolean.pool_pump_manual].",
"natural_language": {
"trigger": "When the pool pump switch, esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run], is turned on.",
"conditions": "If the current time is not between 7:59 AM and 8:01 AM, and the manual override flag, pool pump manual [input_boolean.pool_pump_manual], is currently off.",
"action": "Activates the manual override by turning on the pool pump manual [input_boolean.pool_pump_manual] input boolean."
},
"human_like": "Sets a manual override flag for the pool pump if it is turned on outside of its scheduled time window.",
"complexity": "medium"
}
},
{
"id": "Pump Cycle End - Stop at 18000 Gallons",
"result": {
"structured": "TRIGGER: When gallons this cycle [counter.gallons_this_cycle] exceeds 17999. CONDITIONS: The current time is after 08:00:00. ACTIONS: Turn off esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run].",
"natural_language": {
"trigger": "When the gallons this cycle [counter.gallons_this_cycle] counter rises above 17,999 gallons.",
"conditions": "The automation only runs if the current time is after 8:00 AM.",
"action": "Turns off the pool pump by switching off esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run]."
},
"human_like": "Stops the pool pump after it has pumped 18,000 gallons, but only if it's after 8 AM.",
"complexity": "low"
}
},
{
"id": "Pump Cycle Start - 3000 RPM at 8 AM",
"result": {
"structured": "TRIGGER: At 08:00:00 daily. CONDITIONS: quick clean timer [timer.quick_clean_timer] is idle. ACTIONS: Turn on esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run] AND set esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm] to 3000.",
"natural_language": {
"trigger": "Every day at 8:00 AM.",
"conditions": "The quick clean timer [timer.quick_clean_timer] must not be running; it must be in an idle state.",
"action": "Turns on the pool pump by activating the switch esp32 pool pump pool pump run [switch.esp32_pool_pump_pool_pump_run] and sets the pump's target speed to 3000 RPM via the number entity esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm]."
},
"human_like": "Starts the pool pump at 8 AM for a daily cycle, setting it to run at 3000 RPM, but only if a quick clean timer is not active.",
"complexity": "low"
}
},
{
"id": "Pump Cycle Step 2 - 2450 RPM at 6000 Gallons",
"result": {
"structured": "TRIGGER: When gallons this cycle [counter.gallons_this_cycle] is above 5999 AND below 12000. CONDITIONS: The current time is after 08:00:00 AND quick clean timer [timer.quick_clean_timer] is idle. ACTIONS: Set esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm] to 2450.",
"natural_language": {
"trigger": "When the gallons this cycle [counter.gallons_this_cycle] counter reaches a value between 6000 and 11999 gallons.",
"conditions": "The automation only runs if the current time is after 8:00 AM and the quick clean timer [timer.quick_clean_timer] is not currently running (idle).",
"action": "Sets the pool pump's target speed to 2450 RPM by updating the esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm]."
},
"human_like": "Increases the pool pump speed to 2450 RPM after a certain amount of water has been filtered, but only during the day and when a cleaning cycle isn't active.",
"complexity": "low"
}
},
{
"id": "Pump Cycle Step 3 - 1700 RPM at 12000 Gallons",
"result": {
"structured": "TRIGGER: When gallons this cycle [counter.gallons_this_cycle] is above 11999 AND below 18000. CONDITIONS: The time is after 08:00:00 AND quick clean timer [timer.quick_clean_timer] is idle. ACTIONS: Set esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm] to 1700.",
"natural_language": {
"trigger": "When the gallons this cycle [counter.gallons_this_cycle] counter reaches a value between 12,000 and 17,999 gallons.",
"conditions": "The automation only runs if the current time is after 8:00 AM and the quick clean timer [timer.quick_clean_timer] is not currently active (idle).",
"action": "Sets the target speed of the pool pump to 1700 RPM by updating the esp32 pool pump pump target rpm [number.esp32_pool_pump_pump_target_rpm]."
},
"human_like": "Increases the pool pump speed to 1700 RPM when the water volume reaches a specific range, but only during the day and when a cleaning cycle isn't running.",
"complexity": "low"
}
},
{
"id": "⚠️ Pump Running But No Flow (3+ Minutes)",
"result": {
"structured": "TRIGGER: When esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] OR pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] changes state AND remains stable for 3 minutes. CONDITIONS: esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] is greater than 0 AND pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] is less than 0.1. ACTIONS: Send a persistent notification with title '⚠️ Pool Pump Flow Warning' and message 'The pump is running (RPM > 0) but flow is 0 GPM. Please check for clogs, closed valves, or airlocks.'.",
"natural_language": {
"trigger": "When either the esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] or the pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] sensor changes its value and then remains unchanged for at least three minutes.",
"conditions": "The pump's actual RPM reading must be above zero, and the measured water flow must be below 0.1 gallons per minute.",
"action": "Creates a persistent notification with a warning title and a message advising to check for clogs, closed valves, or airlocks in the pool pump system."
},
"human_like": "Sends an alert if the pool pump is running but no water is flowing for more than three minutes, indicating a potential blockage or system issue.",
"complexity": "medium"
}
},
{
"id": "Reset Gallons After Pump Idle",
"result": {
"structured": "TRIGGER: When pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] OR esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] changes to 0 and remains for 2 minutes. CONDITIONS: pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] is below 0.1 AND esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] is below 1. ACTIONS: Reset gallons this cycle [counter.gallons_this_cycle].",
"natural_language": {
"trigger": "When either the pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] or the esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] changes to zero and stays at zero for two minutes.",
"conditions": "The pool flow monitor flow gpm [sensor.pool_flow_monitor_flow_gpm] must be below 0.1, and the esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] must be below 1.",
"action": "Resets the gallons this cycle [counter.gallons_this_cycle] counter to zero."
},
"human_like": "Resets the pool's gallon counter when the pump has been idle for two minutes.",
"complexity": "low"
}
},
{
"id": "Start Quick Clean Mode",
"result": {
"structured": "TRIGGER: When the quick clean button [input_button.quick_clean_button] is pressed OR when a specific webhook (ID: INSERT WEBHOOK ID HERE) is received via POST, PUT, or GET method locally. CONDITIONS: None. ACTIONS: Set the quick clean start [input_datetime.quick_clean_start] to the current date and time, turn on quick clean mode [input_boolean.quick_clean_mode], execute the script pool_pump_quick_clean, start the quick clean timer [timer.quick_clean_timer], and reset the gallons this cycle [counter.gallons_this_cycle] counter.",
"natural_language": {
"trigger": "The automation is triggered either by pressing the quick clean button [input_button.quick_clean_button] or by receiving a specific local webhook request.",
"conditions": "There are no conditions that must be met for the automation to run.",
"action": "The automation records the current time in the quick clean start [input_datetime.quick_clean_start] input, activates the quick clean mode [input_boolean.quick_clean_mode], runs the pool pump quick clean script, starts the quick clean timer [timer.quick_clean_timer], and resets the gallons this cycle [counter.gallons_this_cycle] counter to zero."
},
"human_like": "Starts the pool's quick clean mode for 8 hours, resetting the cycle counter and starting a timer.",
"complexity": "low"
}
},
{
"id": "Update Pump Stage Start Time",
"result": {
"structured": "TRIGGER: When gallons this cycle [counter.gallons_this_cycle] is below 1 OR when gallons this cycle [counter.gallons_this_cycle] is between 5999 and 6001 (above 5999 AND below 6001) OR when gallons this cycle [counter.gallons_this_cycle] is between 11999 and 12001 (above 11999 AND below 12001) OR when gallons this cycle [counter.gallons_this_cycle] is above 17999. CONDITIONS: esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] is above 0. ACTIONS: Set stage start time [input_datetime.stage_start_time] to the current date and time.",
"natural_language": {
"trigger": "When the gallons this cycle [counter.gallons_this_cycle] falls below 1 gallon, or reaches approximately 6000 gallons (between 5999 and 6001), or reaches approximately 12000 gallons (between 11999 and 12001), or exceeds 17999 gallons.",
"conditions": "The esp32 pool pump pump actual rpm [sensor.esp32_pool_pump_pump_actual_rpm] must be greater than zero, indicating the pump is running.",
"action": "Updates the stage start time [input_datetime.stage_start_time] to the current date and time."
},
"human_like": "Records the start time for a new pump stage whenever the water usage counter hits specific thresholds, but only if the pump is currently running.",
"complexity": "medium"
}
}
]