Support this repo by using the amazon affiliate links please. Thanks.

This commit is contained in:
CCOSTAN
2017-01-16 17:14:29 +00:00
parent be4fa059b2
commit c25baddf4e
17 changed files with 319 additions and 290 deletions

View File

@@ -1,30 +1,30 @@
###################################
## Press a dash Button and then stuff happens.
###################################
- alias: 'Toggle Office Light on/off'
trigger:
- platform: event
event_type: brooklyn_dash
- platform: event
event_type: simplehuman_dash
action:
- service: light.toggle
entity_id: light.office_lamp
# - alias: 'Toggle Office Light off if on'
# trigger:
# - platform: event
# event_type: brooklyn_dash
# condition:
# - condition: state
# entity_id: light.office_lamp
# state: 'on'
# action:
# - service: light.turn_off
# entity_id: light.office_lamp
###################################
## Press an [Amazon Dash Buttons](http://amzn.to/2dPKZhM) and then stuff happens.
###################################
- alias: 'Toggle Office Light on/off'
trigger:
- platform: event
event_type: brooklyn_dash
- platform: event
event_type: simplehuman_dash
action:
- service: light.toggle
entity_id: light.office_lamp
# - alias: 'Toggle Office Light off if on'
# trigger:
# - platform: event
# event_type: brooklyn_dash
# condition:
# - condition: state
# entity_id: light.office_lamp
# state: 'on'
# action:
# - service: light.turn_off
# entity_id: light.office_lamp

View File

@@ -1,5 +1,6 @@
###################################
## Garadget Stuff
## Garadget Stuff - [Garadget](http://amzn.to/2jQLpVQ) - Garage Door opener/sensor
##
###################################
- alias: Garadget Reflection Rates

View File

@@ -1,11 +1,12 @@
###################################
## ZWave Healing Section
###################################
- alias: Heal ZWave Nightly
hide_entity: True
trigger:
platform: time
after: '2:31:00'
action:
service: zwave.heal_network
###################################
## ZWave Healing Section -
## Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0).
###################################
- alias: Heal ZWave Nightly
hide_entity: True
trigger:
platform: time
after: '2:31:00'
action:
service: zwave.heal_network

View File

@@ -1,5 +1,7 @@
###################################
## Holiday Lights on/off with IFTTT/Alexa support
## [Etekcity Outlets](http://amzn.to/2efNoBP)
## [433Mhz Transmitter and receiver](http://amzn.to/2dceNY2)
###################################
- alias: 'Holiday Stuff on'

View File

@@ -1,5 +1,5 @@
###################################
## LOG IFTTT Stuff - SkyBell
## LOG IFTTT Stuff - [SkyBell HD](http://amzn.to/2dcexIB)
###################################
- alias: 'Log SkyBell Pressed Activity'

View File

@@ -1,5 +1,8 @@
###################################
## Turn on/off Living Room AMPs via ALexa/IFTTT event.
## Currently using this [AMP] (http://amzn.to/2joRrk1)
## [Etekcity Outlets](http://amzn.to/2efNoBP)
## [433Mhz Transmitter and receiver](http://amzn.to/2dceNY2)
###################################
- alias: 'IFTTT Turn AMP on'

View File

@@ -1,41 +1,43 @@
#####################################################################################
### If the Kitchen Lights go on for more than 10 minutes, turn off the accent lights
#####################################################################################
- alias: Kitchen lights on - Accent lights off
trigger:
- platform: state
entity_id: group.kitchen_lights
state: 'on'
for: '00:05:00'
condition:
- condition: state
entity_id: switch.kitchen_accents
state: 'on'
action:
- service: switch.turn_off
entity_id: switch.kitchen_accents
##############################################################################
- alias: Kitchen lights off - turn on Accent lights
trigger:
- platform: state
entity_id: group.kitchen_lights
state: 'off'
for: '00:05:00'
condition:
- condition: sun
after: 'sunset'
- condition: time
before: '23:00:00'
- condition: state
entity_id: group.interior_lights
state: 'on'
action:
- service: switch.turn_on
entity_id: switch.kitchen_accents
#####################################################################################
### If the Kitchen Lights go on for more than 10 minutes, turn off the accent lights
### connected to [Etekcity Outlets](http://amzn.to/2efNoBP)
## [433Mhz Transmitter and receiver](http://amzn.to/2dceNY2)
#####################################################################################
- alias: Kitchen lights on - Accent lights off
trigger:
- platform: state
entity_id: group.kitchen_lights
state: 'on'
for: '00:05:00'
condition:
- condition: state
entity_id: switch.kitchen_accents
state: 'on'
action:
- service: switch.turn_off
entity_id: switch.kitchen_accents
##############################################################################
- alias: Kitchen lights off - turn on Accent lights
trigger:
- platform: state
entity_id: group.kitchen_lights
state: 'off'
for: '00:05:00'
condition:
- condition: sun
after: 'sunset'
- condition: time
before: '23:00:00'
- condition: state
entity_id: group.interior_lights
state: 'on'
action:
- service: switch.turn_on
entity_id: switch.kitchen_accents

View File

@@ -1,5 +1,5 @@
###################################
## LOG IFTTT Stuff - SkyBell
## LOG IFTTT Stuff - [SkyBell HD](http://amzn.to/2dcexIB)
###################################
- alias: 'Log SkyBell Pressed Activity'

View File

@@ -1,74 +1,79 @@
##############################################################
- alias: Hallway ZWave Enerwave Door Sensors Open
hide_entity: True
trigger:
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 255
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'on'
condition:
condition: or
conditions:
- condition: sun
after: sunset
after_offset: '-03:00:00'
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 50
action:
- service: light.turn_on
entity_id:
- light.hallway
- light.k4
- delay: 00:20:00
- service: light.turn_off
entity_id: light.hallway
##############################################################
- alias: ZWave Enerwave Door Sensors Closed
hide_entity: True
trigger:
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 0
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'off'
action:
service: light.turn_off
entity_id: light.hallway
##############################################################
- alias: Shutdown Helper light
hide_entity: True
trigger:
- platform: state
entity_id: light.k4
state: 'on'
for: '00:20:00'
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 0
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'off'
condition:
condition: state
entity_id: light.k1
state: 'off'
action:
- service: light.turn_off
entity_id: light.k4
###################################
## ZWave Section -
## Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0).
###################################
##############################################################
- alias: Hallway ZWave Enerwave Door Sensors Open
hide_entity: True
trigger:
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 255
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'on'
condition:
condition: or
conditions:
- condition: sun
after: sunset
after_offset: '-03:00:00'
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 50
action:
- service: light.turn_on
entity_id:
- light.hallway
- light.k4
- delay: 00:20:00
- service: light.turn_off
entity_id: light.hallway
##############################################################
- alias: ZWave Enerwave Door Sensors Closed
hide_entity: True
trigger:
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 0
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'off'
action:
service: light.turn_off
entity_id: light.hallway
##############################################################
- alias: Shutdown Helper light
hide_entity: True
trigger:
- platform: state
entity_id: light.k4
state: 'on'
for: '00:20:00'
- platform: event
event_type: zwave.node_event
event_data:
object_id: enerwave_unknown_type0601_id0903_2
basic_level: 0
- platform: state
entity_id: binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0
state: 'off'
condition:
condition: state
entity_id: light.k1
state: 'off'
action:
- service: light.turn_off
entity_id: light.k4