mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 02:54:41 +00:00
Updated with new outlet switch.
This commit is contained in:
@@ -22,7 +22,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
|
||||
* [Door Sensors (AEON Labs)](http://amzn.to/2e3xDxY)
|
||||
* [Garadget](garadget.com) - Garage Door opener/sensor
|
||||
* 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!
|
||||
* [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://community.home-assistant.io/t/a-different-take-on-an-alarm-system/7809/5 - ALARM System info.
|
||||
|
||||
#Lab notes:
|
||||
|
||||
|
@@ -70,8 +70,8 @@ switch.Outlet_304_3:
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
||||
switch.Outlet_304_4:
|
||||
friendly_name: 'Outlet_304_4'
|
||||
switch.Village_Outlet:
|
||||
friendly_name: 'Village_Outlet'
|
||||
emulated_hue: true
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
@@ -1,23 +1,27 @@
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.holiday_switches_on
|
||||
######################################################################################################
|
||||
|
||||
holiday_switches_on:
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: 00:00:30
|
||||
|
||||
- condition: sun
|
||||
after: sunset
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.den_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.dining_room_outlet
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.holiday_switches_on
|
||||
######################################################################################################
|
||||
|
||||
holiday_switches_on:
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: 00:00:30
|
||||
|
||||
- condition: sun
|
||||
after: sunset
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.den_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.dining_room_outlet
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.village_outlet
|
||||
|
||||
|
@@ -1,56 +1,62 @@
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.switch_turn_off_all
|
||||
######################################################################################################
|
||||
|
||||
switch_turn_off_all:
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_Accents
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.den_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.garage_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.dining_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_amp
|
||||
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_Accents
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.den_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.garage_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.dining_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_amp
|
||||
######################################################################################################
|
||||
###Script to shut switches with a 30 second delay to not trample codes
|
||||
### Sample Call
|
||||
# action:
|
||||
# - service: script.switch_turn_off_all
|
||||
######################################################################################################
|
||||
|
||||
switch_turn_off_all:
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_Accents
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.den_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.garage_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
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
|
||||
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_Accents
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.den_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.foyer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.printer_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.garage_outlet
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
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
|
@@ -82,8 +82,8 @@
|
||||
code_on: 5330691
|
||||
code_off: 5330700
|
||||
|
||||
# Outlet_304_4
|
||||
Outlet_304_4:
|
||||
# Village_Outlet
|
||||
Village_Outlet:
|
||||
protocol: 1
|
||||
pulselength: 186
|
||||
code_on: 5332227
|
||||
|
Reference in New Issue
Block a user