158 lines
18 KiB
JSON
158 lines
18 KiB
JSON
[
|
|
{
|
|
"id": "Alles uit wanneer we van huis gaan",
|
|
"result": {
|
|
"structured": "TRIGGER: When home zone [zone.home] changes to having 0 persons. CONDITIONS: None. ACTIONS: Turn off all lights [light.all_lights] AND stop media on media player device 1 [device_id:bf95a24944350c43f307e08e4b4ed465], media player device 2 [device_id:12c27fd464189ea8a982c7f6717bc78f], and media player device 3 [device_id:2fd804bee45e4ee55a7edc637f347eba].",
|
|
"natural_language": {
|
|
"trigger": "When the home zone [zone.home] reports that the number of people present changes to zero, indicating everyone has left.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Turns off all lights [light.all_lights] and stops any media playback on three specific media player devices: media player device 1, media player device 2, and media player device 3."
|
|
},
|
|
"human_like": "Turns off all lights and stops media players when everyone leaves the house.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "Brood uit koelkast reminder",
|
|
"result": {
|
|
"structured": "TRIGGER: At 06:22:00. CONDITIONS: None. ACTIONS: Use TTS service to say 'Don't forget to take your sandwiches out of the fridge' on sonos keuken [media_player.sonos_keuken].",
|
|
"natural_language": {
|
|
"trigger": "Every day at 06:22.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "Plays a voice reminder on the sonos keuken [media_player.sonos_keuken] speaker, saying 'Don't forget to take your sandwiches out of the fridge'."
|
|
},
|
|
"human_like": "Plays a daily morning voice reminder in the kitchen to take sandwiches out of the fridge.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "KNMI weercode",
|
|
"result": {
|
|
"structured": "TRIGGER: When KNMI weercode [sensor.knmi_weercode] changes to geel OR oranje OR rood. CONDITIONS: matthijs person [person.matthijs] is home OR fleur person [person.fleur] is home. ACTIONS: 1. Take a snapshot of sonos keuken [media_player.sonos_keuken] with its group. 2. Set volume to 0.4 for media player device 2 [device_id:12c27fd464189ea8a982c7f6717bc78f]. 3. Set volume to 0.4 for media player device 1 [device_id:bf95a24944350c43f307e08e4b4ed465]. 4. Set volume to 0.4 for media player device 3 [device_id:2fd804bee45e4ee55a7edc637f347eba]. 5. Join sonos keuken [media_player.sonos_keuken], sonos woonkamer [media_player.sonos_woonkamer], and sonos symfonisk [media_player.sonos_symfonisk] into a group. 6. Use TTS to announce 'Let op. Code [current state of sensor.knmi_weercode] van kracht!' on sonos keuken [media_player.sonos_keuken]. 7. Restore the snapshot of sonos keuken [media_player.sonos_keuken] with its group.",
|
|
"natural_language": {
|
|
"trigger": "When the KNMI weather code sensor [sensor.knmi_weercode] changes its state to yellow (geel), orange (oranje), or red (rood).",
|
|
"conditions": "Either matthijs person [person.matthijs] is at home, or fleur person [person.fleur] is at home.",
|
|
"action": "First, it saves the current audio state of the kitchen Sonos speaker [media_player.sonos_keuken] and its group. Then, it sets the volume to 40% on three specific media player devices. Next, it groups the kitchen Sonos [media_player.sonos_keuken], living room Sonos [media_player.sonos_woonkamer], and the Symfonisk speaker [media_player.sonos_symfonisk] together. Using text-to-speech, it announces a warning message stating the current weather code on the kitchen Sonos speaker. Finally, it restores the previously saved audio state of the kitchen Sonos speaker and its group."
|
|
},
|
|
"human_like": "Announces severe weather warnings on the Sonos speakers when a yellow, orange, or red weather code is issued and someone is home.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Lampen woonkamer aan/uit",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunset occurs with an offset of minus 20 minutes OR When zone.home [zone.home] changes from state '0'. CONDITIONS: None. ACTIONS: Choose based on trigger: IF (trigger is 'Zon gaat onder' AND zone.home [zone.home] has a numeric state above 0) THEN turn on light device 1 [device_id: 999ffc9b7c11eaa884b98454bdb9b248], light device 2 [device_id: 76e044d807f549f31c91d9a37ee294eb], and light device 3 [device_id: 4253b06aa7efdb084156487f007089d2]. OR IF (trigger is 'Thuiskomen' AND sun.sun [sun.sun] state is below_horizon AND current time is before 23:00:00) THEN turn on light device 1 [device_id: 999ffc9b7c11eaa884b98454bdb9b248], light device 2 [device_id: 76e044d807f549f31c91d9a37ee294eb], and light device 3 [device_id: 4253b06aa7efdb084156487f007089d2].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers either 20 minutes before sunset, or when the home zone [zone.home] changes from a state of '0'.",
|
|
"conditions": "There are no global conditions for this automation.",
|
|
"action": "The automation uses a choose action to decide which lights to turn on. If the trigger is the sunset event and the home zone [zone.home] has at least one person present, it turns on three living room lights: light device 1, light device 2, and light device 3. Alternatively, if the trigger is arriving home, it will turn on the same three lights, but only if the sun [sun.sun] is below the horizon and the current time is before 11:00 PM."
|
|
},
|
|
"human_like": "Turns on the living room lights either 20 minutes before sunset when someone is home, or when someone arrives home after sunset and before 11 PM.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Motion-light slaapkamer",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion sensor bedroom [d8a65a72adc94a411df97899b9521188] detects motion OR When motion sensor bedroom [d8a65a72adc94a411df97899b9521188] stops detecting motion. CONDITIONS: None. ACTIONS: Choose based on trigger and time conditions: 1) IF trigger is Motion detected AND time is after sunset AND time is before 21:30:00 THEN turn on switch bedroom [e4dca38dab7334701b9493a7eef150db]. 2) IF trigger is Motion stopped THEN turn off switch bedroom [e4dca38dab7334701b9493a7eef150db]. 3) IF trigger is Motion detected AND time is after 21:30:00 AND time is before 22:00:00 THEN turn on switch bedroom 2 [a356bc64b65e1b4a0a64195f798dde03].",
|
|
"natural_language": {
|
|
"trigger": "When the motion sensor bedroom [d8a65a72adc94a411df97899b9521188] detects motion or when it stops detecting motion.",
|
|
"conditions": "There are no global conditions.",
|
|
"action": "Depending on the trigger and the time of day, the automation will turn on or off different switches. If motion is detected after sunset but before 9:30 PM, it turns on the main bedroom switch [e4dca38dab7334701b9493a7eef150db]. If motion stops, it turns off that same main switch. If motion is detected between 9:30 PM and 10:00 PM, it turns on a secondary bedroom switch [a356bc64b65e1b4a0a64195f798dde03] instead."
|
|
},
|
|
"human_like": "Automatically controls bedroom lights based on motion, using different switches depending on the time of evening.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Motion Toilet",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion sensor toilet [270d1ce26ddf06b2ec5d3af611eefaf7] detects motion OR When motion sensor toilet [270d1ce26ddf06b2ec5d3af611eefaf7] reports no motion for 1 minute and 20 seconds. CONDITIONS: None. ACTIONS: Choose based on trigger and time conditions: (IF trigger is Detected motion AND current time is between 07:00:00 and 00:00:00 on Monday, Tuesday, Wednesday, Thursday, or Friday THEN turn on light toilet [783d053b964fdd8e0231e17d186ebac3] at 70% brightness) OR (IF trigger is Motion stopped THEN turn off light toilet [783d053b964fdd8e0231e17d186ebac3]) OR (IF trigger is Detected motion AND current time is between 08:30:00 and 01:00:00 on Saturday or Sunday THEN turn on light toilet [783d053b964fdd8e0231e17d186ebac3] at 70% brightness).",
|
|
"natural_language": {
|
|
"trigger": "When the motion sensor toilet [270d1ce26ddf06b2ec5d3af611eefaf7] detects motion, or when it reports no motion for at least one minute and twenty seconds.",
|
|
"conditions": "There are no global conditions; conditions are evaluated within the action's choose block.",
|
|
"action": "Depending on the trigger and the time of day, the automation will either turn on the light toilet [783d053b964fdd8e0231e17d186ebac3] at 70% brightness or turn it off. On weekdays (Monday to Friday), if motion is detected between 7:00 AM and midnight, the light is turned on. On weekends (Saturday and Sunday), if motion is detected between 8:30 AM and 1:00 AM, the light is turned on. If motion stops for over a minute and twenty seconds, the light is turned off."
|
|
},
|
|
"human_like": "Automatically controls the toilet light based on motion, turning it on during specific hours on weekdays and weekends, and turning it off after a period of no motion.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Motion-lights hal",
|
|
"result": {
|
|
"structured": "TRIGGER: When motion sensor hall [7e6e6c77e127394e7217afbf203238b6] detects motion OR When motion sensor hall [7e6e6c77e127394e7217afbf203238b6] stops detecting motion AND remains in that state for 1 minute and 20 seconds. CONDITIONS: None. ACTIONS: Based on the trigger and additional conditions, execute one of the following sequences: 1. IF trigger is Motion detected AND time is between 16:00:00 and 23:00:00 AND sun is after sunset with a 20-minute negative offset THEN turn on lamps hall [light.lampen_hal]. 2. IF trigger is Motion stopped THEN turn off lamps hall [light.lampen_hal]. 3. IF trigger is Motion detected AND sun.sun [sun.sun] is below_horizon AND time is between 06:25:00 and 09:00:00 on Monday to Friday THEN turn on light device hall [49de623ef58c7bfe7a5111c226d128a7] with brightness 5%. 4. IF trigger is Motion detected AND time is between 23:00:00 and 01:30:00 on Friday, Saturday, or Sunday THEN turn on light device hall [49de623ef58c7bfe7a5111c226d128a7] with brightness 5%. 5. IF trigger is Motion detected AND motion hall light sensor [sensor.motion_hal_licht] value is below 9 AND time is between 10:00:00 and 19:00:00 THEN turn on lamps hall [light.lampen_hal].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when the motion sensor hall [7e6e6c77e127394e7217afbf203238b6] detects motion, or when it stops detecting motion and remains motionless for 1 minute and 20 seconds.",
|
|
"conditions": "There are no global conditions. Specific conditions are evaluated within each action path.",
|
|
"action": "Depending on the trigger and specific time or environmental conditions, the automation performs different actions. If motion is detected between 4 PM and 11 PM and it's after sunset (with a 20-minute offset), it turns on the main hall lamps [light.lampen_hal]. If motion stops, it turns those lamps off. If motion is detected before 9 AM on weekdays while the sun is below the horizon, it turns on a specific hall light device [49de623ef58c7bfe7a5111c226d128a7] at 5% brightness. If motion is detected late at night on weekends, it also turns on that same light at 5% brightness. Finally, if motion is detected during daytime hours and the ambient light sensor [sensor.motion_hal_licht] reads below 9, it turns on the main hall lamps."
|
|
},
|
|
"human_like": "This automation controls the hall lights based on motion, time of day, and ambient light levels, turning them on at appropriate brightness for different scenarios and turning them off when motion stops.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "Planten (mi flora)",
|
|
"result": {
|
|
"structured": "TRIGGER: When strelitzia plant moisture [sensor.plant_sensor_strelizia_moisture] falls below 18 OR when calathea plant moisture [sensor.plant_sensor_calathea_moisture] falls below 18. CONDITIONS: None. ACTIONS: Choose based on trigger and condition: IF trigger is 'Water geven strelitzia' THEN send a notification to mobile_app_samsung_van_matthijs and mobile_app_telefoon_van_fleur with a message that the strelitzia needs water. IF trigger is 'Water geven Calathea' THEN send a notification to mobile_app_samsung_van_matthijs and mobile_app_telefoon_van_fleur with a message that the calathea needs water. IF trigger is 'Water geven strelitzia' AND home zone [zone.home] is above 0 THEN take a snapshot of sonos keuken [media_player.sonos_keuken] with its group, join the kitchen and living room areas to the speaker, play a TTS message that the Strelitzia needs water, and restore the Sonos snapshot. IF trigger is 'Water geven Calathea' AND home zone [zone.home] is above 0 THEN take a snapshot of sonos keuken [media_player.sonos_keuken] with its group, join the kitchen and living room areas to the speaker, play a TTS message that the Calathea needs water, and restore the Sonos snapshot.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when the moisture level of the strelitzia plant [sensor.plant_sensor_strelizia_moisture] drops below 18, or when the moisture level of the calathea plant [sensor.plant_sensor_calathea_moisture] drops below 18.",
|
|
"conditions": "There are no global conditions. However, some actions have their own specific conditions: for the TTS announcements to play, an additional check is made to see if the home zone [zone.home] has a value above 0, which likely indicates someone is home.",
|
|
"action": "Depending on which plant needs water and whether someone is home, the automation performs different actions. If the strelitzia is dry, it sends a notification to two mobile phones. If the calathea is dry, it sends a similar notification. If someone is home (home zone above 0) and the strelitzia is dry, it will temporarily take control of the kitchen Sonos speaker, group it with the living room, announce the need for water in Dutch, and then restore the speaker's previous state. The same TTS action occurs for the calathea if someone is home."
|
|
},
|
|
"human_like": "This automation notifies you when your strelitzia or calathea plants need watering, sending phone alerts and, if someone is home, making a voice announcement over the speakers.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Reistijd naar huis Fleur",
|
|
"result": {
|
|
"structured": "TRIGGER: When fleur person [person.fleur] leaves fleur work zone [zone.werk_fleur]. CONDITIONS: Current time is after 16:00:00 AND current weekday is Monday OR Tuesday OR Wednesday OR Thursday. ACTIONS: Update the entity Verlaten van werk automation [automation.verlaten_van_werk] AND send a notification to mobile_app_sm_g998b with a message containing the departure time and the estimated travel time from waze travel time work fleur [sensor.waze_reistijd_werk_fleur].",
|
|
"natural_language": {
|
|
"trigger": "When Fleur [person.fleur] leaves her work zone [zone.werk_fleur].",
|
|
"conditions": "The automation only runs if the current time is after 4:00 PM and the day is a weekday from Monday through Thursday.",
|
|
"action": "First, it updates the state of the 'Verlaten van werk' automation [automation.verlaten_van_werk]. Then, it sends a notification to a mobile device with a message stating the current departure time and the estimated travel time home, which is retrieved from the Waze travel time sensor [sensor.waze_reistijd_werk_fleur]."
|
|
},
|
|
"human_like": "Sends a notification with Fleur's estimated arrival time when she leaves work on weekday afternoons.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Reset boolean weer info",
|
|
"result": {
|
|
"structured": "TRIGGER: At 06:00:00. CONDITIONS: None. ACTIONS: Turn on morning weather info boolean [input_boolean.weer_info_ochtend].",
|
|
"natural_language": {
|
|
"trigger": "Every day at 6:00 AM.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "Turns on the morning weather info boolean [input_boolean.weer_info_ochtend]."
|
|
},
|
|
"human_like": "Resets the morning weather info status at 6 AM each day.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "Vakantie modus",
|
|
"result": {
|
|
"structured": "TRIGGER: When vacation mode boolean [input_boolean.vakantiemodus] turns on OR When vacation mode boolean [input_boolean.vakantiemodus] turns off. CONDITIONS: None. ACTIONS: Choose based on trigger: If triggered by vacation mode boolean [input_boolean.vakantiemodus] turning on, then turn off all switches in areas woonkamer and slaapkamer, stop media on devices media player device 1 [device_id:bf95a24944350c43f307e08e4b4ed465] and media player device 2 [device_id:12c27fd464189ea8a982c7f6717bc78f], and turn off all lights in areas hal, slaapkamer, and woonkamer.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when the vacation mode boolean [input_boolean.vakantiemodus] is either turned on or turned off.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "If the trigger was the vacation mode being turned on, the automation will turn off all switches in the living room (woonkamer) and bedroom (slaapkamer) areas, stop any media playing on two specific media player devices, and turn off all lights in the hallway (hal), bedroom (slaapkamer), and living room (woonkamer) areas. If the trigger was the vacation mode being turned off, no action is taken."
|
|
},
|
|
"human_like": "Activates 'vacation mode' by turning off lights, switches, and media players in key areas of the home when enabled.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Verjaardagen",
|
|
"result": {
|
|
"structured": "TRIGGER: When an event starts in the anniversaries calendar [calendar.anniversaries]. CONDITIONS: None. ACTIONS: Send a notification to mobile_app_samsung_van_matthijs with title 'Verjaardag' and message 'Vandaag is {{ trigger.calendar_event.summary }} jarig!' AND Send a notification to mobile_app_telefoon_van_fleur with title 'Verjaardag' and message 'Vandaag is {{ trigger.calendar_event.summary }} jarig!'.",
|
|
"natural_language": {
|
|
"trigger": "When an event begins in the anniversaries calendar [calendar.anniversaries].",
|
|
"conditions": "There are no conditions that need to be met.",
|
|
"action": "Sends a birthday notification to two mobile devices. The notification has the title 'Verjaardag' and a message stating who has a birthday today, using the event summary from the calendar."
|
|
},
|
|
"human_like": "Sends birthday notifications to mobile phones when a birthday event starts in the calendar.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |