Updates the influxdb documentation with minimal setup instructions (#1242)

* Updates the influxdb documentation with minimal setup instructions

- Adds instructions on creating the default database, which were
previously located in the blog post
- Clarifies that the default influxdb configuration doesn’t require
authentication

* Removes detailed instructions for Influx database creation

Replaces the detailed instructions with a link to the official InfluxDB
v 1.0 documentation for creating a database
This commit is contained in:
Georgi Kirichkov 2016-10-17 22:33:13 +03:00 committed by Fabian Affolter
parent 4f7481e2d0
commit a324cfc3aa

View File

@ -14,13 +14,15 @@ ha_release: 0.9
The `influxdb` component makes it possible to transfer all state changes to an external [InfluxDB](https://influxdb.com/) database. For more details, [see the blog post on InfluxDB](/blog/2015/12/07/influxdb-and-grafana/). The `influxdb` component makes it possible to transfer all state changes to an external [InfluxDB](https://influxdb.com/) database. For more details, [see the blog post on InfluxDB](/blog/2015/12/07/influxdb-and-grafana/).
To use the `influxdb` component in your installation, add the following to your `configuration.yaml` file: The default InfluxDB configuration doesn't enforce authentication. If you have installed InfluxDB on the same host where Home Assistant is running and haven't made any configuration changes, add the following to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
influxdb: influxdb:
``` ```
You will still need to create a database named `home_assistant` via InfluxDB's web interface or command line. For instructions how to create a database check the [InfluxDB documentation](https://docs.influxdata.com/influxdb/v1.0/introduction/getting_started/#creating-a-database) relevant to the version you have installed.
Configuration variables: Configuration variables:
- **host** (*Optional*): IP address of your database host, eg. http://192.168.1.10. Defaults to `localhost`. - **host** (*Optional*): IP address of your database host, eg. http://192.168.1.10. Defaults to `localhost`.
@ -37,7 +39,6 @@ Configuration variables:
## {% linkable_title Examples %} ## {% linkable_title Examples %}
In this section you find some real life examples of how to use this component.
### {% linkable_title Full configuration %} ### {% linkable_title Full configuration %}