Site updated at 2016-08-22 08:21:42 UTC

This commit is contained in:
Travis CI 2016-08-22 08:21:43 +00:00
parent f9d65cbe57
commit 4acb07bf8e
559 changed files with 18878 additions and 21688 deletions

View file

@ -89,16 +89,14 @@
<hr class="divider">
<p>This platform allows you to detect presence using <a href="https://my.locative.io/">Locative</a>. Locative is an open source app for <a href="https://github.com/LocativeHQ/ios-app">iOS</a> and <a href="https://github.com/LocativeHQ/Locative-Android">Android</a> that allows users to set up a <code>GET</code> or <code>POST</code> request when a geofence is entered or exited. This can be configured with Home Assistant to update your location.</p>
<p>This platform allows you to detect presence using <a href="https://my.locative.io/">Locative</a>. Locative is an open source app for <a href="https://github.com/LocativeHQ/ios-app">iOS</a> and <a href="https://github.com/LocativeHQ/Locative-Android">Android</a> that allows users to set up a <code class="highlighter-rouge">GET</code> or <code class="highlighter-rouge">POST</code> request when a geofence is entered or exited. This can be configured with Home Assistant to update your location.</p>
<p>To integrate Locative in Home Assistant, add the following section to your <code>configuration.yaml</code> file:</p>
<p>To integrate Locative in Home Assistant, add the following section to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
<span class="key">device_tracker</span>:
<span class="key">platform</span>: <span class="string"><span class="content">locative</span></span>
</pre></div>
</div>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">device_tracker</span><span class="pi">:</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">locative</span>
</code></pre>
</div>
<p>Install on your smartphone:</p>
@ -108,7 +106,7 @@
<li><a href="https://itunes.apple.com/us/app/geofancy/id725198453">iOS</a></li>
</ul>
<p>To configure Locative, you must set up the app to send a <code>GET</code> request to your Home Assistant server at <code>http://&lt;ha_server&gt;/api/locative</code>. Make sure to include the API password if you have configured a password in Home Assistant (add <code>?api_password=&lt;password&gt;</code> to the end of the URL). When you enter or exit a geofence, Locative will send a <code>GET</code> request to that URL, updating Home Assistant.</p>
<p>To configure Locative, you must set up the app to send a <code class="highlighter-rouge">GET</code> request to your Home Assistant server at <code class="highlighter-rouge">http://&lt;ha_server&gt;/api/locative</code>. Make sure to include the API password if you have configured a password in Home Assistant (add <code class="highlighter-rouge">?api_password=&lt;password&gt;</code> to the end of the URL). When you enter or exit a geofence, Locative will send a <code class="highlighter-rouge">GET</code> request to that URL, updating Home Assistant.</p>
<p class="img">
<img src="/images/screenshots/locative.png" />
@ -116,7 +114,7 @@
<p>When you enter a geofence, your location name in Home Assistant will be set to the name of the geofence in Locative. When you exit a geofence, your location name in Home Assistant will be set to “not home”.</p>
<p>To use Locative in combination with another device tracker, such as <a href="/components/device_tracker.nmap_scanner/">nmap</a> or <a href="/components/device_tracker.netgear/">Netgear</a>, fill in the <code>mac</code> field to the Locative entry in <code>known_devices.yaml</code> with the MAC address of the device you want to track. The state of the device will be determined by the source that reported last.</p>
<p>To use Locative in combination with another device tracker, such as <a href="/components/device_tracker.nmap_scanner/">nmap</a> or <a href="/components/device_tracker.netgear/">Netgear</a>, fill in the <code class="highlighter-rouge">mac</code> field to the Locative entry in <code class="highlighter-rouge">known_devices.yaml</code> with the MAC address of the device you want to track. The state of the device will be determined by the source that reported last.</p>
</article>