New apps Added
This commit is contained in:
+471
-44
@@ -189,7 +189,7 @@
|
||||
hours: 0
|
||||
minutes: 45
|
||||
seconds: 0
|
||||
below: 1
|
||||
below: 0.2
|
||||
id: freezer_down
|
||||
- trigger: numeric_state
|
||||
entity_id:
|
||||
@@ -198,7 +198,7 @@
|
||||
hours: 0
|
||||
minutes: 20
|
||||
seconds: 0
|
||||
below: 1
|
||||
below: 0.2
|
||||
id: fridge_down
|
||||
conditions: []
|
||||
actions:
|
||||
@@ -303,14 +303,12 @@
|
||||
mode: single
|
||||
- id: '1781034724187'
|
||||
alias: 'Office: Turn Off Lights on Exit'
|
||||
description: Turns off office lights 2 minutes after the door closes, but only if living
|
||||
room motion was detected after the door shut.
|
||||
description: Turns off office lights 2 minutes after the door closes, but only if
|
||||
living room motion was detected after the door shut.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.office_door_contact
|
||||
to: 'off'
|
||||
for:
|
||||
minutes: 2
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: light.playroom_light
|
||||
@@ -319,6 +317,8 @@
|
||||
value_template: '{{ states.binary_sensor.basement.last_changed > states.binary_sensor.office_door_contact.last_changed
|
||||
}}'
|
||||
actions:
|
||||
- delay:
|
||||
minutes: 2
|
||||
- action: light.turn_off
|
||||
target:
|
||||
entity_id: light.playroom_light
|
||||
@@ -708,44 +708,471 @@
|
||||
entity_id: sensor.coffee_maker_power
|
||||
above: 1000
|
||||
id: coffee_started
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
state: 'off'
|
||||
actions:
|
||||
- action: input_boolean.turn_on
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 4
|
||||
seconds: 0
|
||||
- wait_template: '{{ states(''sensor.coffee_maker_power'') | float(0) < 350 }}'
|
||||
timeout:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
- action: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Ready
|
||||
message: Your coffee is ready to enjoy!
|
||||
mode: single
|
||||
- id: '1781793117883'
|
||||
alias: Basement Temperature Change
|
||||
description: ''
|
||||
triggers:
|
||||
- type: temperature
|
||||
device_id: 3e67afd88a4b4d17552c8f370aaf40b5
|
||||
entity_id: 64689573a8b11a83829efcae0022d7c1
|
||||
domain: sensor
|
||||
trigger: device
|
||||
above: 15
|
||||
below: 10
|
||||
conditions: []
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: coffee_started
|
||||
- condition: state
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
state: 'off'
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 4
|
||||
seconds: 0
|
||||
- wait_for_trigger:
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.coffee_maker_power
|
||||
below: 350
|
||||
timeout:
|
||||
hours: 0
|
||||
minutes: 3
|
||||
seconds: 0
|
||||
- action: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Ready
|
||||
message: Your coffee is ready to enjoy!
|
||||
- action: notify.notify
|
||||
metadata: {}
|
||||
data:
|
||||
title: Basement Temperature Change
|
||||
message: Basement Temperature Changed!
|
||||
mode: single
|
||||
- id: '1782161891986'
|
||||
alias: 'Notification: Pool Sensor Low Battery'
|
||||
description: Alert when the pool temperature sensor battery drops below 15%
|
||||
triggers:
|
||||
- entity_id: sensor.pool_temperature_battery
|
||||
below: 15
|
||||
trigger: numeric_state
|
||||
conditions: []
|
||||
actions:
|
||||
- data:
|
||||
title: Pool Sensor Battery Low
|
||||
message: The pool temperature sensor battery is currently at {{ states('sensor.pool_temperature_battery')
|
||||
}}%. Please change it soon.
|
||||
action: notify.persistent_notification
|
||||
- action: notify.notify
|
||||
metadata: {}
|
||||
data:
|
||||
title: Pool Sensor Battery Low
|
||||
message: The pool temperature sensor battery is currently at {{ states('sensor.pool_temperature_battery')
|
||||
}}%. Please change it soon.
|
||||
mode: single
|
||||
- &id001
|
||||
id: commute_morning_traffic_alert_map
|
||||
alias: 'Commute: Morning Traffic Alert with Map'
|
||||
description: Checks commute times at 7:15 AM and attaches a map if traffic is bad.
|
||||
triggers:
|
||||
- at: 07:15:00
|
||||
trigger: time
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ states(''sensor.google_travel_time_work_work'') | float(0)
|
||||
> 35 }}'
|
||||
- condition: template
|
||||
value_template: '{{ states(''sensor.waze_travel_time'') | float(0) > 35 }}'
|
||||
actions:
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.camera_commute_map
|
||||
data:
|
||||
filename: /config/www/commute_snapshot.jpg
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: "\U0001F6A8 Commute Delay Alert!"
|
||||
message: "Traffic is heavier than usual this morning. \nGoogle Maps: {{ states('sensor.google_travel_time_work_work')
|
||||
}} mins. Waze: {{ states('sensor.waze_travel_time') }} mins."
|
||||
data:
|
||||
image: /local/commute_snapshot.jpg
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: "\U0001F6A8 Commute Delay Alert!"
|
||||
message: "Traffic is heavier than usual this morning. \nGoogle Maps: {{ states('sensor.google_travel_time_work_work')
|
||||
}} mins. Waze: {{ states('sensor.waze_travel_time') }} mins.\n"
|
||||
mode: single
|
||||
- *id001
|
||||
- *id001
|
||||
- id: '1782999027626'
|
||||
alias: 'Commute: Morning Traffic Alert'
|
||||
description: Pushes an interactive, live traffic map to my phone before the commute.
|
||||
triggers:
|
||||
- at: 07:15:00
|
||||
trigger: time
|
||||
actions:
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: Morning Commute Traffic
|
||||
message: Swipe down to view live traffic along your route.
|
||||
data:
|
||||
push:
|
||||
category: map
|
||||
action_data:
|
||||
latitude: '45.474668'
|
||||
longitude: '-73.737158'
|
||||
shows_traffic: true
|
||||
shows_scale: true
|
||||
- id: '1783000087983'
|
||||
alias: Morning Commute Alert
|
||||
description: Notify when commute is longer than 35 minutes.
|
||||
triggers:
|
||||
- trigger: time
|
||||
at: 07:15:00
|
||||
conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.google_travel_time_work_work
|
||||
above: 35
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.waze_travel_time
|
||||
above: 35
|
||||
actions:
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: "\U0001F697 Morning Commute"
|
||||
message: "Google: {{ states('sensor.google_travel_time_work_work') }} min\nWaze:
|
||||
{{ states('sensor.waze_travel_time') }} min\n{% set g = states('sensor.google_travel_time_work_work')
|
||||
| float(0) %} {% if g > 50 %} \U0001F6A8 Major traffic delays. {% elif g >
|
||||
40 %} ⚠️ Heavy traffic. {% else %} \U0001F7E1 Moderate traffic. {% endif %}"
|
||||
mode: single
|
||||
- id: '1783049020714'
|
||||
alias: Aqara-Magic-Cube-T1-Pro-(CTP-R01) - Franco
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: SirGoodenough/Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml
|
||||
input:
|
||||
topic: zigbee2mqtt/Ziggy
|
||||
action_slide_face_1:
|
||||
- action: light.toggle
|
||||
metadata: {}
|
||||
target:
|
||||
device_id: 2f8c5ab2ca0d4be31919fba6df365813
|
||||
data:
|
||||
brightness_pct: 25
|
||||
action_doubletap_face_1: []
|
||||
action_rotate_cw_face_1:
|
||||
- action: script.cube_dimmer_control
|
||||
metadata: {}
|
||||
data:
|
||||
light: light.playroom_light
|
||||
angle: -20
|
||||
action_rotate_ccw_face_1: []
|
||||
action_flipped90_face_1: []
|
||||
- id: '1783162325964'
|
||||
alias: Backyard Shed Camera Motion AI Description
|
||||
description: Takes a snapshot when the Blink camera detects motion, analyzes it
|
||||
with AI, and sends a mobile and persistent notification.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.backyard_shed_motion
|
||||
to: 'on'
|
||||
actions:
|
||||
- action: blink.trigger_camera
|
||||
target:
|
||||
entity_id: camera.backyard_shed
|
||||
- delay: 00:00:02
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_shed
|
||||
data:
|
||||
filename: /media/blink.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_shed
|
||||
data:
|
||||
filename: /config/www/blink.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
data:
|
||||
task_name: Backyard Shed Camera Analysis
|
||||
entity_id: ai_task.google_ai_task
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, animals or activities. Text needs to be max 240 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/blink.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
continue_on_error: true
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
data:
|
||||
notification_id: backyard_shed_motion
|
||||
mode: queued
|
||||
max: 10
|
||||
- id: '1783293479398'
|
||||
alias: Blink Camera Fast Update Cycle
|
||||
description: Polls the Blink cloud every 30 seconds to bypass the default 5-minute
|
||||
delay and force instant motion detection state updates.
|
||||
triggers:
|
||||
- trigger: time_pattern
|
||||
seconds: /30
|
||||
actions:
|
||||
- action: homeassistant.update_entity
|
||||
target:
|
||||
entity_id:
|
||||
- binary_sensor.backyard_shed_motion
|
||||
- binary_sensor.front_door_motion
|
||||
mode: single
|
||||
- id: '1783304677475'
|
||||
alias: Motion Detection AI Tree
|
||||
description: Takes a snapshot when the Blink camera detects motion, analyzes it
|
||||
with AI, and sends a mobile and persistent notification.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.backyard_tree_motion
|
||||
to: 'on'
|
||||
conditions: []
|
||||
actions:
|
||||
- action: blink.trigger_camera
|
||||
target:
|
||||
entity_id: camera.backyard_tree
|
||||
- delay: 00:00:02
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_tree
|
||||
data:
|
||||
filename: /media/blinkTree.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_tree
|
||||
data:
|
||||
filename: /config/www/blinkTree.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
data:
|
||||
task_name: Backyard Shed Camera Analysis
|
||||
entity_id: ai_task.google_ai_task
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, animals or activities. Text needs to be max 240 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/blinkTree.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: Motion Detected - Backyard Tree
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: persistent_notification.create
|
||||
data:
|
||||
title: Motion Detected - Backyard Tree
|
||||
notification_id: backyard_tree_motion
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
mode: queued
|
||||
max: 10
|
||||
- id: '1783387792679'
|
||||
description: Takes a snapshot when the Blink camera detects motion, analyzes it
|
||||
with AI, and sends a mobile and persistent notification.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.backyard_shed_motion
|
||||
to: 'on'
|
||||
conditions: []
|
||||
actions:
|
||||
- action: blink.trigger_camera
|
||||
target:
|
||||
entity_id: camera.living_room_living_room_camera
|
||||
- delay: 00:00:02
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.living_room_living_room_camera
|
||||
data:
|
||||
filename: /media/blink.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.living_room_living_room_camera
|
||||
data:
|
||||
filename: /config/www/nest.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
data:
|
||||
task_name: Backyard Shed Camera Analysis
|
||||
entity_id: ai_task.google_ai_task
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, or activities. Text needs to be max 225 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/nest.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: persistent_notification.create
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
notification_id: backyard_shed_motion2
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
mode: queued
|
||||
max: 10
|
||||
- id: '1783452320698'
|
||||
alias: Nest Test Motion
|
||||
description: Takes a snapshot when the Blink camera detects motion, analyzes it
|
||||
with AI, and sends a mobile and persistent notification.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.backyard_tree_motion
|
||||
to: 'on'
|
||||
conditions: []
|
||||
actions:
|
||||
- delay: 00:00:02
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id:
|
||||
- camera.front
|
||||
- camera.backyard_shed
|
||||
data:
|
||||
filename: /media/nest_Living2.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.backyard_tree
|
||||
data:
|
||||
filename: /config/www/blinkTree.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
data:
|
||||
task_name: Backyard Shed Camera Analysis
|
||||
entity_id: ai_task.google_ai_task
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, or activities. Text needs to be max 225 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/blinkTree.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: Motion Detected - Backyard Tree
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: persistent_notification.create
|
||||
data:
|
||||
title: Motion Detected - Backyard Tree
|
||||
notification_id: backyard_tree_motion
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
mode: queued
|
||||
max: 10
|
||||
- id: '1783469453396'
|
||||
alias: Motion Front Door - AI Description
|
||||
description: Takes a snapshot when the Nest camera detects motion, a person, an
|
||||
animal, or a doorbell press, analyzes it with AI, and sends a mobile and persistent
|
||||
notification.
|
||||
triggers:
|
||||
- trigger: event
|
||||
event_type: state_changed
|
||||
event_data:
|
||||
entity_id: event.front_door_front_door_motion
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.event.data.new_state.attributes.event_type in [''motion'',
|
||||
''person'', ''animal'', ''chime''] }}'
|
||||
actions:
|
||||
- action: blink.trigger_camera
|
||||
target:
|
||||
entity_id: camera.front
|
||||
data: {}
|
||||
- delay: 00:00:02
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.front
|
||||
data:
|
||||
filename: /media/blink_Front.jpg
|
||||
- action: camera.snapshot
|
||||
target:
|
||||
entity_id: camera.front
|
||||
data:
|
||||
filename: /config/www/blink_Front.jpg
|
||||
- delay: 00:00:02
|
||||
- action: ai_task.generate_data
|
||||
continue_on_error: true
|
||||
data:
|
||||
task_name: Nest Front Camera Analysis
|
||||
entity_id: ai_task.google_ai_task
|
||||
instructions: Describe what you see in this image in brief. Focus on any people,
|
||||
objects, animals or activities. Text needs to be max 240 characters.
|
||||
attachments:
|
||||
- media_content_id: media-source://media_source/local/blink_Front.jpg
|
||||
media_content_type: image/jpeg
|
||||
response_variable: ai_profile
|
||||
- action: notify.notify
|
||||
continue_on_error: true
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}'
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: Motion Detected - Backyard Shed
|
||||
message: '{{ ai_profile.data if ai_profile is defined and ''data'' in ai_profile
|
||||
else ''Motion detected, but the AI Task integration failed to return a response.''
|
||||
}}
|
||||
|
||||
'
|
||||
data:
|
||||
notification_id: nest_front_motion
|
||||
mode: queued
|
||||
max: 10
|
||||
|
||||
Reference in New Issue
Block a user