Site updated at 2016-11-14 18:14:20 UTC
This commit is contained in:
parent
7cf46878c8
commit
1a8e318c5c
28 changed files with 48 additions and 41 deletions
|
@ -90,7 +90,7 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p><a href="https://ifttt.com">IFTTT</a> is a web service that allows users to create chains of simple conditional statements, so called “recipes”. With the IFTTT component you can trigger recipes through the “maker” channel. See the <a href="/blog/2015/09/13/home-assistant-meets-ifttt/">announcement blog post</a> for examples how to use it.</p>
|
||||
<p><a href="https://ifttt.com">IFTTT</a> is a web service that allows users to create chains of simple conditional statements, so called “Applets”. With the IFTTT component you can trigger applets through the <strong>“Maker”</strong> channel. See the <a href="/blog/2015/09/13/home-assistant-meets-ifttt/">announcement blog post</a> for examples how to use it.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">ifttt</span><span class="pi">:</span>
|
||||
|
@ -98,14 +98,14 @@
|
|||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Key is your API key which can be obtained by viewing the properties of the <a href="https://ifttt.com/maker">Maker Channel</a>.</p>
|
||||
<p><code class="highlighter-rouge">key</code> is your API key which can be obtained by viewing the <strong>Settings</strong> of the <a href="https://ifttt.com/maker">Maker Channel</a>. It’s the last part of the URL.</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/components/ifttt/finding_key.png" />
|
||||
Property screen of the Maker Channel
|
||||
</p>
|
||||
|
||||
<p>Once you have added your key to <code class="highlighter-rouge">configuration.yaml</code>, restart your Home Assistant server. This will load up the IFTTT component and make a service available to trigger events in IFTTT.</p>
|
||||
<p>Once you have added your key to your <code class="highlighter-rouge">configuration.yaml</code> file, restart your Home Assistant server. This will load up the IFTTT component and make a service available to trigger events in IFTTT.</p>
|
||||
|
||||
<p class="note">
|
||||
After restarting the server, be sure to watch the console for any logging errors that show up in red, white or yellow.
|
||||
|
@ -113,7 +113,7 @@ After restarting the server, be sure to watch the console for any logging errors
|
|||
|
||||
<h3><a class="title-link" name="testing-your-trigger" href="#testing-your-trigger"></a> Testing your trigger</h3>
|
||||
|
||||
<p>You can use the developer tools to test your <a href="https://ifttt.com/maker">Maker Channel</a> trigger. To do this, open the Home Assistant UI, open the sidebar, click on the first icon in the developer tools. This should get you to the ‘Call Service’ screen. Fill in the following values:</p>
|
||||
<p>You can use the <strong>Developer tools</strong> to test your <a href="https://ifttt.com/maker">Maker Channel</a> trigger. To do this, open the Home Assistant frontend, open the sidebar, click on the first icon in the developer tools. This should get you to the <strong>Call Service</strong> screen. Fill in the following values:</p>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
|
@ -145,6 +145,13 @@ When your screen looks like this, click the ‘call service’ button.
|
|||
|
||||
<h3><a class="title-link" name="setting-up-a-recipe" href="#setting-up-a-recipe"></a> Setting up a recipe</h3>
|
||||
|
||||
<p>Press the <em>New applet</em> button and search for <em>Maker</em> .</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/components/ifttt/setup_service.png" />
|
||||
Choose “Maker” as service.
|
||||
</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/components/ifttt/setup_trigger.png" />
|
||||
You need to setup a unique trigger for each event you sent to IFTTT.
|
||||
|
@ -166,7 +173,7 @@ You need to setup a unique trigger for each event you sent to IFTTT.
|
|||
|
||||
<p>To be able to receive events from IFTTT, your Home Assistant instance needs to be accessible from the web. This can be achieved by forwarding port 8123 from your router to the device running Home Assistant. If your ISP is giving you a new IP address from time to time, consider using <a href="https://duckdns.org">DuckDNS</a>.</p>
|
||||
|
||||
<p>In the URL field, you can then put an <a href="https://home-assistant.io/developers/rest_api/">API URL</a>. You probably want to use a POST action, so select <code class="highlighter-rouge">POST</code> as method. After your request line, you need to add your Home Assistant password, which you defined in the <a href="https://home-assistant.io/getting-started/basic/#password-protecting-the-web-interface">http section of your config</a>, in the form off <code class="highlighter-rouge">?api_password=<your_password></code>. For the message body, refer to the API page linked above.</p>
|
||||
<p>In the URL field, you can then put an <a href="/developers/rest_api/">API URL</a>. You probably want to use a POST action, so select <code class="highlighter-rouge">POST</code> as method. After your request line, you need to add your Home Assistant password, which you defined in the <a href="/getting-started/basic/#password-protecting-the-web-interface">http section of your config</a>, in the form of <code class="highlighter-rouge">?api_password=YOUR_PASSWORD</code>. For the message body, refer to the API page linked above.</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/components/ifttt/IFTTT_to_HA.png" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue