Site updated at 2017-01-15 23:08:07 UTC

This commit is contained in:
Travis CI 2017-01-15 23:08:07 +00:00
parent 41d946b441
commit d82500caf0
25 changed files with 101 additions and 55 deletions

View file

@ -4,7 +4,7 @@
<title><![CDATA[Home Assistant]]></title>
<link href="https://home-assistant.io/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>
@ -24,11 +24,11 @@
<p><a href="https://home-assistant.io/topics/packages/">Packages</a> are providing a new way to organize different components configuration parts together. With packages we offer the option to include different components or parts of configuration using any of the <code class="highlighter-rouge">!include</code> directives.</p>
<h2><a class="title-link" name="influxdb-export" href="#influxdb-export"></a> InfluxDB export</h2>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the migration script to update your InfluxDB database.</p>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the <a href="https://home-assistant.io/components/influxdb/#migration-script/">migration script</a> to update your InfluxDB database.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script influxdb_migrator <span class="se">\</span>
-H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD <span class="se">\</span>
-o test_series -d INFLUXDB_DB_NAME
-d INFLUXDB_DB_NAME
</code></pre>
</div>
@ -84,7 +84,7 @@
<h2><a class="title-link" name="breaking-changes" href="#breaking-changes"></a> Breaking changes</h2>
<ul>
<li><a href="https://home-assistant.io/components/notify.apns/">APNS</a> service was moved to the <code class="highlighter-rouge">notify</code> domain. Use <code class="highlighter-rouge">notify.apns_NOTIFIER_NAME</code> instead of <code class="highlighter-rouge">apns.NOTIFIER_NAME</code>.</li>
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new schema to store values in the InfluxDB database. You may require to run the <code class="highlighter-rouge">influxdb_migrator</code> script.
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new <a href="https://home-assistant.io/components/influxdb/#data-migration/">schema</a> to store values in the InfluxDB database. You may require to run the <a href="https://home-assistant.io/components/influxdb/#migration-script/"><code class="highlighter-rouge">influxdb_migrator</code></a> script.
You have to note:
<ul>
<li>There will not be any tags/fields named time anymore.</li>

View file

@ -115,11 +115,11 @@
<p><a href="https://home-assistant.io/topics/packages/">Packages</a> are providing a new way to organize different components configuration parts together. With packages we offer the option to include different components or parts of configuration using any of the <code class="highlighter-rouge">!include</code> directives.</p>
<h2><a class="title-link" name="influxdb-export" href="#influxdb-export"></a> InfluxDB export</h2>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the migration script to update your InfluxDB database.</p>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the <a href="/components/influxdb/#migration-script">migration script</a> to update your InfluxDB database.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script influxdb_migrator <span class="se">\</span>
-H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD <span class="se">\</span>
-o test_series -d INFLUXDB_DB_NAME
-d INFLUXDB_DB_NAME
</code></pre>
</div>
@ -175,7 +175,7 @@
<h2><a class="title-link" name="breaking-changes" href="#breaking-changes"></a> Breaking changes</h2>
<ul>
<li><a href="https://home-assistant.io/components/notify.apns/">APNS</a> service was moved to the <code class="highlighter-rouge">notify</code> domain. Use <code class="highlighter-rouge">notify.apns_NOTIFIER_NAME</code> instead of <code class="highlighter-rouge">apns.NOTIFIER_NAME</code>.</li>
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new schema to store values in the InfluxDB database. You may require to run the <code class="highlighter-rouge">influxdb_migrator</code> script.
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new <a href="/components/influxdb/#data-migration">schema</a> to store values in the InfluxDB database. You may require to run the <a href="/components/influxdb/#migration-script"><code class="highlighter-rouge">influxdb_migrator</code></a> script.
You have to note:
<ul>
<li>There will not be any tags/fields named time anymore.</li>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: community | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: How-To | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>
@ -24,19 +24,19 @@
[Packages][packages] are providing a new way to organize different component's configuration parts together. With packages we offer the option to include different components or parts of configuration using any of the `!include` directives.
## <a class='title-link' name='influxdb-export' href='#influxdb-export'></a> InfluxDB export
The [InfluxDB][influx] component was causing problems in a wide variety of use cases. [@titilambert] improved our InfluxDB exporter feature. It might be that you need to run the migration script to update your InfluxDB database.
The [InfluxDB][influx] component was causing problems in a wide variety of use cases. [@titilambert] improved our InfluxDB exporter feature. It might be that you need to run the [migration script](/components/influxdb/#migration-script) to update your InfluxDB database.
```bash
$ hass --script influxdb_migrator \
-H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD \
-o test_series -d INFLUXDB_DB_NAME
-d INFLUXDB_DB_NAME
```
## <a class='title-link' name='international-space-station-iss' href='#international-space-station-iss'></a> International Space Station (ISS)
No, unfortunately we are not going to space. The `iss` sensor is tracking the position of the International Space Station and gives you some details.
No, unfortunately we are not going to space. The `iss` sensor is tracking the position of the International Space Station and gives you some details.
## <a class='title-link' name='insteon-local' href='#insteon-local'></a> Insteon local
The support for Insteon was removed due to issues a while ago. With the `insteon_local` component support for [Insteon][insteon] is back and let one work locally with an Insteon setup.
The support for Insteon was removed due to issues a while ago. With the `insteon_local` component support for [Insteon][insteon] is back and let one work locally with an Insteon setup.
## <a class='title-link' name='image-processing' href='#image-processing'></a> Image processing
The new [image processing component][image] currently works with [number plates][plates]. But this could level the way to integrate feature like facial recognition, motion detection, or gestures control.
@ -77,10 +77,10 @@ The new [image processing component][image] currently works with [number plates]
- Scripts: Support for `last_triggered` ([@Danielhiversen])
- Media player: Support for `SUPPORT_PLAY` flag ([@armills])
- Minor and not so minor features and bug fixes by [@balloob], [@pvizeli], [@fabaff], [@mezz64], [@andrey-git], [@aequitas], [@abmantis], [@turbokongen], [@jabesq], [@michaelarnauts], [@kellerza], [@titilambert], [@btorresgil], [@henworth], [@armills], [@mjg59], [@Giannie], [@n8henrie], [@magicus], [@florianholzapfel], [@MrMep], [@bah2830], [@happyleavesaoc], [@lwis], [@glance-], [@markferry], and [@nikdoof].
## <a class='title-link' name='breaking-changes' href='#breaking-changes'></a> Breaking changes
- [APNS][apns] service was moved to the `notify` domain. Use `notify.apns_NOTIFIER_NAME` instead of `apns.NOTIFIER_NAME`.
- [InfluxDB][influx] component has a new schema to store values in the InfluxDB database. You may require to run the `influxdb_migrator` script.
- [InfluxDB][influx] component has a new [schema](/components/influxdb/#data-migration) to store values in the InfluxDB database. You may require to run the [`influxdb_migrator`](/components/influxdb/#migration-script) script.
You have to note:
- There will not be any tags/fields named time anymore.
- All numeric fields (int/float/bool) will be stored as float inside influx db.
@ -147,7 +147,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[@w1ll1am23]: https://github.com/w1ll1am23
[@wardcraigj]: https://github.com/wardcraigj
[@webworxshop]: https://github.com/webworxshop
[@Zac-HD]: https://github.com/Zac-HD
[@Zac-HD]: https://github.com/Zac-HD
[apns]: https://home-assistant.io/components/notify.apns/
[beaglebone]: https://home-assistant.io/components/bbb_gpio/
@ -178,7 +178,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[yandex]: https://home-assistant.io/components/tts.yandextts/
[yeelight]: https://home-assistant.io/components/light.yeelight/
[zengge]: https://home-assistant.io/components/light.zengge/
]]></content>
</entry>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Survey | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Talks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Technology | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Video | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Website | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-01-15T22:01:03+00:00</updated>
<updated>2017-01-15T23:05:36+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -119,11 +119,11 @@
<p><a href="https://home-assistant.io/topics/packages/">Packages</a> are providing a new way to organize different components configuration parts together. With packages we offer the option to include different components or parts of configuration using any of the <code class="highlighter-rouge">!include</code> directives.</p>
<h2><a class="title-link" name="influxdb-export" href="#influxdb-export"></a> InfluxDB export</h2>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the migration script to update your InfluxDB database.</p>
<p>The <a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component was causing problems in a wide variety of use cases. <a href="https://github.com/titilambert">@titilambert</a> improved our InfluxDB exporter feature. It might be that you need to run the <a href="/components/influxdb/#migration-script">migration script</a> to update your InfluxDB database.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script influxdb_migrator <span class="se">\</span>
-H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD <span class="se">\</span>
-o test_series -d INFLUXDB_DB_NAME
-d INFLUXDB_DB_NAME
</code></pre>
</div>
@ -179,7 +179,7 @@
<h2><a class="title-link" name="breaking-changes" href="#breaking-changes"></a> Breaking changes</h2>
<ul>
<li><a href="https://home-assistant.io/components/notify.apns/">APNS</a> service was moved to the <code class="highlighter-rouge">notify</code> domain. Use <code class="highlighter-rouge">notify.apns_NOTIFIER_NAME</code> instead of <code class="highlighter-rouge">apns.NOTIFIER_NAME</code>.</li>
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new schema to store values in the InfluxDB database. You may require to run the <code class="highlighter-rouge">influxdb_migrator</code> script.
<li><a href="https://home-assistant.io/components/influxdb/">InfluxDB</a> component has a new <a href="/components/influxdb/#data-migration">schema</a> to store values in the InfluxDB database. You may require to run the <a href="/components/influxdb/#migration-script"><code class="highlighter-rouge">influxdb_migrator</code></a> script.
You have to note:
<ul>
<li>There will not be any tags/fields named time anymore.</li>

