AutomationDataset/pjaspers/automation-descriptions.json

431 lines
26 KiB
JSON

[
{
"id": "badkamer_remote_on",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'strybar' and event '1002'. CONDITIONS: None. ACTIONS: Toggle badkamer light [light.badkamer].",
"natural_language": {
"trigger": "When a specific signal (event 1002) is received from the remote control device named 'strybar'.",
"conditions": "There are no conditions that must be met.",
"action": "Toggles the state of the badkamer light [light.badkamer], turning it on if it's off, or off if it's on."
},
"human_like": "Toggles the bathroom light on or off using a remote control button.",
"complexity": "low"
}
},
{
"id": "badkamer_remote_off",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'strybar' and event '2002'. CONDITIONS: None. ACTIONS: Toggle badkamer light [light.badkamer].",
"natural_language": {
"trigger": "When a specific deCONZ remote control event (id 'strybar', event code '2002') is received.",
"conditions": "There are no conditions that must be met.",
"action": "Toggles the state of the badkamer light [light.badkamer] (turns it off if it's on, or on if it's off)."
},
"human_like": "Turns the bathroom light on or off using a remote control button press.",
"complexity": "low"
}
},
{
"id": "poezenfontein_on",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'strybar' and event code 3002. CONDITIONS: None. ACTIONS: Toggle kerstboom stopcontact [switch.kerstboom_stopcontact].",
"natural_language": {
"trigger": "When a specific deCONZ remote control event (id: strybar, event code: 3002) is received.",
"conditions": "There are no conditions.",
"action": "Toggles the kerstboom stopcontact [switch.kerstboom_stopcontact] switch on or off."
},
"human_like": "Turns the Christmas tree outlet on or off using a remote control.",
"complexity": "low"
}
},
{
"id": "poezenfontein_off",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'strybar' AND event code 4002. CONDITIONS: None. ACTIONS: Toggle kerstboom stopcontact [switch.kerstboom_stopcontact].",
"natural_language": {
"trigger": "When a specific remote control button press (event 4002 from device 'strybar') is received.",
"conditions": "There are no conditions that must be met.",
"action": "Toggles the state of the kerstboom stopcontact [switch.kerstboom_stopcontact] (turns it on if it's off, or off if it's on)."
},
"human_like": "Toggles the Christmas tree outlet using a remote control button.",
"complexity": "low"
}
},
{
"id": "poezenfontein",
"result": {
"structured": "TRIGGER: When kerstboom stopcontact [switch.kerstboom_stopcontact] turns on from off AND remains on for 5 minutes. ACTIONS: Toggle kerstboom stopcontact [switch.kerstboom_stopcontact].",
"natural_language": {
"trigger": "When the kerstboom stopcontact [switch.kerstboom_stopcontact] is turned on and stays on for a continuous period of five minutes.",
"conditions": "There are no additional conditions.",
"action": "Toggles the kerstboom stopcontact [switch.kerstboom_stopcontact], turning it off."
},
"human_like": "Turns off the living room outlet five minutes after Franz starts drinking, likely to prevent a pet water fountain from running dry.",
"complexity": "low"
}
},
{
"id": "elf_remote_center",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'elf' and event '1002'. CONDITIONS: None. ACTIONS: Toggle garage door [cover.garage_door].",
"natural_language": {
"trigger": "When a specific deCONZ event is received, identified by the device id 'elf' and event code '1002'.",
"conditions": "There are no conditions that must be met.",
"action": "Toggles the state of the garage door [cover.garage_door], opening it if it's closed or closing it if it's open."
},
"human_like": "Toggles the garage door when a specific remote button (Elf) is pressed.",
"complexity": "low"
}
},
{
"id": "elf_remote_up",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'elf' and event code 2002. CONDITIONS: None. ACTIONS: Open garage door [cover.garage_door].",
"natural_language": {
"trigger": "When a specific deCONZ event is received, identified by the device id 'elf' and the event code 2002.",
"conditions": "There are no conditions that must be met.",
"action": "Opens the garage door [cover.garage_door]."
},
"human_like": "Opens the garage door when a specific remote button (Elf) is pressed.",
"complexity": "low"
}
},
{
"id": "elf_remote_down",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'elf' and event code 3002. CONDITIONS: None. ACTIONS: Close garage door [cover.garage_door].",
"natural_language": {
"trigger": "When a specific deCONZ event is received, identified by the device id 'elf' and the event code 3002.",
"conditions": "There are no conditions that must be met.",
"action": "Closes the garage door [cover.garage_door]."
},
"human_like": "Closes the garage door when a specific button on the 'elf' remote is pressed.",
"complexity": "low"
}
},
{
"id": "living spots A",
"result": {
"structured": "TRIGGER: When living spots front switch [switch.living_spots_front_switch_0] changes state, provided the previous state is not unknown AND not unavailable, and the new state is not unknown AND not unavailable. CONDITIONS: None. ACTIONS: Toggle living spots [light.living_spots].",
"natural_language": {
"trigger": "Whenever the living spots front switch [switch.living_spots_front_switch_0] is turned on or off, but only if the change is from a known, available state to another known, available state.",
"conditions": "There are no additional conditions.",
"action": "Toggle the living spots [light.living_spots] light, turning it on if it's off, or off if it's on."
},
"human_like": "Toggles the living room spotlights whenever the front switch for them is used.",
"complexity": "low"
}
},
{
"id": "automation_spots_b",
"result": {
"structured": "TRIGGER: When living spots back switch [switch.living_spots_back_switch_0] changes state, provided the previous state is not 'unknown' or 'unavailable' AND the new state is not 'unknown' or 'unavailable'. CONDITIONS: None. ACTIONS: Toggle living back spots [light.living_back_spots].",
"natural_language": {
"trigger": "Whenever the living spots back switch [switch.living_spots_back_switch_0] is operated, as long as it transitions between known and available states (i.e., not from or to 'unknown' or 'unavailable').",
"conditions": "There are no additional conditions that must be met.",
"action": "Toggle the living back spots [light.living_back_spots] light, turning it on if it's off, or off if it's on."
},
"human_like": "Toggles the back spotlights in the living room whenever the corresponding physical switch is used.",
"complexity": "low"
}
},
{
"id": "on-location-change",
"result": {
"structured": "TRIGGER: When device tracker oranje [device_tracker.oranje] changes its latitude attribute. CONDITIONS: None. ACTIONS: Execute shell_command.send_location.",
"natural_language": {
"trigger": "Whenever the latitude attribute of the device tracker oranje [device_tracker.oranje] changes.",
"conditions": "There are no conditions for this automation.",
"action": "Runs a shell command named send_location."
},
"human_like": "Sends location information whenever the tracked device's latitude changes.",
"complexity": "low"
}
},
{
"id": "arm-the-outside",
"result": {
"structured": "TRIGGER: When home piet distance sensor [sensor.home_piet_distance] is above 200. CONDITIONS: None. ACTIONS: Turn on pj outside zone [input_boolean.pj_outside_zone].",
"natural_language": {
"trigger": "When the home piet distance sensor [sensor.home_piet_distance] reports a value greater than 200.",
"conditions": "There are no conditions for this automation.",
"action": "Activates the outside zone by turning on pj outside zone [input_boolean.pj_outside_zone]."
},
"human_like": "Arms the outside security zone when the user's phone moves more than 200 units away from home.",
"complexity": "low"
}
},
{
"id": "notify-arm",
"result": {
"structured": "TRIGGER: When person piet jaspers [person.piet_jaspers] changes state to away. CONDITIONS: None. ACTIONS: Send a notification to mobile_app_oranje with the message 'pjaspers has left the building'.",
"natural_language": {
"trigger": "When the person piet jaspers [person.piet_jaspers] changes their state to away.",
"conditions": "There are no conditions for this automation.",
"action": "Sends a notification to the mobile app 'mobile_app_oranje' with the message 'pjaspers has left the building'."
},
"human_like": "Sends a notification when Piet Jaspers leaves home.",
"complexity": "low"
}
},
{
"id": "pj-arrived-home",
"result": {
"structured": "TRIGGER: When person piet jaspers [person.piet_jaspers] changes state from not_home to home. CONDITIONS: None. ACTIONS: Fire event x-pj-returned-home.",
"natural_language": {
"trigger": "When person piet jaspers [person.piet_jaspers] arrives home, changing their state from 'not_home' to 'home'.",
"conditions": "There are no conditions that must be met.",
"action": "Fires a custom event named 'x-pj-returned-home'."
},
"human_like": "Triggers a custom event when Piet Jaspers arrives home.",
"complexity": "low"
}
},
{
"id": "ch-arrived-home",
"result": {
"structured": "TRIGGER: When person christine [person.christine] changes state from not_home to home. CONDITIONS: None. ACTIONS: Fire event x-ch-returned-home.",
"natural_language": {
"trigger": "When person christine [person.christine] arrives home, changing her state from 'not_home' to 'home'.",
"conditions": "There are no conditions that must be met.",
"action": "Fires a custom event named 'x-ch-returned-home'."
},
"human_like": "Triggers a custom event when Christine arrives home.",
"complexity": "low"
}
},
{
"id": "pj-returned-home",
"result": {
"structured": "TRIGGER: When event x-pj-returned-home occurs. CONDITIONS: pj automatic garage opener [input_boolean.pj_automatic_garage_opener] is on. ACTIONS: Send a notification titled 'You returned home!' with message 'Opening the pod bay doors (because you asked me)' to mobile_app_oranje, turn off pj automatic garage opener [input_boolean.pj_automatic_garage_opener], and open garage door [cover.garage_door].",
"natural_language": {
"trigger": "When the custom event 'x-pj-returned-home' is triggered.",
"conditions": "The pj automatic garage opener [input_boolean.pj_automatic_garage_opener] must be switched on.",
"action": "Sends a notification to the mobile app 'mobile_app_oranje' with a welcome message, then turns off the pj automatic garage opener [input_boolean.pj_automatic_garage_opener], and finally opens the garage door [cover.garage_door]."
},
"human_like": "Automatically opens the garage door and sends a welcome notification when Piet returns home, provided the automatic opener feature is enabled.",
"complexity": "low"
}
},
{
"id": "ch-returned-home",
"result": {
"structured": "TRIGGER: When the custom event 'x-ch-returned-home' occurs. CONDITIONS: ch automatic garage opener [input_boolean.ch_automatic_garage_opener] is on. ACTIONS: Send a notification to mobile_app_stienfoon with title 'Je bent thuis!' and message 'Ik open de garage (omdat je dat wou)', then turn off ch automatic garage opener [input_boolean.ch_automatic_garage_opener], then open garage door [cover.garage_door].",
"natural_language": {
"trigger": "When a custom event named 'x-ch-returned-home' is received.",
"conditions": "The condition is that the ch automatic garage opener [input_boolean.ch_automatic_garage_opener] must be switched on.",
"action": "Sends a notification to the mobile phone with the message 'Je bent thuis! Ik open de garage (omdat je dat wou)', then turns off the ch automatic garage opener [input_boolean.ch_automatic_garage_opener], and finally opens the garage door [cover.garage_door]."
},
"human_like": "When Christine returns home, it sends a welcome notification and automatically opens the garage door if the automatic opener feature is enabled.",
"complexity": "low"
}
},
{
"id": "nighty-night",
"result": {
"structured": "TRIGGER: At the time specified by go to bed house [input_datetime.go_to_bed_house]. CONDITIONS: None. ACTIONS: Activate night scene [scene.night] with a 10-second transition.",
"natural_language": {
"trigger": "When the scheduled time set in go to bed house [input_datetime.go_to_bed_house] is reached.",
"conditions": "There are no conditions that must be met.",
"action": "Turns on the night scene [scene.night], gradually changing the lights over a period of 10 seconds."
},
"human_like": "Activates a nighttime lighting scene at a preset bedtime.",
"complexity": "low"
}
},
{
"id": "evening-mode",
"result": {
"structured": "TRIGGER: When sunset occurs with an offset of -1 hour (i.e., 1 hour before sunset). CONDITIONS: None. ACTIONS: Activate sunset scene [scene.sunset] with a transition time of 10 seconds.",
"natural_language": {
"trigger": "One hour before the sun sets.",
"conditions": "There are no conditions that need to be met.",
"action": "Gradually turns on the sunset scene [scene.sunset] over a period of 10 seconds."
},
"human_like": "Turns on the evening lights gradually, starting one hour before sunset.",
"complexity": "low"
}
},
{
"id": "day-mode",
"result": {
"structured": "TRIGGER: When the time is 09:00. CONDITIONS: None. ACTIONS: Activate turn off downstairs script [script.turn_off_downstairs] AND Turn off badkamer hal light [light.badkamer_hal].",
"natural_language": {
"trigger": "At 9:00 AM every day.",
"conditions": "There are no conditions; the automation runs whenever the trigger occurs.",
"action": "It runs the 'turn off downstairs script' [script.turn_off_downstairs] and turns off the 'badkamer hal light' [light.badkamer_hal]."
},
"human_like": "Turns off the downstairs lights and a hallway light at 9 AM, as they are not needed during the day.",
"complexity": "low"
}
},
{
"id": "light-submarine",
"result": {
"structured": "TRIGGER: When the time reaches the value set in submarine house [input_datetime.submarine_house]. CONDITIONS: None. ACTIONS: Turn on badkamer hal light [light.badkamer_hal] with brightness set to 50 and color set to red.",
"natural_language": {
"trigger": "At the specific time defined by the submarine house [input_datetime.submarine_house] input.",
"conditions": "There are no conditions that need to be met.",
"action": "Turns on the badkamer hal light [light.badkamer_hal] in the hallway, setting its brightness to 50% and its color to red."
},
"human_like": "Turns the hallway light red at a scheduled time, creating a night-time ambiance.",
"complexity": "low"
}
},
{
"id": "presence-leave",
"result": {
"structured": "TRIGGER: When person piet jaspers [person.piet_jaspers] changes state to not_home. CONDITIONS: None. ACTIONS: Send a notification via mobile_app_proteus with title 'You not here' and message 'You left'.",
"natural_language": {
"trigger": "When the person piet jaspers [person.piet_jaspers] leaves home, changing their state to 'not_home'.",
"conditions": "There are no conditions that need to be met.",
"action": "Sends a notification to the mobile device 'proteus' with the title 'You not here' and the message 'You left'."
},
"human_like": "Sends a phone notification when Piet Jaspers leaves home.",
"complexity": "low"
}
},
{
"id": "morning-mode",
"result": {
"structured": "TRIGGER: When the time reaches the value set in wake up house [input_datetime.wake_up_house]. CONDITIONS: None. ACTIONS: Activate morning scene [scene.morning] with a 10-second transition.",
"natural_language": {
"trigger": "When the scheduled time set in the wake up house [input_datetime.wake_up_house] input arrives.",
"conditions": "There are no conditions for this automation.",
"action": "Gradually turns on the morning scene [scene.morning] over a period of 10 seconds."
},
"human_like": "Activates a morning lighting scene at a scheduled wake-up time to make waking up easier.",
"complexity": "low"
}
},
{
"id": "'1606908289501'",
"result": {
"structured": "TRIGGER: When presence sensor 2 [binary_sensor.presence_2] changes from off to on. CONDITIONS: None. ACTIONS: Turn on kelder stopcontact [switch.kelder_stopcontact].",
"natural_language": {
"trigger": "When the presence sensor 2 [binary_sensor.presence_2] detects movement, changing its state from off to on.",
"conditions": "There are no additional conditions that must be met.",
"action": "Turns on the basement light by activating the kelder stopcontact [switch.kelder_stopcontact]."
},
"human_like": "Turns on the basement light when motion is detected.",
"complexity": "low"
}
},
{
"id": "'1606908325908'",
"result": {
"structured": "TRIGGER: When presence sensor 2 [binary_sensor.presence_2] changes from on to off AND remains off for 5 minutes. ACTIONS: Turn off kelder stopcontact [switch.kelder_stopcontact].",
"natural_language": {
"trigger": "When the presence sensor 2 [binary_sensor.presence_2] stops detecting presence (changes from on to off) and remains in that state for 5 minutes.",
"conditions": "There are no explicit conditions for this automation.",
"action": "Turns off the kelder stopcontact [switch.kelder_stopcontact]."
},
"human_like": "Automatically turns off the basement light 5 minutes after the last movement is detected.",
"complexity": "low"
}
},
{
"id": "Background light on when camera on",
"result": {
"structured": "TRIGGER: When pj mini camera in use [binary_sensor.pj_mini_camera_in_use] changes from off to on AND remains on for 2 seconds. CONDITIONS: None. ACTIONS: Turn on bureau light [light.bureau].",
"natural_language": {
"trigger": "When the pj mini camera in use [binary_sensor.pj_mini_camera_in_use] sensor detects a change from off to on and stays on for at least two seconds.",
"conditions": "There are no additional conditions that need to be met.",
"action": "Turn on the bureau light [light.bureau]."
},
"human_like": "Turns on the office desk light when the camera starts being used, after a short delay to confirm it's active.",
"complexity": "low"
}
},
{
"id": "Background light off when camera off",
"result": {
"structured": "TRIGGER: When pj mini camera in use [binary_sensor.pj_mini_camera_in_use] changes from on to off AND remains off for 2 seconds. CONDITIONS: None. ACTIONS: Turn off bureau light [light.bureau].",
"natural_language": {
"trigger": "When the pj mini camera in use [binary_sensor.pj_mini_camera_in_use] stops being in use (changes from on to off) and stays off for at least two seconds.",
"conditions": "There are no additional conditions that must be met.",
"action": "Turns off the bureau light [light.bureau]."
},
"human_like": "Turns off the office desk light two seconds after the camera is no longer in use.",
"complexity": "low"
}
},
{
"id": "auto-close-garage",
"result": {
"structured": "TRIGGER: When garage door [cover.garage_door] remains open for a duration equal to the value of garage door duration minutes [input_number.garage_door_duration_minutes] OR When garage binary sensor [binary_sensor.garage] remains open for a duration equal to the value of garage door duration minutes [input_number.garage_door_duration_minutes]. CONDITIONS: None. ACTIONS: Close garage door [cover.garage_door].",
"natural_language": {
"trigger": "When the garage door [cover.garage_door] has been left open for a specific number of minutes, or when the garage binary sensor [binary_sensor.garage] has been reporting an open state for that same duration. The duration is taken from the garage door duration minutes [input_number.garage_door_duration_minutes] setting.",
"conditions": "There are no conditions that must be checked.",
"action": "Closes the garage door [cover.garage_door]."
},
"human_like": "Automatically closes the garage door if it has been left open for a configurable amount of time.",
"complexity": "low"
}
},
{
"id": "wake-girls-weekdays",
"result": {
"structured": "TRIGGER: When the current time [sensor.time] equals the time set in alarm clock girls [input_datetime.alarm_clock_girls]. CONDITIONS: workday sensor [binary_sensor.workday_sensor] is on. ACTIONS: Execute the action sequence referenced as *id001.",
"natural_language": {
"trigger": "When the current time, as reported by the time sensor [sensor.time], matches the alarm time set in the alarm clock girls [input_datetime.alarm_clock_girls].",
"conditions": "The automation only runs if the workday sensor [binary_sensor.workday_sensor] indicates that it is a workday (i.e., its state is 'on').",
"action": "Performs a predefined set of actions, referenced in the automation as *id001, to wake up the girls."
},
"human_like": "Wakes up the girls on weekday mornings at a set alarm time.",
"complexity": "medium"
}
},
{
"id": "wake-girls-weekend",
"result": {
"structured": "TRIGGER: When the current time (sensor.time) matches the time set in alarm clock girls weekend [input_datetime.alarm_clock_girls_weekend]. CONDITIONS: workday sensor [binary_sensor.workday_sensor] is off. ACTIONS: Execute the action sequence referenced by the YAML anchor *id001.",
"natural_language": {
"trigger": "When the current time, provided by the time sensor [sensor.time], matches the specific time configured in the alarm clock girls weekend [input_datetime.alarm_clock_girls_weekend].",
"conditions": "The workday sensor [binary_sensor.workday_sensor] must indicate it is not a workday (i.e., it is in the 'off' state).",
"action": "Performs the action sequence defined elsewhere in the configuration, referenced by the identifier *id001."
},
"human_like": "Activates a weekend wake-up routine for the girls when the alarm time is reached, but only on non-workdays.",
"complexity": "medium"
}
},
{
"id": "wake-girls-prepare",
"result": {
"structured": "TRIGGER: When event pj.wake-girls.prepare occurs. CONDITIONS: None. ACTIONS: Create a scene named girls_before_wake by taking a snapshot of the current states of dollhousefran light [light.dollhousefran], wled roos light [light.wled_roos], and switches girls group [group.switches_girls]. Then, turn off dollhousefran light [light.dollhousefran] and wled roos light [light.wled_roos].",
"natural_language": {
"trigger": "When the custom event 'pj.wake-girls.prepare' is triggered.",
"conditions": "There are no conditions for this automation.",
"action": "First, it saves the current state of the dollhousefran light [light.dollhousefran], wled roos light [light.wled_roos], and switches girls group [group.switches_girls] into a new scene called 'girls_before_wake'. Then, it turns off both the dollhousefran light [light.dollhousefran] and the wled roos light [light.wled_roos]."
},
"human_like": "Saves the current lighting state in the girls' room and then turns off the main lights, preparing the room for a wake-up routine.",
"complexity": "low"
}
},
{
"id": "wake-girls-now",
"result": {
"structured": "TRIGGER: When the event pj.wake-girls.fire occurs. CONDITIONS: None. ACTIONS: Turn on dollhousefran light [light.dollhousefran] and wled roos light [light.wled_roos] with RGB color (119, 187, 65) and brightness at 90%, AND turn on switches girls group [group.switches_girls].",
"natural_language": {
"trigger": "When a custom event named 'pj.wake-girls.fire' is triggered.",
"conditions": "There are no conditions for this automation.",
"action": "Turns on the dollhousefran light [light.dollhousefran] and the wled roos light [light.wled_roos] to a specific greenish color at 90% brightness, and also turns on the group of switches for the girls' room [group.switches_girls]."
},
"human_like": "Turns on the girls' room lights and switches when a 'wake up' event is fired.",
"complexity": "low"
}
},
{
"id": "wake-girls-after",
"result": {
"structured": "TRIGGER: When event pj.wake-girls.teardown occurs. CONDITIONS: None. ACTIONS: Turn off switches girls group [group.switches_girls], then activate scene girls before wake [scene.girls_before_wake], then wait 20 seconds, then turn off dollhousefran light [light.dollhousefran] AND wled roos light [light.wled_roos].",
"natural_language": {
"trigger": "When the custom event 'pj.wake-girls.teardown' is triggered.",
"conditions": "There are no conditions for this automation.",
"action": "First, turn off the group of switches for the girls' room [group.switches_girls]. Then, activate the 'girls before wake' scene [scene.girls_before_wake]. After a 20-second delay, turn off both the dollhousefran light [light.dollhousefran] and the wled roos light [light.wled_roos]."
},
"human_like": "Turns off the girls' room lights and switches, activates a pre-wake scene, and then turns off specific lights after a short delay when a wake-up routine ends.",
"complexity": "low"
}
}
]