Site updated at 2018-01-18 23:18:22 UTC
This commit is contained in:
parent
dc6104ce86
commit
8890901d23
28 changed files with 270 additions and 218 deletions
|
@ -84,7 +84,7 @@
|
|||
<p>It is also possible to speak direct to the Home Assistant instance which is named <code class="highlighter-rouge">homeassistant</code> over our internal network. But you need to know the configuration that is used by the running instance.</p>
|
||||
<p>We have severals services for Hass.io inside Home Assistant to execute tasks. To send data over STDIN to an add-on use the simply <code class="highlighter-rouge">hassio.addon_stdin</code> service.</p>
|
||||
<h2><a class="title-link" name="hassio-api" href="#hassio-api"></a> Hass.io API</h2>
|
||||
<p>To enables calls to the <a href="https://github.com/home-assistant/hassio/blob/master/API.md">Hass.io API</a>, add <code class="highlighter-rouge">hassio_api: true</code> to <code class="highlighter-rouge">config.json</code> and read the environment variable <code class="highlighter-rouge">API_TOKEN</code>. Now you can use the API over the URL: <code class="highlighter-rouge">http://hassio/</code>. Use the <code class="highlighter-rouge">HASSIO_TOKEN</code> with header <code class="highlighter-rouge">X-HASSIO-KEY</code>.</p>
|
||||
<p>To enables calls to the <a href="https://github.com/home-assistant/hassio/blob/master/API.md">Hass.io API</a>, add <code class="highlighter-rouge">hassio_api: true</code> to <code class="highlighter-rouge">config.json</code> and read the environment variable <code class="highlighter-rouge">HASSIO_TOKEN</code>. Now you can use the API over the URL: <code class="highlighter-rouge">http://hassio/</code>. Use the <code class="highlighter-rouge">HASSIO_TOKEN</code> with header <code class="highlighter-rouge">X-HASSIO-KEY</code>.</p>
|
||||
</article>
|
||||
</div>
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue