Send me an ifttt_notify alert if the Garage is left open!

This commit is contained in:
CCOSTAN
2016-11-28 19:31:57 +00:00
parent e2743700a6
commit f83757bd22
5 changed files with 29 additions and 3 deletions

View File

@@ -1 +1 @@
0.33.3
0.33.4

View File

@@ -53,6 +53,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
#Todo List
* AutoIt script to control lights via REST and also auto light office when I am working on Laptop.
* On motion from Doorbell (IFTTT) Turn front lights to Bright White lights for 10 minutes and then back to original colors.
* Notifications and Close garage doors if left open after 9 or 10 PM.
* Monitor the reflection rates of Garadget and notify when they being to drop too low when closed (indicating a shift in the controller)
* Configure the Alexa Component.
@@ -75,4 +76,6 @@ 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://github.com/thundergreen/home-assistant/wiki/Add-OZWCP-in-HASS
https://community.home-assistant.io/t/voice-controlled-cheap-non-smart-led-strip-with-ok-google-command/5756

View File

@@ -26,4 +26,4 @@
- sensor.garadget_large
action:
service: ifttt.trigger
data_template: {"event":"device_status", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}
data_template: {"event":"ifttt_notify", "value1":"{{ trigger.entity_id.split('.')[1] }}", "value2":"{{ trigger.to_state.state }}"}

View File

@@ -10,7 +10,7 @@
action:
- service: ifttt.trigger
data: {"event":"device_status", "value1":"Home Assistant Update: ", "value2":"Available"}
data: {"event":"ifttt_notify", "value1":"Home Assistant Update: ", "value2":"Available"}
- service: notify.html5
data_template:

View File

@@ -37,3 +37,26 @@
- service: light.turn_off
data_template:
entity_id: "{{ trigger.entity_id }}"
##############################################################################
- alias: 9pm - is the Garage door Open
trigger:
- platform: time
after: '21:00:00'
- platform: sun
event: sunset
offset: '+01:00:00'
condition:
- condition: sun
after: 'sunset'
- condition: template
value_template: "{{ states('cover.garadget_large') != 'closed' }}"
- condition: template
value_template: "{{ states('cover.garadget_small') != 'closed' }}"
action:
- service: ifttt.trigger
data: {"event":"ifttt_notify", "value1":"Check Garage Doors ", "value2":"Small {{ states('cover.garadget_small')}}", "value3":"Large {{ states('cover.garadget_large')}} "}