AutomationDataset/Techposts/automation-descriptions.json

15 lines
3.1 KiB
JSON

[
{
"id": "Enhanced High Power Usage Monitoring",
"result": {
"structured": "TRIGGER: When power meter measured power [sensor.gf_power_meter_gf_measured_power] exceeds 3.1 kW for 30 seconds OR When power meter measured power [sensor.gf_power_meter_gf_measured_power] exceeds 3.8 kW for 15 seconds OR When power meter measured power [sensor.gf_power_meter_gf_measured_power] exceeds 3.1 kW for 5 minutes. CONDITIONS: (Time is between 07:00:00 and 22:00:00) AND (At least 10 minutes have passed since the last alert recorded in last power alert [input_datetime.last_power_alert] OR last power alert [input_datetime.last_power_alert] is unavailable/unknown) AND (The computed power_level variable is greater than 0). ACTIONS: Based on the trigger: If triggered by critical_level (exceeds 3.8 kW for 15 seconds), send a critical notification to persistent_notification, mobile app [notify.mobile_app_ravis_iphone], and Alexa media [notify.alexa_media]. If triggered by extended_warning (exceeds 3.1 kW for 5 minutes), send an extended high usage notification to persistent_notification, mobile app [notify.mobile_app_ravis_iphone], and Alexa media [notify.alexa_media]. If triggered by warning_level (exceeds 3.1 kW for 30 seconds), send a high usage notification to persistent_notification, mobile app [notify.mobile_app_ravis_iphone], and Alexa media [notify.alexa_media]. Then, update last power alert [input_datetime.last_power_alert] with the current time and update last power level [input_number.last_power_level] with the computed power_level value.",
"natural_language": {
"trigger": "The automation triggers when the power meter measured power [sensor.gf_power_meter_gf_measured_power] exceeds 3.1 kilowatts for 30 seconds, or when it exceeds 3.8 kilowatts for 15 seconds, or when it exceeds 3.1 kilowatts for a continuous period of 5 minutes.",
"conditions": "The automation only runs if the current time is between 7:00 AM and 10:00 PM. It also requires that at least 10 minutes have passed since the last recorded alert time stored in last power alert [input_datetime.last_power_alert], unless that value is unavailable. Finally, the computed power level, which is the higher of two sensor readings, must be greater than zero.",
"action": "Depending on which threshold was crossed, the system sends a series of alerts. For a critical overload (3.8 kW for 15 seconds), it sends urgent, high-priority notifications to the phone, Alexa devices, and creates a persistent notification. For an extended high usage (3.1 kW for 5 minutes), it sends time-sensitive warnings. For a standard high usage (3.1 kW for 30 seconds), it sends passive alerts. All alerts include the current power level and a guess at which appliance might be causing it. Finally, it records the time of this alert and the power level for future reference."
},
"human_like": "This automation monitors home power usage and sends graduated alerts to your phone and Alexa devices if consumption is too high for too long, helping to prevent overloads and manage electricity costs.",
"complexity": "high"
}
}
]