mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Adding more and more Value from @3vasi0n89 REPO. Adding in Camera images to my IOS notifications. DoorBell and Garage Door.
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'Startup: Home Assistant is Up and Running!'
|
title: 'Home Assistant StartUp'
|
||||||
|
value1: 'Home Assistant is Up and Running!'
|
||||||
who: 'carlo'
|
who: 'carlo'
|
||||||
|
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
|
@@ -24,10 +24,11 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'Check Garage Doors Reflection:'
|
title: 'Check Garage Doors Reflection:'
|
||||||
value2: "Small: {{ states('sensor.small_garage_reflection_rate')}}"
|
value1: "Small: {{ states('sensor.small_garage_reflection_rate')}}"
|
||||||
value3: "Large: {{ states('sensor.large_garage_reflection_rate')}}"
|
value2: "Large: {{ states('sensor.large_garage_reflection_rate')}}"
|
||||||
who: "carlo"
|
who: "carlo"
|
||||||
|
camera_entity: "camera.camera2"
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -75,10 +76,11 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'Check Garage Doors:'
|
title: 'Check Garage Doors:'
|
||||||
value2: "Small: {{ states('cover.small_garage')}}"
|
value1: "Small: {{ states('cover.small_garage')}}"
|
||||||
value3: "Large: {{ states('cover.large_garage')}}"
|
value2: "Large: {{ states('cover.large_garage')}}"
|
||||||
who: "family"
|
who: "family"
|
||||||
|
camera_entity: "camera.camera2"
|
||||||
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data_template:
|
data_template:
|
||||||
|
@@ -83,31 +83,7 @@ automation:
|
|||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.skybell_pressed
|
- service: script.skybell_pressed
|
||||||
- service: script.tweet_engine_image
|
|
||||||
data_template:
|
|
||||||
tweet: >
|
|
||||||
{{ [
|
|
||||||
"Oh, that tickled. Someone just pressed the @MySkyBell.",
|
|
||||||
"Ouch! That hurt. Who touched the SkyBell Doorbell?",
|
|
||||||
"Someone just poked me in the @MySkybell!",
|
|
||||||
"I see you! You are at the @MySkyBell and you just pressed it.",
|
|
||||||
"Someone answer my door. Someone just pressed the doorbell.",
|
|
||||||
"Knock, Knock. Housekeeping? Just kiddin', someone just rang the doorbell."
|
|
||||||
] | random + [
|
|
||||||
" #Security",
|
|
||||||
" (https://github.com/CCOSTAN/Home-AssistantConfig#cameras)",
|
|
||||||
" (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
|
|
||||||
" #HomeAutomation"
|
|
||||||
] | random }}
|
|
||||||
image: >-
|
|
||||||
{{ [
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/sleeping.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/door.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/door2.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/light4.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/camera.png",
|
|
||||||
] | random }}
|
|
||||||
|
|
||||||
# Motion Sensing
|
# Motion Sensing
|
||||||
- alias: 'Log SkyBell Motion detection'
|
- alias: 'Log SkyBell Motion detection'
|
||||||
|
@@ -28,10 +28,19 @@ notify_engine:
|
|||||||
notify.ios_carloxsmax
|
notify.ios_carloxsmax
|
||||||
{% elif who == 'parents' %}
|
{% elif who == 'parents' %}
|
||||||
notify.ios_parents
|
notify.ios_parents
|
||||||
|
{% elif who == 'family' %}
|
||||||
|
notify.ios_family
|
||||||
{% else %}
|
{% else %}
|
||||||
notify.ios_family
|
notify.ios_family
|
||||||
{% endif %}
|
{% endif %}
|
||||||
data_template:
|
data_template:
|
||||||
|
title: "{{ title }}"
|
||||||
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
||||||
data:
|
data:
|
||||||
subtitle: "Home Assistant Notify"
|
attachment:
|
||||||
|
content-type: "{{ content_type }}"
|
||||||
|
push:
|
||||||
|
sound: "{{ ios_sound }}"
|
||||||
|
badge: "{{ ios_badge }}"
|
||||||
|
category: "{{ ios_category }}"
|
||||||
|
entity_id: "{{ camera_entity }}"
|
||||||
|
@@ -13,15 +13,41 @@ skybell_pressed:
|
|||||||
name: "SkyBell HD Doorbell:"
|
name: "SkyBell HD Doorbell:"
|
||||||
message: "Someone Pressed the Doorbell."
|
message: "Someone Pressed the Doorbell."
|
||||||
|
|
||||||
- service: script.flash_notify
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
value1: 'Please check the Front Door. Someone Pressed the Doorbell.'
|
value1: 'Please check the Front Door. Someone Pressed the Doorbell.'
|
||||||
|
|
||||||
- service: notify.ios_family
|
- service: script.notify_engine
|
||||||
data:
|
data_template:
|
||||||
message: Someone Pressed the Doorbell!
|
ios_title: 'DoorBell'
|
||||||
data:
|
value1: 'Someone pressed the doorbell'
|
||||||
push:
|
who: 'family'
|
||||||
category: camera
|
camera_entity: camera.stone_door
|
||||||
entity_id: camera.stone_door
|
|
||||||
|
- service: script.flash_notify
|
||||||
|
|
||||||
|
- service: script.tweet_engine_image
|
||||||
|
data_template:
|
||||||
|
tweet: >
|
||||||
|
{{ [
|
||||||
|
"Oh, that tickled. Someone just pressed the @MySkyBell.",
|
||||||
|
"Ouch! That hurt. Who touched the SkyBell Doorbell?",
|
||||||
|
"Someone just poked me in the @MySkybell!",
|
||||||
|
"I see you! You are at the @MySkyBell and you just pressed it.",
|
||||||
|
"Someone answer my door. Someone just pressed the doorbell.",
|
||||||
|
"Knock, Knock. Housekeeping? Just kidding. Someone just rang the doorbell."
|
||||||
|
] | random + [
|
||||||
|
" #Security",
|
||||||
|
" (https://github.com/CCOSTAN/Home-AssistantConfig#cameras)",
|
||||||
|
" (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
|
||||||
|
" #HomeAutomation"
|
||||||
|
] | random }}
|
||||||
|
image: >-
|
||||||
|
{{ [
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/sleeping.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/door.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/door2.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/light4.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
|
||||||
|
"/config/www/custom_ui/floorplan/images/branding/camera.png",
|
||||||
|
] | random }}
|
||||||
|
Reference in New Issue
Block a user