Cloudy and Dark or just raining. Turnsome interior lights on.

This commit is contained in:
CCOSTAN 2016-12-21 21:38:29 +00:00
parent cfa66f4c7f
commit d05c0078b3
2 changed files with 19 additions and 11 deletions

View File

@ -39,7 +39,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
* Turn on Upstairs light if Nest detects people and it's nighttime.
* Turn off lights when Nest detects we are away. (Upstairs and Downstairs)
* Turn on some lights abd switches when we get home
* Turn on some outdoor Lights at Sunset, Turn off 4 hours before sunrise. Turn off interior lights when we go to sleep.
* 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.
* 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.

View File

@ -1,5 +1,3 @@
###################################
## Dark House Little extra light
###################################
@ -13,16 +11,26 @@
- platform: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 90
- platform: numeric_state
entity_id: sensor.dark_sky_precip_intensity
above: 1
condition:
- condition: numeric_state
entity_id: sun.sun
value_template: '{{ state.attributes.elevation }}'
below: 20.0
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 90
condition: or
conditions:
- condition: and
conditions:
- condition: numeric_state
entity_id: sun.sun
value_template: '{{ state.attributes.elevation }}'
below: 20.0
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 90
- condition: numeric_state
entity_id: sensor.dark_sky_precip_intensity
above: 1
action:
- service: light.turn_on
entity_id: