Site updated at 2017-02-23 16:26:28 UTC
This commit is contained in:
parent
b212569c16
commit
8d86d0717a
137 changed files with 1028 additions and 166 deletions
|
@ -7,26 +7,26 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Tools - Home Assistant</title>
|
||||
<title>Development Tools - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta name="description" content="Description of the Developer Tools.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/tools/dev-tools/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Tools">
|
||||
<meta property="og:title" content="Development Tools">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/tools/dev-tools/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta property="og:description" content="Description of the Developer Tools.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Tools">
|
||||
<meta name="twitter:description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta name="twitter:title" content="Development Tools">
|
||||
<meta name="twitter:description" content="Description of the Developer Tools.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
|
@ -86,13 +86,49 @@
|
|||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Tools
|
||||
Development Tools
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Home Assistant ships a couple of helpers for the command-line and the frontend which simplify common tasks, are helping with migrations, and ensure that Home Assistant runs properly.</p>
|
||||
<p>The frontend contains a section called “Developer Tools”.</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/screenshots/developer-tools.png" />
|
||||
Screenshot of Home Assistant’s Developer Tools.
|
||||
</p>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Section</th>
|
||||
<th>description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Services</td>
|
||||
<td>Calls services from components</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>States</td>
|
||||
<td>Sets the representation of an entity</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Events</td>
|
||||
<td>Fires events</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Templates</td>
|
||||
<td>Renders templates</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Info</td>
|
||||
<td>Details about Home Assistant</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</article>
|
||||
|
@ -140,7 +176,6 @@
|
|||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
|
@ -192,6 +227,14 @@
|
|||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/tools/'>Tools and Helpers </a>
|
||||
<ul>
|
||||
<li><a class='active' href='/docs/tools/dev-tools/'>Developer Tools </a></li>
|
||||
<li><a href='/docs/tools/hass/'>hass </a></li>
|
||||
<li><a href='/docs/tools/scripts/'>Scripts </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
|
|
|
@ -7,26 +7,26 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Hass - Home Assistant</title>
|
||||
<title>hass - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta name="description" content="Description of hass.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/tools/hass/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Hass">
|
||||
<meta property="og:title" content="hass">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/tools/hass/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta property="og:description" content="Description of hass.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Hass">
|
||||
<meta name="twitter:description" content="Description of tools which helps when using Home Assistant.">
|
||||
<meta name="twitter:title" content="hass">
|
||||
<meta name="twitter:description" content="Description of hass.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
|
@ -92,7 +92,7 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The command-line part of Home Assistant is</p>
|
||||
<p>The command-line part of Home Assistant is <code class="highlighter-rouge">hass</code>.</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass -h
|
||||
usage: hass <span class="o">[</span>-h] <span class="o">[</span>--version] <span class="o">[</span>-c path_to_config_dir] <span class="o">[</span>--demo-mode] <span class="o">[</span>--debug]
|
||||
|
@ -125,6 +125,7 @@ optional arguments:
|
|||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
@ -170,7 +171,6 @@ optional arguments:
|
|||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
|
@ -222,6 +222,14 @@ optional arguments:
|
|||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/tools/'>Tools and Helpers </a>
|
||||
<ul>
|
||||
<li><a href='/docs/tools/dev-tools/'>Developer Tools </a></li>
|
||||
<li><a class='active' href='/docs/tools/hass/'>hass </a></li>
|
||||
<li><a href='/docs/tools/scripts/'>Scripts </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
<p>Home Assistant ships a couple of helpers for the command-line and the frontend which simplify common tasks, are helping with migrations, and ensure that Home Assistant runs properly.</p>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
@ -140,7 +141,6 @@
|
|||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
|
@ -192,6 +192,14 @@
|
|||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class='active' href='/docs/tools/'>Tools and Helpers </a>
|
||||
<ul>
|
||||
<li><a href='/docs/tools/dev-tools/'>Developer Tools </a></li>
|
||||
<li><a href='/docs/tools/hass/'>hass </a></li>
|
||||
<li><a href='/docs/tools/scripts/'>Scripts </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
|
|
|
@ -92,7 +92,40 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Home Assistant ships a couple of helpers for the command-line and the frontend which simplify common tasks, are helping with migrations, and ensure that Home Assistant runs properly.</p>
|
||||
<p>The command-line and the frontend which simplify common tasks, are helping with migrations, and ensure that Home Assistant runs properly. Please do not confuse those with with Home Assistant’s <a href="/docs/scripts/">script</a> feature.</p>
|
||||
|
||||
<h3><a class="title-link" name="configuration-check" href="#configuration-check"></a> Configuration check</h3>
|
||||
|
||||
<p>Test any changes to your <code class="highlighter-rouge">configuration.yaml</code> file before launching Home Assistant. This script allows you to test changes without the need to restart Home Assistant.</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script check_config
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="existance-of-configuration" href="#existance-of-configuration"></a> Existance of configuration</h3>
|
||||
|
||||
<p>This script checks if the <code class="highlighter-rouge">configuration.yaml</code> file exists. If the file is not available, one is created.</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script ensure_config
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="secrets" href="#secrets"></a> Secrets</h3>
|
||||
|
||||
<p>There is a method to store secrets outside of your <code class="highlighter-rouge">configuration.yaml</code> file. For further details, please refer to the <a href="/docs/configuration/secrets/">Storing Secrets</a> documentation.</p>
|
||||
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script keyring
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="old-scripts" href="#old-scripts"></a> Old scripts</h3>
|
||||
|
||||
<p>Usally those scripts were only use when a massive update happend and was announced in the release notes.</p>
|
||||
|
||||
<ul>
|
||||
<li><code class="highlighter-rouge">db_migrator</code>: Migrate an existing SQLite database to the new schema.</li>
|
||||
<li><code class="highlighter-rouge">influxdb_migrator</code>: Convert an old InfluxDB to the new format.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</article>
|
||||
|
@ -140,7 +173,6 @@
|
|||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
|
@ -192,6 +224,14 @@
|
|||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/tools/'>Tools and Helpers </a>
|
||||
<ul>
|
||||
<li><a href='/docs/tools/dev-tools/'>Developer Tools </a></li>
|
||||
<li><a href='/docs/tools/hass/'>hass </a></li>
|
||||
<li><a class='active' href='/docs/tools/scripts/'>Scripts </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue