diff --git a/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown b/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown new file mode 100644 index 00000000000..c05d2dd9401 --- /dev/null +++ b/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown @@ -0,0 +1,209 @@ +--- +layout: post +title: "Home Assistant meets IFTTT" +description: "Announcing new integration with IFTTT and some samples to get started." +date: 2015-09-13 09:28:00 -0700 +date_formatted: "September 13, 2015" +author: Paulus Schoutsen +comments: true +categories: release-notes how-to +--- + +

Today we announce the release of Home Assistant v0.7.2 which includes brand new support by +@sfam to integrate with IFTTT. IFTTT stands for If This, Then That and is a +webservice that integrates with almost every possible webservice out there. Adding Home +Assistant to this mix means Home Assistant can connect with all via IFTTT.

+ +

It is now possible to disable your irregation system if it is going to be cloudy tomorrow or tweet +if your smoke alarm goes off.

+ +

+ +

+ + +

Head over to the setup instructions to get started with IFTTT. Click the +read more button for some example recipes.

+ + + +

In each of the following examples, make sure to replace the XXX in the url with your correct +host address and api password.

+ +

Turn off irregation system when not needed

+ +

+ +

+ + +

Maker channel setup:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Field Value
URL http://xxx.xxx.xxx.xxx:8123/api/services/switch/turn_off?api_password=xxxxxxxx
METHOD POST
CONTENT TYPE application/json
BODY { “entity_id”: “switch.irrigation” }
+ + +

Tweet when important events happen

+ +

+ +

+ + +

This will tweet a message when a MQTT message is received that the smoke alarm has been triggered. +Setup Maker channel with event name HA_FIRE_ALARM and Twitter channel to tweet the message in +value1.

+ +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+
# Configuration.yaml entry
+automation:
+  alias: Post a tweet when fire alarm is triggered
+
+  platform: mqtt
+  mqtt_topic: home/alarm/fire
+  mqtt_payload: 'on'
+
+  execute_service: ifttt.trigger
+  service_data: {"event":"HA_FIRE_ALARM", "value1":"The fire alarm just triggered!"}
+
+ + +

Turn on lights when I get home

+ +

+ +

+ + +

Maker channel setup:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Field Value
URL http://xxx.xxx.xxx.xxx:8123/api/services/light/turn_on?api_password=xxxxxxxx
METHOD POST
CONTENT TYPE application/json
BODY { “entity_id”: “light.kitchen” }
+ + +

Flash lights when a new PR comes in for Home Assistant

+ +

+ +

+ + +

Maker channel setup:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Field Value
URL http://xxx.xxx.xxx.xxx:8123/api/services/light/turn_on?api_password=xxxxxxxx
METHOD POST
CONTENT TYPE application/json
BODY { “entity_id”: “group.all_lights”, “flash”:“yes” }
+ + +

Fire events when pressing the DO button

+ +

+ +

+ + +

Maker channel setup:

+ + + + + + + + + + + + + + + + + + + + + + +
Field Value
URL http://xxx.xxx.xxx.xxx:8123/api/events/do_button_pressed?api_password=xxxxxxxx
METHOD POST
CONTENT TYPE application/json
+ diff --git a/source/images/blog/2015-09-ifttt/og_facebook.png b/source/images/blog/2015-09-ifttt/og_facebook.png new file mode 100644 index 00000000000..18ab31a495c Binary files /dev/null and b/source/images/blog/2015-09-ifttt/og_facebook.png differ diff --git a/source/images/blog/2015-09-ifttt/recipe-do.png b/source/images/blog/2015-09-ifttt/recipe-do.png new file mode 100644 index 00000000000..d678d5324c7 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/recipe-do.png differ diff --git a/source/images/blog/2015-09-ifttt/recipe-geo.png b/source/images/blog/2015-09-ifttt/recipe-geo.png new file mode 100644 index 00000000000..2d8359d06d1 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/recipe-geo.png differ diff --git a/source/images/blog/2015-09-ifttt/recipe-github.png b/source/images/blog/2015-09-ifttt/recipe-github.png new file mode 100644 index 00000000000..3029228bde1 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/recipe-github.png differ diff --git a/source/images/blog/2015-09-ifttt/recipe-twitter.png b/source/images/blog/2015-09-ifttt/recipe-twitter.png new file mode 100644 index 00000000000..74f40fbcee5 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/recipe-twitter.png differ diff --git a/source/images/blog/2015-09-ifttt/recipe-weather.png b/source/images/blog/2015-09-ifttt/recipe-weather.png new file mode 100644 index 00000000000..149f5d59517 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/recipe-weather.png differ diff --git a/source/images/blog/2015-09-ifttt/splash.png b/source/images/blog/2015-09-ifttt/splash.png new file mode 100644 index 00000000000..ab82760d5e3 Binary files /dev/null and b/source/images/blog/2015-09-ifttt/splash.png differ