View file

@ -92,6 +92,8 @@
<p>The <code class="highlighter-rouge">influxdb</code> component makes it possible to transfer all state changes to an external <a href="https://influxdb.com/">InfluxDB</a> database. For more details, <a href="/blog/2015/12/07/influxdb-and-grafana/">see the blog post on InfluxDB</a>.</p>
<h2><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h2>
<p>The default InfluxDB configuration doesnt enforce authentication. If you have installed InfluxDB on the same host where Home Assistant is running and havent made any configuration changes, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
@ -112,11 +114,14 @@
<li><strong>ssl</strong> (<em>Optional</em>): Use https instead of http to connect. Defaults to false.</li>
<li><strong>verify_ssl</strong> (<em>Optional</em>): Verify SSL certificate for https request. Defaults to false.</li>
<li><strong>default_measurement</strong> (<em>Optional</em>): Measurement name to use when an entity doesnt have a unit. Defaults to entity id.</li>
<li><strong>override_measurement</strong> (<em>Optional</em>): Measurement name to use instead of unit or default measurement. This will store all data points in the singel same measurement.</li>
<li><strong>blacklist</strong> (<em>Optional</em>): List of entities not logged to InfluxDB.</li>
<li><strong>whitelist</strong> (<em>Optional</em>): List of the entities (only) that will be logged to InfluxDB. If not set, all entities will be logged. Values set by the <strong>blacklist</strong> option will prevail.</li>
<li><strong>tags</strong> (<em>Optional</em>): Tags to mark the data.</li>
</ul>
<h2><a class="title-link" name="data-migration" href="#data-migration"></a> Data migration</h2>
<p>Starting with 0.36 the InfluxDB component has a new schema to store values in the InfluxDB databases.</p>
<ul>
@ -128,13 +133,55 @@
<li>Fields named state will always be stored as string.</li>
</ul>
<p>If you need to migrate your database, you may require to run the <code class="highlighter-rouge">influxdb_migrator</code> script.</p>
<h3><a class="title-link" name="migration-script" href="#migration-script"></a> Migration script</h3>
<p>If you need to migrate your database, you may require to run the <code class="highlighter-rouge">influxdb_migrator</code> script. Run the script after upgrade to 0.36 but before first regular start of <code class="highlighter-rouge">hass</code> version 0.36.</p>
<p>These are the steps the script will perform:</p>
<ol>
<li>Create a new database (called <code class="highlighter-rouge">DBNAME__old</code>) to store old data.</li>
<li>Copy data from <code class="highlighter-rouge">DBNAME</code> database to <code class="highlighter-rouge">DBNAME__old</code> database.</li>
<li>Empty <code class="highlighter-rouge">DBNAME</code> database (using <code class="highlighter-rouge">drop</code> then <code class="highlighter-rouge">create</code>). <code class="highlighter-rouge">DBNAME</code> database is now considered as the new database.</li>
<li>For each measurement of <code class="highlighter-rouge">DBNAME__old</code> database:</li>
<li>Read all points from the current measuremnt (by group of <code class="highlighter-rouge">1000</code> points by default) and convert them.</li>
<li>Send group of points to <code class="highlighter-rouge">DBNAME</code> database.</li>
<li>Delete the <code class="highlighter-rouge">DBNAME__old</code> database if needed.</li>
</ol>
<p>Example to run the script:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>hass --script influxdb_migrator <span class="se">\</span>
-H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD <span class="se">\</span>
-o test_series -d INFLUXDB_DB_NAME
-d INFLUXDB_DB_NAME
</code></pre>
</div>
<p>Script arguments:</p>
<div class="highlighter-rouge"><pre class="highlight"><code>required arguments:
-d dbname, --dbname dbname InfluxDB database name
optional arguments:
-h, --help show this help message and exit
-H host, --host host InfluxDB host address
-P port, --port port InfluxDB host port
-u username, --username username
InfluxDB username
-p password, --password password
InfluxDB password
-s step, --step step How many points to migrate at the same time
-o override_measurement, --override-measurement override_measurement
Store all your points in the same measurement
-D, --delete Delete old database
</code></pre>
</div>
<ul>
<li>If you run the script with only the <code class="highlighter-rouge">-h</code> option, you will get a help printout with a short explanation of the different options.</li>
<li>The host option defaults to <code class="highlighter-rouge">'127.0.0.1'</code>.</li>
<li>The port option defaults to <code class="highlighter-rouge">8086</code>.</li>
<li>You should be able to omit username and password, if InfluxDB authentication is disabled, which it is by default.</li>
<li>The step option defaults to <code class="highlighter-rouge">1000</code>.</li>
</ul>
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>

View file

@ -2606,62 +2606,62 @@
</url>
<url>
<loc>https://home-assistant.io/demo/frontend.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/index.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
<lastmod>2017-01-15T22:00:06+00:00</lastmod>
<lastmod>2017-01-15T23:04:49+00:00</lastmod>
</url>
</urlset>