Let there be light... On rainy days.

This commit is contained in:
CCOSTAN
2016-12-21 22:01:37 +00:00
parent 4789e31bad
commit 450c54adf7
2 changed files with 23 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
* Turn on some lights abd switches when we get home
* Turn on some outdoor Lights at Sunset or if it gets darkish in the house, Turn off 4 hours before sunrise. Turn off interior lights when we go to sleep.
* Turn on lights during school days for a morning routine for the kids and wife. Has No School overide boolean in GUI.
* Rainy days trigger extra light inside the house.
* Detects when lights are turned on and adjusts them to correct brightness based on time of day.
* Leverage Alexa, IFTTT and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.
* (IFTTT) Blink ALL lights at 9:30 to remind me to take medicine. (also Alexa Alert)

View File

@@ -42,4 +42,25 @@
entity_id:
- switch.living_room_outlet
######################################################################
######################################################################
######################################################################
## Dark House Little extra light - RAIN is over.
######################################################################
- alias: 'Rain is over'
trigger:
- platform: numeric_state
entity_id: sensor.dark_sky_precip_intensity
below: 1
action:
- service: light.turn_off
entity_id:
- light.tv_light
- light.tv_stand_light
data:
transition: 1200
- service: switch.turn_off
entity_id:
- switch.living_room_outlet