Site updated at 2015-12-08 08:15:27 UTC
This commit is contained in:
parent
6b935ba49c
commit
e7f9c2e655
73 changed files with 1286 additions and 528 deletions
|
@ -100,23 +100,33 @@
|
|||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
<p>This component will allow you to record events to an InfluxDB database.</p>
|
||||
<p>The <code>influxdb</code> component makes it possible to transfer all state changes to an external <a href="https://influxdb.com/">InfluxDB</a> database.</p>
|
||||
|
||||
<p>To use the <code>influxdb</code> component in your installation, add the following to your <code>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">influxdb</span>:
|
||||
<span class="key">host</span>: <span class="string"><span class="content">DB_HOST_IP_ADDRESS</span></span>
|
||||
<span class="comment"># Optional, default: 8086</span>
|
||||
<span class="key">port</span>: <span class="string"><span class="content">20000</span></span>
|
||||
<span class="comment"># Optional, default: home_assistant</span>
|
||||
<span class="key">database</span>: <span class="string"><span class="content">DB_TO_STORE_EVENTS</span></span>
|
||||
<span class="comment"># Optional</span>
|
||||
<span class="key">username</span>: <span class="string"><span class="content">MY_USER</span></span>
|
||||
<span class="key">password</span>: <span class="string"><span class="content">MY_PASS</span></span>
|
||||
<span class="key">username</span>: <span class="string"><span class="content">MY_USERNAME</span></span>
|
||||
<span class="key">password</span>: <span class="string"><span class="content">MY_PASSWORD</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>host</strong> (<em>Required</em>): IP address of your database host, eg. http://192.168.1.10.</li>
|
||||
<li><strong>port</strong> (<em>Optional</em>): Port to use. Defaults to 8086.</li>
|
||||
<li><strong>database</strong> (<em>Optional</em>): Name of the database to use. Defaults to <code>home_assistant</code></li>
|
||||
<li><strong>username</strong> (<em>Optional</em>): The username of the database user.</li>
|
||||
<li><strong>password</strong> (<em>Optional</em>): The password for the database user account.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
|
|
@ -123,6 +123,7 @@ $ pip3 install "cython<0.23"
|
|||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">zwave</span>:
|
||||
<span class="key">usb_path</span>: <span class="string"><span class="content">/dev/ttyUSB0</span></span>
|
||||
<span class="key">config_path</span>: <span class="string"><span class="content">/usr/local/share/python-openzwave/config</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -131,6 +132,7 @@ $ pip3 install "cython<0.23"
|
|||
|
||||
<ul>
|
||||
<li><strong>usb_path</strong> (<em>Required</em>): The port where your device is connected to your Home Assistant host.</li>
|
||||
<li><strong>config_path</strong> (<em>Optional</em>): The path to the Python Open Z-Wave configuration files.</li>
|
||||
</ul>
|
||||
|
||||
<p>To find the path of your Z-Wave stick, run:</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue