119 lines
12 KiB
JSON
119 lines
12 KiB
JSON
[
|
|
{
|
|
"id": "'Server Rack: Overheating'",
|
|
"result": {
|
|
"structured": "TRIGGER: When server rack overheating sensor [binary_sensor.server_rack_overheating] changes state to 'on'. CONDITIONS: None. ACTIONS: Turn on apollo temp rgb light [light.apollo_temp_1b_42_0e5ec8_rgb_light] with 100% brightness, red color (RGB 255, 0, 0), a long flash effect, and the 'Slow Pulse' effect.",
|
|
"natural_language": {
|
|
"trigger": "When the server rack overheating sensor [binary_sensor.server_rack_overheating] detects that the temperature has exceeded the threshold and turns on.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Turns on the apollo temp rgb light [light.apollo_temp_1b_42_0e5ec8_rgb_light] to a bright, flashing red light with a slow pulse effect to serve as a visual overheating alarm."
|
|
},
|
|
"human_like": "Triggers a red flashing light alarm when the server rack starts to overheat.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Device Health: Z2M Offline Devices'",
|
|
"result": {
|
|
"structured": "TRIGGER: When device health z2m offline devices sensor [sensor.device_health_z2m_offline_devices] changes state. CONDITIONS: None. ACTIONS: Send a notification to mobile app dev_phone with title 'Device Health' and a message listing the offline devices, and create a persistent notification with the same title and message.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the device health z2m offline devices sensor [sensor.device_health_z2m_offline_devices] updates its state.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Sends a notification to the mobile app dev_phone with the title 'Device Health' and a message listing the offline Zigbee devices. It also creates a persistent notification with the same information."
|
|
},
|
|
"human_like": "Sends a notification when Zigbee devices are reported as offline, keeping you informed about device health.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Citroen C5X: Position'",
|
|
"result": {
|
|
"structured": "TRIGGER: When c5x latitude sensor [sensor.c5x_latitude] OR c5x longitude sensor [sensor.c5x_longitude] changes state OR every 8 hours (time pattern). CONDITIONS: None. ACTIONS: Update the device tracker c5x position tracker [c5x_position] with the current latitude and longitude values from c5x latitude sensor [sensor.c5x_latitude] and c5x longitude sensor [sensor.c5x_longitude].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers either when the latitude or longitude sensor for the car changes, or at regular intervals every eight hours.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "It updates the position of the car in the device tracker system using the latest latitude and longitude readings."
|
|
},
|
|
"human_like": "Updates the car's location on the map whenever its GPS coordinates change or every eight hours.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Multimedia: Living Room Amplifier - Turn On for TV'",
|
|
"result": {
|
|
"structured": "TRIGGER: When tv living room [media_player.tv_living_room] turns on. CONDITIONS: None. ACTIONS: If yamaha amplifier switch [switch.yamaha_amplifer_switch] is off, then turn on yamaha amplifier switch [switch.yamaha_amplifer_switch] AND wait for yamaha amplifier switch [switch.yamaha_amplifer_switch] to be on for 2 seconds (timeout after 5 seconds). Then, execute script yamaha_amplifier_optical_in.",
|
|
"natural_language": {
|
|
"trigger": "When the tv living room [media_player.tv_living_room] is turned on.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "First, it checks if the yamaha amplifier switch [switch.yamaha_amplifer_switch] is off. If it is, the automation turns the amplifier switch on and then waits for up to 5 seconds for the switch to confirm it is on and remain on for 2 seconds. After this step, or if the amplifier was already on, the automation runs the script 'yamaha_amplifier_optical_in' to switch the amplifier's input to optical."
|
|
},
|
|
"human_like": "Turns on the living room amplifier and sets it to the optical input when the TV is turned on.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Multimedia: Living Room Amplifier - Turn On for WiiM'",
|
|
"result": {
|
|
"structured": "TRIGGER: When mass living room [media_player.mass_living_room] OR wiim living room [media_player.wiim_living_room] changes state to playing. CONDITIONS: None. ACTIONS: IF yamaha amplifier switch [switch.yamaha_amplifer_switch] is off, THEN turn on yamaha amplifier switch [switch.yamaha_amplifer_switch] AND wait for yamaha amplifier switch [switch.yamaha_amplifer_switch] to be on for 2 seconds (timeout after 5 seconds). THEN execute script yamaha amplifier coaxial in [script.yamaha_amplifier_coaxial_in].",
|
|
"natural_language": {
|
|
"trigger": "When either the mass living room [media_player.mass_living_room] or the wiim living room [media_player.wiim_living_room] starts playing.",
|
|
"conditions": "There are no conditions that must be met for the automation to run.",
|
|
"action": "If the yamaha amplifier switch [switch.yamaha_amplifer_switch] is off, it will be turned on. The automation then waits for up to 5 seconds for the amplifier switch to be on for a full 2 seconds. Once the switch is confirmed on, or if it was already on, the script 'yamaha amplifier coaxial in' [script.yamaha_amplifier_coaxial_in] is executed to switch the amplifier's input to coaxial."
|
|
},
|
|
"human_like": "Automatically turns on the living room amplifier and sets it to the coaxial input when a media player starts playing.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Multimedia: Living Room Amplifier - Turn On for Turntable'",
|
|
"result": {
|
|
"structured": "TRIGGER: When turntable power state sensor [binary_sensor.power_state_turntable] turns on. CONDITIONS: None. ACTIONS: If yamaha amplifier switch [switch.yamaha_amplifer_switch] is off, then turn on yamaha amplifier switch [switch.yamaha_amplifer_switch] AND wait for yamaha amplifier switch [switch.yamaha_amplifer_switch] to be on for 2 seconds (timeout 5 seconds). Then, execute script yamaha_amplifier_phono_in.",
|
|
"natural_language": {
|
|
"trigger": "When the turntable power state sensor [binary_sensor.power_state_turntable] detects that the turntable has been turned on.",
|
|
"conditions": "There are no conditions that must be met for the automation to proceed.",
|
|
"action": "First, it checks if the yamaha amplifier switch [switch.yamaha_amplifer_switch] is off. If it is, the automation turns the amplifier on and then waits for up to 5 seconds for the amplifier to be confirmed as on for at least 2 seconds. After the amplifier is on, it runs the script 'yamaha_amplifier_phono_in' to switch the amplifier's input to phono."
|
|
},
|
|
"human_like": "Automatically turns on the living room amplifier and sets it to the phono input when the turntable is powered on.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Multimedia: Living Room Amplifier - Turn Off'",
|
|
"result": {
|
|
"structured": "TRIGGER: When media_player.mass_living_room OR media_player.wiim_living_room remains idle for 5 minutes OR When media_player.mass_living_room OR media_player.wiim_living_room remains paused for 5 minutes OR When tv living room [media_player.tv_living_room] remains off for 5 minutes OR When turntable power state sensor [binary_sensor.power_state_turntable] remains off for 5 minutes. CONDITIONS: NOT (mass living room [media_player.mass_living_room] is playing OR wiim living room [media_player.wiim_living_room] is playing OR tv living room [media_player.tv_living_room] is on OR turntable power state sensor [binary_sensor.power_state_turntable] is on). ACTIONS: If yamaha amplifier switch [switch.yamaha_amplifer_switch] is on, then turn it off.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers if any of the following conditions are met and remain stable for five minutes: either the mass living room [media_player.mass_living_room] or the wiim living room [media_player.wiim_living_room] media players become idle or paused, the tv living room [media_player.tv_living_room] is turned off, or the turntable power state sensor [binary_sensor.power_state_turntable] is off.",
|
|
"conditions": "The automation only proceeds if none of the multimedia devices are actively in use. Specifically, the mass living room [media_player.mass_living_room] must not be playing, the wiim living room [media_player.wiim_living_room] must not be playing, the tv living room [media_player.tv_living_room] must not be on, and the turntable power state sensor [binary_sensor.power_state_turntable] must not be on.",
|
|
"action": "If the yamaha amplifier switch [switch.yamaha_amplifer_switch] is currently on, it will be turned off."
|
|
},
|
|
"human_like": "Automatically turns off the living room amplifier if all connected media devices have been inactive or powered off for five minutes.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Theo: Music'",
|
|
"result": {
|
|
"structured": "TRIGGER: (No explicit triggers defined; automation is triggered externally). CONDITIONS: (No explicit conditions defined). ACTIONS: IF yamaha amplifier switch [switch.yamaha_amplifer_switch] is off THEN turn on yamaha amplifier switch [switch.yamaha_amplifer_switch] AND wait up to 5 seconds for yamaha amplifier switch [switch.yamaha_amplifer_switch] to become on (with a 2-second stability check). THEN execute script yamaha_amplifier_coaxial_in. THEN set shuffle to true on mass living room [media_player.mass_living_room]. THEN play playlist 'Theo's List' on mass living room [media_player.mass_living_room] with enqueue replace.",
|
|
"natural_language": {
|
|
"trigger": "This automation does not have its own triggers; it is designed to be called by another automation or manually.",
|
|
"conditions": "This automation does not have any conditions that must be met before the actions run.",
|
|
"action": "First, it checks if the yamaha amplifier switch [switch.yamaha_amplifer_switch] is off. If it is, the automation turns the amplifier on and waits for up to 5 seconds for it to fully turn on, ensuring it stays on for at least 2 seconds. Once the amplifier is confirmed to be on (or if it was already on), the automation switches the amplifier's input to coaxial, enables shuffle mode on the mass living room [media_player.mass_living_room] media player, and starts playing a playlist named 'Theo's List' on that media player, replacing any currently playing media."
|
|
},
|
|
"human_like": "Prepares the living room for music by turning on the amplifier, setting the correct input, and starting Theo's playlist on shuffle.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'Theo: Music (Nijntje)'",
|
|
"result": {
|
|
"structured": "TRIGGER: (No explicit triggers defined; automation likely triggered manually or externally). CONDITIONS: (None). ACTIONS: IF yamaha amplifier switch [switch.yamaha_amplifer_switch] is off THEN turn on yamaha amplifier switch [switch.yamaha_amplifer_switch] AND wait for yamaha amplifier switch [switch.yamaha_amplifer_switch] to be on for 2 seconds (timeout 5 seconds). THEN execute script.yamaha_amplifier_coaxial_in. THEN set shuffle to false for mass living room [media_player.mass_living_room]. THEN play playlist 'Nijntje' with enqueue replace on mass living room [media_player.mass_living_room].",
|
|
"natural_language": {
|
|
"trigger": "This automation does not have any defined triggers; it is likely designed to be triggered manually or by another automation.",
|
|
"conditions": "There are no conditions that must be met for the actions to run.",
|
|
"action": "First, it checks if the yamaha amplifier switch [switch.yamaha_amplifer_switch] is off. If it is, the automation turns the amplifier on and waits for up to 5 seconds for it to be on for at least 2 seconds. Then, it runs the script 'yamaha_amplifier_coaxial_in'. Next, it disables shuffle mode on the mass living room [media_player.mass_living_room] media player. Finally, it starts playing the playlist named 'Nijntje' on the mass living room [media_player.mass_living_room] media player, replacing any currently playing media."
|
|
},
|
|
"human_like": "Prepares the living room audio system and starts playing Theo's 'Nijntje' playlist, ensuring the amplifier is on and the correct input is selected.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |