AutomationDataset/richardbmh/automation-descriptions.json

54 lines
8.3 KiB
JSON

[
{
"id": "Amazon Mail Delivery",
"result": {
"structured": "TRIGGER: When mail amazon packages delivered sensor [sensor.mail_amazon_packages_delivered] reports a value greater than 0. CONDITIONS: None. ACTIONS: First, take a snapshot from mail amazon delivery camera [camera.mail_amazon_delivery_camera] and save it as /config/www/amazonmail.jpg. Then, in parallel, send a notification to yourphone notify [notify.yourphone] and anotherphone notify [notify.anotherphone] with the title 'Amazon Package Delivered', a message stating the current count of delivered packages, and an image attachment from the saved snapshot.",
"natural_language": {
"trigger": "When the mail amazon packages delivered sensor [sensor.mail_amazon_packages_delivered] detects that more than zero Amazon packages have been delivered.",
"conditions": "There are no conditions that must be met.",
"action": "The automation first captures a snapshot from the mail amazon delivery camera [camera.mail_amazon_delivery_camera] and saves it locally. It then simultaneously sends a notification to two phones, yourphone notify [notify.yourphone] and anotherphone notify [notify.anotherphone], informing the household that Amazon packages have been delivered, including the number of packages and the captured image."
},
"human_like": "Sends a notification with a camera snapshot when an Amazon package is delivered.",
"complexity": "low"
}
},
{
"id": "Dashboard Update Producation",
"result": {
"structured": "TRIGGER: Every 5 minutes based on a time pattern. CONDITIONS: None. ACTIONS: First, call the google generative ai conversation [google_generative_ai_conversation.generate_content] service with a detailed prompt to generate a concise, funny, and formatted status report for a dashboard, using the current states of numerous specified entities. The prompt includes instructions to highlight critical issues in bold, keep the output under 100 characters, and only mention trash on weekends. The response is stored in a variable named 'dashboardup'. Second, set the value of dashboard output [input_text.dashboard_output] to the text generated in the first action.",
"natural_language": {
"trigger": "The automation runs every five minutes.",
"conditions": "There are no conditions; the action runs every time the trigger occurs.",
"action": "First, it uses a generative AI service to create a short, humorous status report about the home. The AI is given a long prompt describing many sensors and switches, like door contacts, motion sensors, climate readings, media players, and system health monitors. It's told to make the report funny, highlight any problems in bold, keep it under 100 characters, and only talk about trash on Saturdays and Sundays. The AI's response is saved. Then, it updates a text field on the dashboard [input_text.dashboard_output] with this new AI-generated report."
},
"human_like": "This automation creates a fun, AI-generated summary of the home's status every five minutes and displays it on the dashboard.",
"complexity": "medium"
}
},
{
"id": "Night Routine",
"result": {
"structured": "TRIGGER: When mqtt button device [device_id:42f0c1e9bbda73cc4d9a5ce10b511c09] single press action 1 occurs OR when sleeping [input_boolean.sleeping] changes from off to on. CONDITIONS: The current time is between 20:00:00 and 00:00:00. ACTIONS: Flash Lights: Repeat 3 times: Turn on sengled bedroom left [light.sengled_bedroom_left] and sengled bedroom right [light.sengled_bedroom_right] with specific color and brightness, wait 1 second, turn them off, wait 1 second. In parallel: Turn on motion breaker bedroom [input_boolean.motion_breaker_bedroom] AND start script 1744944185914 [script.1744944185914]. If all lights [light.all_lights] is on, then turn off all lights [light.all_lights]. Generate a humorous goodnight message using google generative ai conversation [google_generative_ai_conversation.generate_content] with a prompt containing weather data from sensors, and store the response. Use chime tts [chime_tts.say] to speak the generated message on bedroom speaker [media_player.bedroom_speaker] with specific voice and volume. Turn off the Christmas light in the bedroom [switch entity:02928c8875658774eed532ca8b10e9e1]. Turn off bedroom speaker [media_player.bedroom_speaker]. Wait up to 30 seconds for bedroom speaker [media_player.bedroom_speaker] to turn off. Start sleeping music script [script.sleeping_music].",
"natural_language": {
"trigger": "The automation is triggered either by a single press of the first action button on the mqtt button device [device_id:42f0c1e9bbda73cc4d9a5ce10b511c09], or when the sleeping [input_boolean.sleeping] input boolean is turned on from an off state.",
"conditions": "The automation only runs if the current time is between 8:00 PM and midnight.",
"action": "The automation performs a sequence of actions to prepare for the night. First, it flashes the sengled bedroom left [light.sengled_bedroom_left] and sengled bedroom right [light.sengled_bedroom_right] lights three times in a specific pattern. Simultaneously, it turns on the motion breaker bedroom [input_boolean.motion_breaker_bedroom] and starts a script [script.1744944185914]. If any lights are on via the all lights [light.all_lights] entity, it turns them all off. It then uses an AI to generate a funny, personalized goodnight message based on tomorrow's weather forecast, which is spoken aloud through the bedroom speaker [media_player.bedroom_speaker]. The Christmas light in the bedroom [switch entity:02928c8875658774eed532ca8b10e9e1] is turned off, followed by the bedroom speaker. After waiting for the speaker to turn off (or after 30 seconds), it finally starts a sleeping music script [script.sleeping_music]."
},
"human_like": "This automation runs a comprehensive night routine when a button is pressed or sleep mode is activated in the evening, flashing lights, turning things off, playing a funny weather-based goodnight message, and starting sleep music.",
"complexity": "high"
}
},
{
"id": "'Away Mode - Day '",
"result": {
"structured": "TRIGGER: When yourperson [person.yourperson] remains not_home for 5 minutes OR When yourperson [person.yourperson] remains not_home for 5 minutes. CONDITIONS: (yourperson [person.yourperson] is not_home) AND (yourperson [person.yourperson] is not_home) AND (guest mode [input_boolean.guest_mode] is off). ACTIONS: Turn on script 1744944185914 [script.1744944185914], turn off all lights [light.all_lights] in the bathroom, bedroom, home_office, kitchen, and living_room areas, generate a witty notification using google generative ai conversation [google_generative_ai_conversation.generate_content] with a prompt referencing livingroom temperature humidity [sensor.livingroom_temperature_humidity] and livingroom temperature temperature [sensor.livingroom_temperature_temperature], then trigger new script [script.new_script] with the generated notification text.",
"natural_language": {
"trigger": "When the person yourperson [person.yourperson] has been away from home for at least five minutes. The trigger is duplicated, meaning it checks the same condition twice.",
"conditions": "All of the following must be true: the person yourperson [person.yourperson] is currently not at home, the person yourperson [person.yourperson] is currently not at home (this is a duplicate condition), and the guest mode [input_boolean.guest_mode] is turned off.",
"action": "First, it runs a script named script 1744944185914 [script.1744944185914]. Then, it turns off all lights [light.all_lights] in the bathroom, bedroom, home office, kitchen, and living room. Next, it uses a generative AI service to create a funny, short notification about the house being empty, referencing the current humidity from livingroom temperature humidity [sensor.livingroom_temperature_humidity] and temperature from livingroom temperature temperature [sensor.livingroom_temperature_temperature]. Finally, it sends this generated notification via a script called new script [script.new_script]."
},
"human_like": "When everyone is away from home for five minutes, this automation turns off all the lights and sends a funny notification confirming the house is secure.",
"complexity": "medium"
}
}
]