54 lines
8.4 KiB
JSON
54 lines
8.4 KiB
JSON
[
|
|
{
|
|
"id": "Flight entry notification",
|
|
"result": {
|
|
"structured": "TRIGGER: When a flightradar24_entry event occurs. CONDITIONS: The event's callsign is one of LIFELN2, ZXP01, ZXP02, ZXP03, ZXP04, ZXP05, ZXP06. ACTIONS: Send a notification to mobile app Oneplus12 [notify.mobile_app_Oneplus12] containing flight details and a link, AND navigate the browser mod device [device_id: 0041739398d895e9040c07be4dc364d8] to the /dashboard-viewassist/flightradar path.",
|
|
"natural_language": {
|
|
"trigger": "When a new flight entry event is received from FlightRadar24.",
|
|
"conditions": "The flight's callsign must be one of the following: LIFELN2, ZXP01, ZXP02, ZXP03, ZXP04, ZXP05, or ZXP06.",
|
|
"action": "Sends a rich notification to the mobile app Oneplus12 [notify.mobile_app_Oneplus12] with details about the flight and a link to view it, and also opens the flight radar dashboard on a specific browser device."
|
|
},
|
|
"human_like": "Sends a phone notification and updates a browser dashboard when specific tracked flights are detected entering the system.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "view-assist - p2000 - rijnmond",
|
|
"result": {
|
|
"structured": "TRIGGER: When p2000 rotterdam rijnmond sensor [sensor.p2000_rotterdam_rijnmond] changes state. CONDITIONS: p2000 input boolean [input_boolean.p2000] is on AND the current time is between 07:00:00 and 23:00:00. ACTIONS: Choose an action sequence based on the content of the variable p2000_tts. If p2000_tts contains 'GRIP' OR 'A0', then: 1. Use chime_tts.say with chime_path 'hail' and the message p2000_tts on the chime tts device [device_id: acf85cc68b20c280f8534a53e2446aaf]. 2. Navigate browser to /dashboard-viewassist/p2000. 3. Wait for 3 seconds. 4. If p2000 rijnmond corrected latitude sensor [sensor.p2000_rijnmond_corrected_lat] AND p2000 rijnmond corrected longitude sensor [sensor.p2000_rijnmond_corrected_lon] have non-zero values, navigate browser to /dashboard-viewassist/map2 with the provided coordinates. Else, if p2000_tts matches the regex pattern for 'vlaardingen', 'vlaard', 'schiedam', 'maasland', or 'maassluis' (case-insensitive), then: 1. Use chime_tts.say with chime_path 'chirp' and the message p2000_tts on the chime tts device [device_id: acf85cc68b20c280f8534a53e2446aaf]. 2. Navigate browser to /dashboard-viewassist/p2000. 3. Wait for 3 seconds. 4. If p2000 rijnmond corrected latitude sensor [sensor.p2000_rijnmond_corrected_lat] AND p2000 rijnmond corrected longitude sensor [sensor.p2000_rijnmond_corrected_lon] have non-zero values, navigate browser to /dashboard-viewassist/map2 with the provided coordinates. Otherwise (default): 1. Use chime_tts.say with chime_path 'chirp' (no message) on the chime tts device [device_id: acf85cc68b20c280f8534a53e2446aaf]. 2. Navigate browser to /dashboard-viewassist/p2000. 3. Wait for 3 seconds. 4. If p2000 rijnmond corrected latitude sensor [sensor.p2000_rijnmond_corrected_lat] AND p2000 rijnmond corrected longitude sensor [sensor.p2000_rijnmond_corrected_lon] have non-zero values, navigate browser to /dashboard-viewassist/map1 with the provided coordinates.",
|
|
"natural_language": {
|
|
"trigger": "When the p2000 rotterdam rijnmond sensor [sensor.p2000_rotterdam_rijnmond] updates its state.",
|
|
"conditions": "The automation is only active if the p2000 input boolean [input_boolean.p2000] is turned on, and the current time is between 7:00 AM and 11:00 PM.",
|
|
"action": "Depending on the content of the P2000 alert text, different actions are taken. For high-priority alerts containing 'GRIP' or 'A0', a 'hail' chime sound is played along with the spoken alert text, and the browser is directed to a specific dashboard page. After a short delay, if corrected latitude and longitude coordinates are available, the browser navigates to a map view. For alerts mentioning specific local towns, a 'chirp' chime is played with the spoken text, and the same navigation sequence to a dashboard and potentially a map occurs. For all other alerts, only a 'chirp' chime is played, the browser navigates to the main P2000 dashboard, and if coordinates are available, it navigates to a different map view."
|
|
},
|
|
"human_like": "Announces and displays P2000 emergency alerts with different sounds and navigation based on the alert's priority or location, but only when the system is enabled and during daytime hours.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "View-assist P2000 - Vlaardingen",
|
|
"result": {
|
|
"structured": "TRIGGER: When p2000 rotterdam rijnmond sensor [sensor.p2000_rotterdam_rijnmond] changes state. CONDITIONS: p2000 input boolean [input_boolean.p2000] is off AND current time is between 07:00:00 and 23:00:00 AND apollo woonkamer radar target binary sensor [binary_sensor.apollo_woonkamer_radar_target] is on. ACTIONS: If the p2000_tts variable contains 'GRIP' or 'A0', then: 1. Play a hail chime and speak the p2000_tts message via TTS on browser mod device [device_id: 0041739398d895e9040c07be4dc364d8]. 2. Navigate browser to /dashboard-viewassist/p2000. 3. Wait 3 seconds. 4. If p2000 rijnmond corrected latitude sensor [sensor.p2000_rijnmond_corrected_lat] and p2000 rijnmond corrected longitude sensor [sensor.p2000_rijnmond_corrected_lon] have non-zero values, navigate browser to /dashboard-viewassist/map2 with those coordinates. OR, if the p2000_tts variable contains the words 'vlaardingen', 'vlaard', 'schiedam', 'maasland', or 'maassluis' (case-insensitive), then: 1. Play a chirp chime and speak the p2000_tts message via TTS on browser mod device [device_id: 0041739398d895e9040c07be4dc364d8]. 2. Navigate browser to /dashboard-viewassist/p2000. 3. Wait 3 seconds. 4. If p2000 rijnmond corrected latitude sensor [sensor.p2000_rijnmond_corrected_lat] and p2000 rijnmond corrected longitude sensor [sensor.p2000_rijnmond_corrected_lon] have non-zero values, navigate browser to /dashboard-viewassist/map2 with those coordinates.",
|
|
"natural_language": {
|
|
"trigger": "When the p2000 rotterdam rijnmond sensor [sensor.p2000_rotterdam_rijnmond] updates.",
|
|
"conditions": "The p2000 input boolean [input_boolean.p2000] must be off, the current time must be between 7 AM and 11 PM, and the apollo woonkamer radar target binary sensor [binary_sensor.apollo_woonkamer_radar_target] must be on, indicating motion in the living room.",
|
|
"action": "The automation checks the content of the new P2000 alert message. If the message contains 'GRIP' or 'A0', it announces the alert with a hail chime, navigates to the P2000 dashboard, waits 3 seconds, and if valid coordinates are available, navigates to a map showing the location. Alternatively, if the message contains any of the location keywords 'vlaardingen', 'vlaard', 'schiedam', 'maasland', or 'maassluis', it performs the same sequence but uses a chirp chime for the announcement."
|
|
},
|
|
"human_like": "Announces and displays P2000 emergency alerts for the local area when someone is in the living room, using different sounds for high-priority alerts or specific locations.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "View-assist-p2000 auto vlaardingen-rijnmond",
|
|
"result": {
|
|
"structured": "TRIGGER: When p2000 input boolean [input_boolean.p2000] changes state. CONDITIONS: None. ACTIONS: If p2000 input boolean [input_boolean.p2000] is on, then turn on view assist p2000 automation [automation.view_assist_p2000] AND turn off p2000 rijnmond automation [automation.p2000_rijnmond] (stopping its actions). If p2000 input boolean [input_boolean.p2000] is off, then turn off view assist p2000 automation [automation.view_assist_p2000] (stopping its actions) AND turn on p2000 rijnmond automation [automation.p2000_rijnmond].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the state of the p2000 input boolean [input_boolean.p2000] changes.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "If the p2000 input boolean [input_boolean.p2000] is turned on, it will start the view assist p2000 automation [automation.view_assist_p2000] and stop the p2000 rijnmond automation [automation.p2000_rijnmond]. If the p2000 input boolean [input_boolean.p2000] is turned off, it will stop the view assist p2000 automation [automation.view_assist_p2000] and start the p2000 rijnmond automation [automation.p2000_rijnmond]."
|
|
},
|
|
"human_like": "Switches between two different P2000 alert automations based on a master toggle switch.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |