AutomationDataset/borgermeister/automation-descriptions.json

54 lines
10 KiB
JSON

[
{
"id": "Varmepumpe dag/natt senkning",
"result": {
"structured": "TRIGGER: At 00:00:00 (midnight) OR At 06:00:00 (morning). CONDITIONS: None. ACTIONS: Choose based on trigger and month: If triggered at midnight AND current month is March, April, May, June, July, August, or September, then set heat pump [939fec7cc6847c021ddb0e9af9cf37bc] to heat mode, wait 1 second, and set temperature to 18°C. If triggered at midnight AND current month is October, November, December, January, or February, then set heat pump [939fec7cc6847c021ddb0e9af9cf37bc] to heat mode, wait 1 second, and set temperature to 19°C. If triggered at 06:00:00 AND current month is March, April, May, June, July, August, or September, then set heat pump [939fec7cc6847c021ddb0e9af9cf37bc] to fan_only mode. If triggered at 06:00:00 AND current month is October, November, December, January, or February, then set heat pump [939fec7cc6847c021ddb0e9af9cf37bc] to heat mode, wait 1 second, and set temperature to 21°C.",
"natural_language": {
"trigger": "The automation runs at two specific times: at midnight (00:00) and at 6:00 in the morning.",
"conditions": "There are no general conditions. The specific actions depend on which time triggered the automation and the current month of the year.",
"action": "At midnight, the heat pump [939fec7cc6847c021ddb0e9af9cf37bc] is set to a lower temperature for energy saving. From March to September, it's set to 18°C in heat mode. From October to February, it's set to 19°C in heat mode. At 6:00 in the morning, the heat pump [939fec7cc6847c021ddb0e9af9cf37bc] adjusts to a daytime setting. From March to September, it's switched to fan-only mode. From October to February, it's set to heat mode with a temperature of 21°C."
},
"human_like": "Automatically adjusts the heat pump temperature and mode at midnight and in the morning, using different settings for summer and winter months to save energy and ensure comfort.",
"complexity": "medium"
}
},
{
"id": "Vaskerom / Motion activated light (Home Mode)",
"result": {
"structured": "TRIGGER: When laundry room motion sensor [binary_sensor.vaskerom_motion_sensor_bevegelse] detects motion (on) OR When laundry room motion sensor [binary_sensor.vaskerom_motion_sensor_bevegelse] stops detecting motion (off) AND remains off for 2 minutes. CONDITIONS: home mode [input_boolean.home_mode] is on. ACTIONS: If motion is detected AND electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level is LOW, turn on lights in area 'vaskerom' with green color (RGB 0, 249, 0) at 100% brightness, with a 5-second transition. (A disabled sub-action would dim to 50% after 90 seconds). If motion is detected AND electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level is NORMAL, turn on lights in area 'vaskerom' with yellow color (RGB 255, 251, 0) at 100% brightness, with a 5-second transition. (A disabled sub-action would dim to 50% after 90 seconds). If motion is detected AND electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level is HIGH, turn on lights in area 'vaskerom' with red color (RGB 255, 38, 0) at 100% brightness, with a 5-second transition. (A disabled sub-action would dim to 50% after 90 seconds). If motion is clear (off for 2 minutes), turn off lights in area 'vaskerom' with a 5-second transition.",
"natural_language": {
"trigger": "The automation is triggered either when the laundry room motion sensor [binary_sensor.vaskerom_motion_sensor_bevegelse] first detects motion, or when it stops detecting motion and that state persists for two minutes.",
"conditions": "The automation only runs if the home mode [input_boolean.home_mode] is switched on.",
"action": "Depending on the trigger and the current electricity price level, different actions are taken. If motion is detected and the electricity price [sensor.dallonaveien_15a_electricity_price] is LOW, the lights in the laundry room turn on to a bright green. If the price is NORMAL, they turn on to a bright yellow. If the price is HIGH, they turn on to a bright red. Each of these 'on' actions includes a 5-second fade-in. (Note: A follow-up action to dim the lights and change them back to green after 90 seconds is present in the automation but is currently disabled). If motion has been absent for two minutes, the lights in the laundry room are turned off with a 5-second fade-out."
},
"human_like": "Automatically controls the laundry room lights based on motion and the current electricity price, using different colored lights to indicate low, normal, or high price periods when turning them on.",
"complexity": "medium"
}
},
{
"id": "Vaskerom / VVB kostnad",
"result": {
"structured": "TRIGGER: When water heater power sensor [1173acd30ac665c1859efed7631a8799] power remains above 100W for 10 seconds OR When water heater power sensor [1173acd30ac665c1859efed7631a8799] power remains below 100W for 10 seconds. CONDITIONS: None. ACTIONS: Choose based on trigger: If triggered by effect_above_100W, set water heater start [input_number.vaskerom_vvb_start] to current value of water heater summation delivered [sensor.vaskerom_vvb_summation_delivered] AND send mobile notification 'Varmtvannsbereder er slått på!' to mobile_app_borgermeister. If triggered by effect_below_100W, set water heater stop [input_number.vaskerom_vvb_stop] to current value of water heater summation delivered [sensor.vaskerom_vvb_summation_delivered] AND send mobile notification with electricity price, consumption, and cost to mobile_app_borgermeister AND create a persistent notification with the same details.",
"natural_language": {
"trigger": "When the water heater power sensor [1173acd30ac665c1859efed7631a8799] shows power consumption consistently above 100 watts for at least 10 seconds, or when it shows power consumption consistently below 100 watts for at least 10 seconds.",
"conditions": "There are no additional conditions that need to be met.",
"action": "If the heater power goes above 100W, it records the current total energy consumption from water heater summation delivered [sensor.vaskerom_vvb_summation_delivered] into water heater start [input_number.vaskerom_vvb_start] and sends a mobile notification saying the water heater is turned on. If the heater power drops below 100W, it records the current total energy consumption into water heater stop [input_number.vaskerom_vvb_stop], then calculates and sends a detailed mobile notification showing the electricity price from electricity price [sensor.dallonaveien_15a_electricity_price], the energy consumed during the cycle, and the estimated cost, and also creates a persistent notification with the same information."
},
"human_like": "Tracks when the water heater starts and stops heating by monitoring its power usage, logs the energy consumption for each cycle, and notifies with the cost details.",
"complexity": "medium"
}
},
{
"id": "Vaskerom / VVB with price",
"result": {
"structured": "TRIGGER: When electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level changes to HIGH OR When electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level changes to LOW OR When electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level changes to NORMAL OR At 1 minute past every hour. CONDITIONS: None. ACTIONS: Choose based on trigger and conditions: 1. If triggered by price_low: Turn on water heater switch [19f9f39771523196e490d917323dc0ec] AND send notification 'Billig strøm!' to mobile_app_borgermeister. 2. If triggered by price_normal: Turn on water heater switch [19f9f39771523196e490d917323dc0ec] AND send notification 'Normal strøm!' to mobile_app_borgermeister. 3. If triggered by time_every_hour AND current electricity price value > avg_price attribute AND electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level is HIGH: Turn off water heater switch [19f9f39771523196e490d917323dc0ec] AND send notification 'Dyr strøm!' to mobile_app_borgermeister AND wait 12 hours AND send notification 'Dyr strøm over 12 timer. Slår varmtvannsberederen på uavhengig av strømpris!' to mobile_app_borgermeister AND turn on water heater switch [19f9f39771523196e490d917323dc0ec] AND wait 30 minutes AND turn off water heater switch [19f9f39771523196e490d917323dc0ec]. 4. If triggered by time_every_hour AND current electricity price value <= avg_price attribute AND electricity price [sensor.dallonaveien_15a_electricity_price] attribute price_level is HIGH: Turn on water heater switch [19f9f39771523196e490d917323dc0ec] AND send notification 'Dyr strøm, men lavere enn gjennomsnittet!' to mobile_app_borgermeister.",
"natural_language": {
"trigger": "The automation triggers when the electricity price [sensor.dallonaveien_15a_electricity_price] price level changes to HIGH, LOW, or NORMAL, or at one minute past every hour.",
"conditions": "There are no global conditions. The actions are selected based on which trigger occurred and, for the hourly trigger, additional checks on the electricity price.",
"action": "Depending on the trigger and conditions, the automation will: 1. If the price level becomes LOW, turn on the water heater switch [19f9f39771523196e490d917323dc0ec] and send a mobile notification saying 'Billig strøm!'. 2. If the price level becomes NORMAL, turn on the water heater switch [19f9f39771523196e490d917323dc0ec] and send a notification saying 'Normal strøm!'. 3. If triggered at one minute past the hour, and the current electricity price is higher than its average and the price level is HIGH, turn off the water heater switch, send a 'Dyr strøm!' notification, wait 12 hours, send another notification, turn the heater on for 30 minutes, then turn it off. 4. If triggered at one minute past the hour, and the current electricity price is lower than or equal to its average and the price level is HIGH, turn on the water heater switch and send a notification saying 'Dyr strøm, men lavere enn gjennomsnittet!'."
},
"human_like": "Controls the water heater based on electricity price levels, turning it on during low or normal prices, and managing it carefully during high prices depending on how they compare to the average.",
"complexity": "high"
}
}
]