mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 03:15:45 +00:00
Full Bright Lights if there is movement out front via Skybell and IFTTT.
This commit is contained in:
@@ -1,44 +0,0 @@
|
|||||||
###################################
|
|
||||||
## Flash the lights on Halloween for the Tricker Treaters!
|
|
||||||
###################################
|
|
||||||
- alias: 'halloween flasher'
|
|
||||||
trigger:
|
|
||||||
# - platform: sun
|
|
||||||
# event: sunset
|
|
||||||
- platform: event
|
|
||||||
event_type: skybell_motion_disabled_until_next_year
|
|
||||||
|
|
||||||
condition:
|
|
||||||
condition: and
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: sun.sun
|
|
||||||
state: 'below_horizon'
|
|
||||||
- condition: time
|
|
||||||
before: '23:45'
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: group.halloween_flasher
|
|
||||||
data:
|
|
||||||
flash: long
|
|
||||||
- delay: 00:00:2
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: group.halloween_flasher
|
|
||||||
data:
|
|
||||||
flash: long
|
|
||||||
- delay: 00:00:2
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: group.halloween_flasher
|
|
||||||
data:
|
|
||||||
flash: long
|
|
||||||
- delay: 00:00:3
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: group.halloween_flasher
|
|
||||||
data:
|
|
||||||
flash: long
|
|
||||||
- delay: 00:00:5
|
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: group.halloween_flasher
|
|
||||||
data:
|
|
||||||
flash: long
|
|
@@ -14,6 +14,8 @@
|
|||||||
name: "SkyBell HD Doorbell:"
|
name: "SkyBell HD Doorbell:"
|
||||||
message: "Someone Pressed the Doorbell."
|
message: "Someone Pressed the Doorbell."
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
|
||||||
- alias: 'Log SkyBell Motion detection'
|
- alias: 'Log SkyBell Motion detection'
|
||||||
hide_entity: True
|
hide_entity: True
|
||||||
trigger:
|
trigger:
|
||||||
@@ -21,7 +23,4 @@
|
|||||||
event_type: skybell_motion
|
event_type: skybell_motion
|
||||||
|
|
||||||
action:
|
action:
|
||||||
service: logbook.log
|
- service: script.front_house_motion
|
||||||
data:
|
|
||||||
name: "SkyBell HD Doorbell:"
|
|
||||||
message: "Someone is by the door."
|
|
||||||
|
@@ -1,3 +1,13 @@
|
|||||||
|
#Color Table
|
||||||
|
# rgb_color: [255,255,255] White
|
||||||
|
#rgb_color: [61,178,112] #Green
|
||||||
|
#rgb_color: [255,112,242] #Purple
|
||||||
|
#rgb_color: [206,22,32] #red
|
||||||
|
|
||||||
|
# service: scene.turn_on
|
||||||
|
# entity_id: scene.month_front_1_colors
|
||||||
|
|
||||||
|
|
||||||
- name: month_front_1_colors
|
- name: month_front_1_colors
|
||||||
entities:
|
entities:
|
||||||
light.outdoor_sconce_2:
|
light.outdoor_sconce_2:
|
||||||
@@ -40,8 +50,22 @@
|
|||||||
state: on
|
state: on
|
||||||
brightness: 255
|
brightness: 255
|
||||||
|
|
||||||
#Color Table
|
- name: front_full_brightness
|
||||||
#rgb_color: [61,178,112] #Green
|
entities:
|
||||||
#rgb_color: [255,112,242] #Purple
|
light.outdoor_sconce_2:
|
||||||
#rgb_color: [206,22,32] #red
|
state: on
|
||||||
|
rgb_color: [255,255,255]
|
||||||
|
brightness: 255
|
||||||
|
light.outdoor_sconce_1:
|
||||||
|
state: on
|
||||||
|
rgb_color: [255,255,255]
|
||||||
|
brightness: 255
|
||||||
|
light.outdoor_foyer:
|
||||||
|
state: on
|
||||||
|
brightness: 255
|
||||||
|
light.outdoor_sconce_3:
|
||||||
|
state: on
|
||||||
|
brightness: 255
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,9 +1,8 @@
|
|||||||
######################################################################################################
|
######################################################################################################
|
||||||
###Script to turn on scene for the appropriate month for the front of the house.
|
###Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors.
|
||||||
# action:
|
# action:
|
||||||
# - service: script.monthly_front_house_scene
|
# - service: script.front_house_motion
|
||||||
#
|
#
|
||||||
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
|
|
||||||
######################################################################################################
|
######################################################################################################
|
||||||
|
|
||||||
front_house_motion:
|
front_house_motion:
|
||||||
@@ -13,23 +12,12 @@ front_house_motion:
|
|||||||
name: "SkyBell HD Doorbell:"
|
name: "SkyBell HD Doorbell:"
|
||||||
message: "Someone is by the door."
|
message: "Someone is by the door."
|
||||||
|
|
||||||
- condition: state
|
- condition: sun
|
||||||
entity_id: input_boolean.chore_reminder
|
after: 'sunset'
|
||||||
state: 'on'
|
- service: scene.turn_on
|
||||||
- service: ifttt.trigger
|
entity_id: scene.front_full_brightness
|
||||||
data: {"event":"ifttt_notify", "value1":"Chore Reminder On"}
|
- delay: 00:15:00
|
||||||
|
- service: script.monthly_front_house_scene
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.pill_reminder
|
|
||||||
state: 'on'
|
|
||||||
- service: ifttt.trigger
|
|
||||||
data: {"event":"ifttt_notify", "value1":"pill Reminder On"}
|
|
||||||
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.trash_reminder
|
|
||||||
state: 'on'
|
|
||||||
- service: ifttt.trigger
|
|
||||||
data: {"event":"ifttt_notify", "value1":"trash Reminder On"}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user