From a55bac2953cf4469286fc741d876d7d27b9472cb Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 5 Nov 2016 23:35:54 +0000 Subject: [PATCH] Put away all the halloween stuff and add a colored light to the foyer outside! --- .HA_VERSION | 2 +- README.md | 2 +- automation/halloween_flasher.yaml | 4 ++-- automation/holiday.yaml | 7 +------ automation/sunrise_turnon.yaml | 27 +++++++++++++++++++++++++++ group/holiday.yaml | 2 +- group/lights.yaml | 1 + group/views.yaml | 4 ++-- switch/rf_outlets.yaml | 18 ++++++++++-------- 9 files changed, 46 insertions(+), 21 deletions(-) create mode 100755 automation/sunrise_turnon.yaml diff --git a/.HA_VERSION b/.HA_VERSION index 83145459..8a0d6d40 100755 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.31.1 \ No newline at end of file +0.32.0 \ No newline at end of file diff --git a/README.md b/README.md index 509e9ee5..6985ee0b 100755 --- a/README.md +++ b/README.md @@ -65,4 +65,4 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt * http://www.esp8266.nu/index.php/ESPEasy * https://translate.google.com/translate?hl=en&sl=de&tl=en&u=https%3A%2F%2Falexbloggt.com%2Funiversal-infrarot-websteuerung-ueber-esp8266%2F - +https://community.home-assistant.io/t/voice-controlled-cheap-non-smart-led-strip-with-ok-google-command/5756 diff --git a/automation/halloween_flasher.yaml b/automation/halloween_flasher.yaml index 9fb22950..1f713856 100755 --- a/automation/halloween_flasher.yaml +++ b/automation/halloween_flasher.yaml @@ -3,8 +3,8 @@ ################################### - alias: 'halloween flasher' trigger: - - platform: sun - event: sunset +# - platform: sun +# event: sunset - platform: event event_type: skybell_motion_disabled_until_next_year diff --git a/automation/holiday.yaml b/automation/holiday.yaml index 178df6e4..57b38636 100755 --- a/automation/holiday.yaml +++ b/automation/holiday.yaml @@ -15,9 +15,6 @@ - delay: 00:00:30 - service: switch.turn_on entity_id: switch.halloween_lights_dining_room - - delay: 00:00:30 - - service: switch.turn_on - entity_id: switch.pumpkin_lights - alias: 'Holiday Stuff off' trigger: @@ -33,7 +30,5 @@ - delay: 00:00:30 - service: switch.turn_off entity_id: switch.halloween_lights_dining_room - - delay: 00:00:30 - - service: switch.turn_off - entity_id: switch.pumpkin_lights + \ No newline at end of file diff --git a/automation/sunrise_turnon.yaml b/automation/sunrise_turnon.yaml new file mode 100755 index 00000000..2436eb77 --- /dev/null +++ b/automation/sunrise_turnon.yaml @@ -0,0 +1,27 @@ +################################### +## Holiday Lights on/off with IFTTT/Alexa support +################################### + +- alias: 'Sunset Stuff on' + trigger: + - platform: sun + event: sunset +# - platform: event +# event_type: halloween_lights_on + + action: + - service: switch.turn_on + entity_id: switch.foyer_plug + +- alias: 'Sunset Stuff off' + trigger: + - platform: sun + event: sunrise + offset: '-03:30:00' +# - platform: event +# event_type: halloween_lights_off + + action: + - service: switch.turn_off + entity_id: switch.foyer_plug + \ No newline at end of file diff --git a/group/holiday.yaml b/group/holiday.yaml index 296f26fd..cfd04aad 100755 --- a/group/holiday.yaml +++ b/group/holiday.yaml @@ -2,7 +2,7 @@ Holiday lights: entities: - switch.halloween_lights_den - switch.halloween_lights_dining_room - - switch.pumpkin_lights + ######################################### ### Pumpkin lights used in ### diff --git a/group/lights.yaml b/group/lights.yaml index 08116191..03436b76 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -40,6 +40,7 @@ Foyer lights: entities: - light.foyer_door - light.foyer + - light.oudoor_foyer Office lights: entities: diff --git a/group/views.yaml b/group/views.yaml index 1870f8ae..7613fdcf 100755 --- a/group/views.yaml +++ b/group/views.yaml @@ -20,7 +20,7 @@ default_view: - group.den_lights - group.office_lights - group.garage_lights - - group.outside_pool_lights + - group.outdoor_pool_lights Lights: view: yes @@ -40,7 +40,7 @@ Lights: - group.den_lights - group.office_lights - group.garage_lights - - group.outside_pool_lights + - group.outdoor_pool_lights Info: view: yes diff --git a/switch/rf_outlets.yaml b/switch/rf_outlets.yaml index 60501631..b027adc8 100755 --- a/switch/rf_outlets.yaml +++ b/switch/rf_outlets.yaml @@ -11,12 +11,21 @@ pulselength: 186 code_on: 5265155 code_off: 5265164 + # Outlet 2 Halloween_Lights_Den: protocol: 1 pulselength: 186 code_on: 5264835 code_off: 5264844 + +# Outlet 311_5 + Foyer_Plug: + protocol: 1 + pulselength: 186 + code_on: 292099 + code_off: 292108 + # Outlet 3 Garage_Outlet: protocol: 1 @@ -51,14 +60,7 @@ pulselength: 186 code_on: 285955 code_off: 285964 - -# Outlet 311_5 - Pumpkin_lights: - protocol: 1 - pulselength: 186 - code_on: 292099 - code_off: 292108 - + # Outlet 304_1 Outlet 304_1: protocol: 1