Updated with new outlet switch.

This commit is contained in:
CCOSTAN
2016-12-23 21:34:51 +00:00
parent 589cd7897a
commit a70baec23a
5 changed files with 95 additions and 84 deletions

View File

@@ -22,7 +22,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
* [Door Sensors (AEON Labs)](http://amzn.to/2e3xDxY) * [Door Sensors (AEON Labs)](http://amzn.to/2e3xDxY)
* [Garadget](garadget.com) - Garage Door opener/sensor * [Garadget](garadget.com) - Garage Door opener/sensor
* Nintendo Wii * Nintendo Wii
* Emulated Hue pushes all Switch, Group and scene information to Alexa for First Class Control! [Broked! Worked for literally long enough for me to clear out all my devices in Alexa. :( ] * Emulated Hue pushes all Switch, Group, input_boolean, script and scene information to Alexa for First Class Control!
* [iTeadStudio goodies](https://twitter.com/ccostan/status/793119824008384512) - SonOff and SonOn with a Slampher! * [iTeadStudio goodies](https://twitter.com/ccostan/status/793119824008384512) - SonOff and SonOn with a Slampher!
* [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2hxpAL7) with [LED Strips](http://amzn.to/2gJYfZ5) * [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2hxpAL7) with [LED Strips](http://amzn.to/2gJYfZ5)
@@ -113,6 +113,7 @@ resource for my RF switches. (MQTT) bit.ly/2gBiOqz
https://www.reddit.com/r/amazonecho/comments/5he8o7/diy_ir_blaster_10_instructions_inside/?st=IWIDBGRT&sh=dd117f28 https://www.reddit.com/r/amazonecho/comments/5he8o7/diy_ir_blaster_10_instructions_inside/?st=IWIDBGRT&sh=dd117f28
https://community.home-assistant.io/t/a-different-take-on-an-alarm-system/7809/5 - ALARM System info.
#Lab notes: #Lab notes:

View File

@@ -70,8 +70,8 @@ switch.Outlet_304_3:
icon: mdi:power-plug icon: mdi:power-plug
assumed_state: true assumed_state: true
switch.Outlet_304_4: switch.Village_Outlet:
friendly_name: 'Outlet_304_4' friendly_name: 'Village_Outlet'
emulated_hue: true emulated_hue: true
icon: mdi:power-plug icon: mdi:power-plug
assumed_state: true assumed_state: true

View File

@@ -1,23 +1,27 @@
###################################################################################################### ######################################################################################################
###Script to shut switches with a 30 second delay to not trample codes ###Script to shut switches with a 30 second delay to not trample codes
### Sample Call ### Sample Call
# action: # action:
# - service: script.holiday_switches_on # - service: script.holiday_switches_on
###################################################################################################### ######################################################################################################
holiday_switches_on: holiday_switches_on:
sequence: sequence:
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.living_room_outlet entity_id: switch.living_room_outlet
- delay: 00:00:30 - delay: 00:00:30
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.foyer_outlet entity_id: switch.foyer_outlet
- delay: 00:00:30 - delay: 00:00:30
- condition: sun - condition: sun
after: sunset after: sunset
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.den_outlet entity_id: switch.den_outlet
- delay: 00:00:30 - delay: 00:00:30
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.dining_room_outlet entity_id: switch.dining_room_outlet
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.village_outlet

View File

@@ -1,56 +1,62 @@
###################################################################################################### ######################################################################################################
###Script to shut switches with a 30 second delay to not trample codes ###Script to shut switches with a 30 second delay to not trample codes
### Sample Call ### Sample Call
# action: # action:
# - service: script.switch_turn_off_all # - service: script.switch_turn_off_all
###################################################################################################### ######################################################################################################
switch_turn_off_all: switch_turn_off_all:
sequence: sequence:
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.living_room_outlet entity_id: switch.living_room_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.kitchen_Accents entity_id: switch.kitchen_Accents
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.den_outlet entity_id: switch.den_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.foyer_outlet entity_id: switch.foyer_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.printer_outlet entity_id: switch.printer_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.garage_outlet entity_id: switch.garage_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.dining_room_outlet entity_id: switch.dining_room_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.living_room_amp entity_id: switch.living_room_amp
- delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_on
entity_id: switch.living_room_outlet entity_id: switch.village_outlet
- delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.kitchen_Accents entity_id: switch.living_room_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.den_outlet entity_id: switch.kitchen_Accents
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.foyer_outlet entity_id: switch.den_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.printer_outlet entity_id: switch.foyer_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.garage_outlet entity_id: switch.printer_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.dining_room_outlet entity_id: switch.garage_outlet
- delay: '00:01:00' - delay: '00:01:00'
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.living_room_amp entity_id: switch.dining_room_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.living_room_amp
- delay: '00:01:00'
- service: switch.turn_on
entity_id: switch.village_outlet

View File

@@ -82,8 +82,8 @@
code_on: 5330691 code_on: 5330691
code_off: 5330700 code_off: 5330700
# Outlet_304_4 # Village_Outlet
Outlet_304_4: Village_Outlet:
protocol: 1 protocol: 1
pulselength: 186 pulselength: 186
code_on: 5332227 code_on: 5332227