Add IFTTT AMP support

This commit is contained in:
CCOSTAN
2016-10-18 18:02:51 +00:00
parent 3b35d0be78
commit 222bd9d27b
3 changed files with 24 additions and 7 deletions

View File

@@ -1,10 +1,4 @@
### Future Ideas
Add IFTTT to Set Guest MODE via Alexa.
- alias: 'Get Random Time'
trigger:
platform: time

View File

@@ -42,4 +42,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
* Put Dash Buttons out there.
* Put door sensor on garage door
* Put Door Sensor in Mailbox
* Put Door Sensor in Attic trap door to trigger light (GE LINK)
* Put Door Sensor in Attic trap door to trigger light (GE LINK)
* Add IFTTT to Set Guest MODE via Alexa.
* Add IFTTT Event to turn Switches (AMP) On and Off.
* Add LetsEncrypt and [CertBot](https://certbot.eff.org/#debianjessie-other) for auto renewals. (or buy cheapo SSL cert) for advanced Alexa stuff.

20
automation/ifttt_amps.yaml Executable file
View File

@@ -0,0 +1,20 @@
# There is also an IFTTT recipe that shuts down all lights when Nest goes into Away mode. - event_type= Good_Night
- alias: 'IFTTT Turn AMP on'
trigger:
- platform: event
event_type: amp_on
action:
- service: switch.turn_on
entity_id: switch.living_room_amp
- alias: 'IFTTT Turn AMP off'
trigger:
- platform: event
event_type: amp_off
action:
- service: switch.turn_off
entity_id: switch.living_room_amp