301 lines
29 KiB
JSON
301 lines
29 KiB
JSON
[
|
|
{
|
|
"id": "button_huiskamer_pressed",
|
|
"result": {
|
|
"structured": "TRIGGER: When button huiskamer device [device_id: 9b88e5cced0fd2c39b6e5d08beafe7e8] short_release subtype 1 occurs. CONDITIONS: None. ACTIONS: Turn off huiskamer light [light.huiskamer] AND Turn off kerstverlichting light [light.kerstverlichting] AND Turn off matrix display [input_boolean.matrix_display] AND Set thermostat [climate.thermostat] temperature to 18°C AND (IF 55pus6704 12 media player [media_player.55pus6704_12] is on THEN send PowerOff command to 55pus6704 12 remote [remote.55pus6704_12]).",
|
|
"natural_language": {
|
|
"trigger": "When the button huiskamer device [device_id: 9b88e5cced0fd2c39b6e5d08beafe7e8] is pressed and released quickly (short_release subtype 1).",
|
|
"conditions": "There are no conditions that must be met for the actions to run.",
|
|
"action": "Turns off the huiskamer light [light.huiskamer] and the kerstverlichting light [light.kerstverlichting]. It also turns off the matrix display [input_boolean.matrix_display] and sets the thermostat [climate.thermostat] to 18°C. Finally, if the 55pus6704 12 media player [media_player.55pus6704_12] is currently on, it sends a PowerOff command to the 55pus6704 12 remote [remote.55pus6704_12] to turn it off."
|
|
},
|
|
"human_like": "Turns off all living room lights, the display, lowers the heating, and powers down the TV when the living room button is pressed.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "doorbell_pressed_detection",
|
|
"result": {
|
|
"structured": "TRIGGER: When ring doorbell ding [binary_sensor.ring_doorbell_ding] changes to on. CONDITIONS: None. ACTIONS: Execute two parallel sequences. Sequence 1: 1. Set variables: generate a random snapshot ID, current timestamp, and construct file paths. 2. Take a snapshot from ring doorbell camera [camera.ring_doorbell] and save it to the internal path. 3. Wait 10 seconds. 4. Take another snapshot from ring doorbell camera [camera.ring_doorbell] and save it to the internal path. 5. Set the value of doorbell snapshot location [input_text.doorbell_snapshot_location] to the external path. 6. Wait 5 seconds. 7. Turn off ring doorbell live stream [switch.ring_doorbell_live_stream]. 8. Remove old files older than 30 days from the internal path. Sequence 2: 1. Condition: parkeerplaats motion sensor illuminance [sensor.parkeerplaats_motion_sensor_illuminance] value is less than 5. 2. Execute script.scene_voordeur_motion. 3. Turn on automation motion voordeur triggered [input_boolean.automation_motion_voordeur_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When the ring doorbell ding [binary_sensor.ring_doorbell_ding] is pressed (changes to 'on').",
|
|
"conditions": "There are no conditions that must be met for the automation to run; it triggers immediately upon the doorbell press.",
|
|
"action": "The automation performs two sets of actions in parallel. The first set captures two snapshots from the ring doorbell camera [camera.ring_doorbell] 10 seconds apart, saves them with unique filenames, updates a text field with the snapshot location, turns off the live stream after a short delay, and cleans up old snapshot files. The second set of actions only runs if the ambient light level from the parkeerplaats motion sensor illuminance [sensor.parkeerplaats_motion_sensor_illuminance] is below 5; if so, it triggers a motion-related script and marks that the motion automation has been triggered."
|
|
},
|
|
"human_like": "When the doorbell is pressed, it captures two snapshots for a before-and-after view and, if it's dark outside, also triggers a motion-activated scene at the front door.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "doorbell_unpressed_detection",
|
|
"result": {
|
|
"structured": "TRIGGER: When ring doorbell ding [binary_sensor.ring_doorbell_ding] remains unpressed (off) for 5 minutes. CONDITIONS: automation motion voordeur triggered [input_boolean.automation_motion_voordeur_triggered] is on. ACTIONS: Turn off voordeur light [light.voordeur] AND turn off automation motion voordeur triggered [input_boolean.automation_motion_voordeur_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When the ring doorbell ding [binary_sensor.ring_doorbell_ding] has been in the 'off' state, meaning it has not been pressed, for a continuous period of five minutes.",
|
|
"conditions": "The automation motion voordeur triggered [input_boolean.automation_motion_voordeur_triggered] flag must currently be set to 'on'.",
|
|
"action": "Turns off the voordeur light [light.voordeur] and then resets the flag by turning off automation motion voordeur triggered [input_boolean.automation_motion_voordeur_triggered]."
|
|
},
|
|
"human_like": "Turns off the front door light and resets a trigger flag five minutes after the doorbell is no longer pressed.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "hourly_gas_calculation",
|
|
"result": {
|
|
"structured": "TRIGGER: When gas meter gas consumption [sensor.gas_meter_gas_consumption] changes state OR every 5 minutes (time pattern). CONDITIONS: None. ACTIONS: Choose one of two sequences based on conditions. If gas meter gas consumption [sensor.gas_meter_gas_consumption] equals gas meter gas consumption previous [input_text.gas_meter_gas_consumption_previous] AND the current time minus the datetime value stored in hourly gas calculation last triggered [input_text.hourly_gas_calculation_last_triggered] is greater than 299 seconds, then set hourly gas [input_number.hourly_gas] to 0. Otherwise, if gas meter gas consumption [sensor.gas_meter_gas_consumption] does NOT equal gas meter gas consumption previous [input_text.gas_meter_gas_consumption_previous], then set hourly gas [input_number.hourly_gas] to the value of (gas meter gas consumption [sensor.gas_meter_gas_consumption] minus gas meter gas consumption previous [input_text.gas_meter_gas_consumption_previous]) multiplied by 12 and rounded to 3 decimal places, and then update gas meter gas consumption previous [input_text.gas_meter_gas_consumption_previous] to the current gas meter gas consumption [sensor.gas_meter_gas_consumption] value. Finally, update hourly gas calculation last triggered [input_text.hourly_gas_calculation_last_triggered] with the last_triggered timestamp from the automation entity automation.hourly_gas_calculation.",
|
|
"natural_language": {
|
|
"trigger": "The automation runs whenever the gas meter gas consumption [sensor.gas_meter_gas_consumption] sensor updates its value, or every five minutes on a scheduled basis.",
|
|
"conditions": "There are no separate conditions block. The logic for deciding what to do is embedded within the action sequence using a choose block.",
|
|
"action": "The automation performs a conditional calculation. First, it checks if the current gas consumption reading is the same as the previously stored value and if the automation was last triggered more than 299 seconds ago. If both are true, it sets the hourly gas [input_number.hourly_gas] value to zero, indicating no recent consumption. If the current reading is different from the previous one, it calculates the hourly gas usage by taking the difference between the current and previous readings, multiplying by 12 to scale it to an hourly rate, and rounding the result. It then updates the stored previous reading with the new value. Regardless of which path was taken, the automation finally records the time it was last run by saving the automation's last_triggered timestamp."
|
|
},
|
|
"human_like": "Calculates and updates an estimated hourly gas consumption rate, resetting it to zero if the meter hasn't changed for a while.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "matrix_panel_update",
|
|
"result": {
|
|
"structured": "TRIGGER: When any of the following entities change state: matrix display [input_boolean.matrix_display], matrix brightness [input_number.matrix_brightness], matrix view [input_select.matrix_view], matrix temperature outside [sensor.matrix_temperature_outside], matrix temperature inside [sensor.matrix_temperature_inside], matrix inverter outputpower [sensor.matrix_inverter_outputpower], matrix inverter daytotal [sensor.matrix_inverter_daytotal], matrix usage dayenery [sensor.matrix_usage_dayenery], matrix usage daygas [sensor.matrix_usage_daygas]. CONDITIONS: None. ACTIONS: Choose one of two sequences based on conditions. IF matrix brightness [input_number.matrix_brightness] is below 1, THEN turn off matrix display [input_boolean.matrix_display] AND set matrix brightness [input_number.matrix_brightness] to 100. OTHERWISE, IF NOT (matrix display [input_boolean.matrix_display] is off for 1 minute AND matrix wifi [device_tracker.matrix_wifi] is not_home), THEN call the REST command 'matrix' with data values from all the triggered entities.",
|
|
"natural_language": {
|
|
"trigger": "When any of the monitored entities related to the matrix panel changes state. This includes the display on/off state, brightness level, selected view, outside temperature, inside temperature, inverter power output, inverter daily total, daily energy usage, and daily gas usage.",
|
|
"conditions": "There are no global conditions. The automation uses a conditional choose action to decide what to do.",
|
|
"action": "The automation performs one of two actions. If the brightness is set below 1, it turns off the display and resets the brightness to 100. Otherwise, if it is not the case that the display has been off for at least one minute and the matrix wifi device is away from home, it sends an update command to the matrix panel with the current states of all the monitored entities."
|
|
},
|
|
"human_like": "Updates a matrix display panel with various sensor data whenever relevant information changes, and ensures the display is not accidentally left at zero brightness.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "matrix_panel_cycle",
|
|
"result": {
|
|
"structured": "TRIGGER: Every 15 seconds (time pattern). CONDITIONS: matrix display [input_boolean.matrix_display] is on. ACTIONS: Cycle to the next option for matrix view [input_select.matrix_view].",
|
|
"natural_language": {
|
|
"trigger": "Every 15 seconds.",
|
|
"conditions": "The matrix display [input_boolean.matrix_display] must be turned on.",
|
|
"action": "Cycles to the next available view option for the matrix view [input_select.matrix_view]."
|
|
},
|
|
"human_like": "Cycles through the views on the matrix display every 15 seconds when the display is enabled.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "matrix_panel_activation",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion huiskamer group [group.motion_huiskamer] changes to on. CONDITIONS: (matrix display [input_boolean.matrix_display] is off) AND (matrix wifi [device_tracker.matrix_wifi] is home). ACTIONS: Turn on matrix display [input_boolean.matrix_display].",
|
|
"natural_language": {
|
|
"trigger": "When motion is detected by the motion huiskamer group [group.motion_huiskamer].",
|
|
"conditions": "The matrix display [input_boolean.matrix_display] must be off, and the device tracked as matrix wifi [device_tracker.matrix_wifi] must be at home.",
|
|
"action": "Turns on the matrix display [input_boolean.matrix_display]."
|
|
},
|
|
"human_like": "Turns on the living room matrix display when motion is detected and the device is at home.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "matrix_panel_deactivation",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion huiskamer group [group.motion_huiskamer] remains off for 15 minutes. CONDITIONS: matrix display [input_boolean.matrix_display] is on. ACTIONS: Turn off matrix display [input_boolean.matrix_display].",
|
|
"natural_language": {
|
|
"trigger": "When the motion huiskamer group [group.motion_huiskamer] reports no motion for a continuous period of 15 minutes.",
|
|
"conditions": "If the matrix display [input_boolean.matrix_display] is currently turned on.",
|
|
"action": "Turns off the matrix display [input_boolean.matrix_display]."
|
|
},
|
|
"human_like": "Turns off the matrix display in the living room after no motion has been detected there for 15 minutes.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_huiskamer_detected",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion huiskamer group [group.motion_huiskamer] changes to 'on'. CONDITIONS: (huiskamer light [light.huiskamer] is off) AND (huiskamer motion sensor 1 illuminance [sensor.huiskamer_motion_sensor_1_illuminance] is below 1) AND (huiskamer motion sensor 2 illuminance [sensor.huiskamer_motion_sensor_2_illuminance] is below 1). ACTIONS: Execute script.scene_huiskamer_motion.",
|
|
"natural_language": {
|
|
"trigger": "When motion is detected by the motion huiskamer group [group.motion_huiskamer], meaning it changes its state to 'on'.",
|
|
"conditions": "The huiskamer light [light.huiskamer] must be off, and the illuminance readings from both huiskamer motion sensor 1 illuminance [sensor.huiskamer_motion_sensor_1_illuminance] and huiskamer motion sensor 2 illuminance [sensor.huiskamer_motion_sensor_2_illuminance] must be below a value of 1.",
|
|
"action": "Runs the script 'scene_huiskamer_motion'."
|
|
},
|
|
"human_like": "Turns on a scene in the living room when motion is detected, but only if the lights are off and the room is dark.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_huiskamer_undetected",
|
|
"result": {
|
|
"structured": "TRIGGER: When presence huiskamer [binary_sensor.presence_huiskamer] remains off for 1 minute. CONDITIONS: huiskamer light [light.huiskamer] is on. ACTIONS: Turn off huiskamer light [light.huiskamer].",
|
|
"natural_language": {
|
|
"trigger": "When the presence huiskamer [binary_sensor.presence_huiskamer] sensor detects no presence for at least one minute.",
|
|
"conditions": "If the huiskamer light [light.huiskamer] is currently switched on.",
|
|
"action": "Turns off the huiskamer light [light.huiskamer]."
|
|
},
|
|
"human_like": "Automatically turns off the living room light when no motion is detected there for a minute.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_parkeerplaats_detected",
|
|
"result": {
|
|
"structured": "TRIGGER: When parkeerplaats motion sensor motion [binary_sensor.parkeerplaats_motion_sensor_motion] changes to on. CONDITIONS: (parkeerplaats light [light.parkeerplaats] is off) AND (parkeerplaats motion sensor illuminance [sensor.parkeerplaats_motion_sensor_illuminance] is below 5). ACTIONS: Run script.scene_parkeerplaats_motion AND Turn on automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When motion is detected by the parkeerplaats motion sensor motion [binary_sensor.parkeerplaats_motion_sensor_motion].",
|
|
"conditions": "The parkeerplaats light [light.parkeerplaats] must be off, and the ambient light level measured by the parkeerplaats motion sensor illuminance [sensor.parkeerplaats_motion_sensor_illuminance] must be below a value of 5.",
|
|
"action": "Activates a predefined lighting scene by running the script 'scene_parkeerplaats_motion' and also turns on the status flag automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered]."
|
|
},
|
|
"human_like": "Turns on the parking area lights when motion is detected in the dark, and marks that the automation has been triggered.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_parkeerplaats_undetected",
|
|
"result": {
|
|
"structured": "TRIGGER: When parkeerplaats motion sensor motion [binary_sensor.parkeerplaats_motion_sensor_motion] remains off (no motion) for 1 minute. CONDITIONS: automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered] is on. ACTIONS: Turn off parkeerplaats light [light.parkeerplaats] AND turn off automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When the parkeerplaats motion sensor motion [binary_sensor.parkeerplaats_motion_sensor_motion] reports no motion for a continuous period of one minute.",
|
|
"conditions": "If the automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered] is currently switched on.",
|
|
"action": "Turns off the parkeerplaats light [light.parkeerplaats] and then switches off the automation motion parkeerplaats triggered [input_boolean.automation_motion_parkeerplaats_triggered] flag."
|
|
},
|
|
"human_like": "Turns off the parking light after motion has been undetected for a minute, provided the automation was previously triggered.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_toilet_detected",
|
|
"result": {
|
|
"structured": "TRIGGER: When toilet motion sensor motion [binary_sensor.toilet_motion_sensor_motion] becomes on. CONDITIONS: toilet light [light.toilet] is off. ACTIONS: Execute script.scene_toilet_motion.",
|
|
"natural_language": {
|
|
"trigger": "When motion is detected by the toilet motion sensor motion [binary_sensor.toilet_motion_sensor_motion].",
|
|
"conditions": "The toilet light [light.toilet] must be off.",
|
|
"action": "Runs the script 'scene_toilet_motion'."
|
|
},
|
|
"human_like": "Turns on the toilet light when motion is detected and the light is currently off.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_toilet_undetected",
|
|
"result": {
|
|
"structured": "TRIGGER: When toilet motion sensor motion [binary_sensor.toilet_motion_sensor_motion] remains off for 1 minute. CONDITIONS: toilet light [light.toilet] is on. ACTIONS: Turn off toilet light [light.toilet].",
|
|
"natural_language": {
|
|
"trigger": "When the toilet motion sensor motion [binary_sensor.toilet_motion_sensor_motion] reports no motion for at least one minute.",
|
|
"conditions": "If the toilet light [light.toilet] is currently turned on.",
|
|
"action": "Turns off the toilet light [light.toilet]."
|
|
},
|
|
"human_like": "Automatically turns off the toilet light one minute after motion is no longer detected, provided the light is on.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_tuin_detected",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion tuin group [group.motion_tuin] changes to on. CONDITIONS: (achterdeur light [light.achterdeur] is off) AND (schuur light [light.schuur] is off) AND ((tuin motion sensor 1 illuminance [sensor.tuin_motion_sensor_1_illuminance] is below 5) OR (tuin motion sensor 2 illuminance [sensor.tuin_motion_sensor_2_illuminance] is below 5)). ACTIONS: Run script.scene_tuin_motion AND Turn on automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When the motion tuin group [group.motion_tuin] detects motion and changes its state to on.",
|
|
"conditions": "The achterdeur light [light.achterdeur] must be off, the schuur light [light.schuur] must be off, and at least one of the garden illuminance sensors must report a value below 5 lux (either tuin motion sensor 1 illuminance [sensor.tuin_motion_sensor_1_illuminance] or tuin motion sensor 2 illuminance [sensor.tuin_motion_sensor_2_illuminance]).",
|
|
"action": "Activates the garden motion scene by running the script 'scene_tuin_motion' and sets the flag automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered] to on."
|
|
},
|
|
"human_like": "Turns on garden lights when motion is detected in the dark, but only if the back door and shed lights are off.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "motion_tuin_undetected",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion tuin group [group.motion_tuin] remains off for 1 minute. CONDITIONS: automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered] is on. ACTIONS: Turn off achterdeur light [light.achterdeur] AND turn off schuur light [light.schuur] AND turn off automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered].",
|
|
"natural_language": {
|
|
"trigger": "When the motion tuin group [group.motion_tuin] reports no motion for at least one minute.",
|
|
"conditions": "If the automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered] is currently switched on.",
|
|
"action": "Turns off the achterdeur light [light.achterdeur] and the schuur light [light.schuur], and then turns off the automation motion tuin triggered [input_boolean.automation_motion_tuin_triggered] switch."
|
|
},
|
|
"human_like": "Turns off the garden and shed lights after motion has been undetected for a minute, provided the automation is active.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "remote_huiskamer_pressed",
|
|
"result": {
|
|
"structured": "TRIGGER: When a hue_event occurs. CONDITIONS: The event data id equals \"afstandsbediening_1_button\" AND (the event data type equals \"short_release\" OR the event data type equals \"repeat\"). ACTIONS: If the event data subtype equals 1 AND the event data type equals \"repeat\", then run script.scene_huiskamer_tvkijken. Otherwise, if the event data type equals \"short_release\", then: If the event data subtype equals 1, then check the state of scene huiskamer last triggered [input_text.scene_huiskamer_last_triggered] and run a script based on a circular sequence: if state is scene_huiskamer_spelen, run script.scene_huiskamer_overdag; if state is scene_huiskamer_overdag, run script.scene_huiskamer_avond; if state is scene_huiskamer_avond, run script.scene_huiskamer_eten; if state is scene_huiskamer_eten, run script.scene_huiskamer_koken; if state is scene_huiskamer_koken, run script.scene_huiskamer_tvkijken; if state is scene_huiskamer_tvkijken, run script.scene_huiskamer_spelen. If the event data subtype equals 2, run script.scene_huiskamer_brighter. If the event data subtype equals 3, run script.scene_huiskamer_dimmer. If the event data subtype equals 4, run script.scene_huiskamer_off.",
|
|
"natural_language": {
|
|
"trigger": "When a Philips Hue remote button event is received.",
|
|
"conditions": "The event must come from the remote with ID \"afstandsbediening_1_button\" and the button press must be either a short release or a repeat (held) press.",
|
|
"action": "If the button is held (repeat) and the subtype is 1, it triggers the TV watching scene script. For a short press, the action depends on the button subtype. Button 1 cycles through a sequence of living room scenes based on the last triggered scene stored in scene huiskamer last triggered [input_text.scene_huiskamer_last_triggered]. Button 2 makes the lights brighter, button 3 dims the lights, and button 4 turns the lights off."
|
|
},
|
|
"human_like": "Controls the living room lights and scenes using a Philips Hue remote, allowing you to cycle scenes, adjust brightness, or turn lights off.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "remote_kerstboom_pressed",
|
|
"result": {
|
|
"structured": "TRIGGER: When a hue_event occurs. CONDITIONS: The event data id is \"afstandsbediening_2_button\" AND (the event data type is \"short_release\" OR the event data type is \"long_release\"). ACTIONS: If the event data subtype is 1, turn on the light defined by the variable light_entity. If the event data subtype is 2, turn on the light defined by the variable light_entity and increase its brightness by 20%. If the event data subtype is 3, turn on the light defined by the variable light_entity and decrease its brightness by 20%. If the event data subtype is 4, turn off the light defined by the variable light_entity. The variable light_entity is set to twinkly strings [light.twinkly_strings] if the event type is \"short_release\", otherwise it is set to twinkly icicle [light.twinkly_icicle].",
|
|
"natural_language": {
|
|
"trigger": "When a Hue remote button event is received.",
|
|
"conditions": "The button press must come from the remote named \"afstandsbediening_2_button\" and the button must have been either a short press or a long press.",
|
|
"action": "Depending on which button was pressed, the automation controls a Christmas light. A short press selects the twinkly strings [light.twinkly_strings], while a long press selects the twinkly icicle [light.twinkly_icicle]. Then, based on the specific button number: button 1 turns the selected light on, button 2 turns it on and increases its brightness, button 3 turns it on and decreases its brightness, and button 4 turns the selected light off."
|
|
},
|
|
"human_like": "Controls the Christmas lights using a Hue remote, allowing you to turn them on, off, or adjust brightness with different buttons.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "router_mesh_points_activation",
|
|
"result": {
|
|
"structured": "TRIGGER: When all persons group [group.all_persons] changes state to home. CONDITIONS: None. ACTIONS: Turn on wifi mesh boven socket [switch.wifi_mesh_boven_socket] AND wifi mesh tuin socket [switch.wifi_mesh_tuin_socket].",
|
|
"natural_language": {
|
|
"trigger": "When the all persons group [group.all_persons] changes its state to indicate that at least one person is home.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Turns on the wifi mesh boven socket [switch.wifi_mesh_boven_socket] and the wifi mesh tuin socket [switch.wifi_mesh_tuin_socket] to activate the router mesh points."
|
|
},
|
|
"human_like": "Turns on the upstairs and garden WiFi mesh points when someone arrives home.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "router_mesh_points_deactivation",
|
|
"result": {
|
|
"structured": "TRIGGER: When all persons group [group.all_persons] remains not_home for 15 minutes. CONDITIONS: None. ACTIONS: Turn off wifi mesh boven socket [switch.wifi_mesh_boven_socket] AND wifi mesh tuin socket [switch.wifi_mesh_tuin_socket].",
|
|
"natural_language": {
|
|
"trigger": "When the group tracking all persons [group.all_persons] shows that everyone has been away from home for 15 minutes.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "Turns off the power to two Wi-Fi mesh points: the upstairs unit [switch.wifi_mesh_boven_socket] and the garden unit [switch.wifi_mesh_tuin_socket]."
|
|
},
|
|
"human_like": "Turns off the Wi-Fi mesh extenders when everyone has been away from home for 15 minutes to save power.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "vacation_mode",
|
|
"result": {
|
|
"structured": "TRIGGER: When light buiten [sensor.light_buiten] changes state OR every 5 minutes. CONDITIONS: (light buiten [sensor.light_buiten] is below 100) AND (time is after 07:00:00 AND before 22:30:00). ACTIONS: If conditions are met: wait a random delay between 0 and 301 seconds, then run script.scene_huiskamer_tvkijken. Otherwise (default): wait a random delay between 0 and 301 seconds, then turn off huiskamer light [light.huiskamer].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers either when the light buiten [sensor.light_buiten] sensor changes its value, or every 5 minutes based on a time pattern.",
|
|
"conditions": "For the main action to run, the light buiten [sensor.light_buiten] must have a value below 100, and the current time must be between 07:00:00 and 22:30:00.",
|
|
"action": "If the conditions are met, the automation waits for a random amount of time up to 5 minutes and 1 second, then activates the TV watching scene in the living room via the script.scene_huiskamer_tvkijken. If the conditions are not met, it waits a similar random delay and then turns off the huiskamer light [light.huiskamer]."
|
|
},
|
|
"human_like": "Simulates occasional TV watching in the living room during the day when it's dark outside, and otherwise turns the light off, to give the appearance that someone is home while on vacation.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "vacation_mode_activation",
|
|
"result": {
|
|
"structured": "TRIGGER: When all persons group [group.all_persons] changes to not_home AND remains not_home for 24 hours. CONDITIONS: None. ACTIONS: Turn on vacation mode automation [automation.vacation_mode].",
|
|
"natural_language": {
|
|
"trigger": "When the all persons group [group.all_persons] indicates that everyone has left home and remains in the 'not_home' state for a full 24 hours.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Activates the vacation mode automation [automation.vacation_mode]."
|
|
},
|
|
"human_like": "Automatically starts the vacation mode routine when the house has been empty for an entire day.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "vacation_mode_deactivation",
|
|
"result": {
|
|
"structured": "TRIGGER: When all persons group [group.all_persons] changes state to home. CONDITIONS: None. ACTIONS: Turn off vacation mode automation [automation.vacation_mode].",
|
|
"natural_language": {
|
|
"trigger": "When the all persons group [group.all_persons] reports that at least one person has returned home.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Deactivates the vacation mode by turning off the vacation mode automation [automation.vacation_mode]."
|
|
},
|
|
"human_like": "Automatically turns off the vacation mode when someone comes home.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |