Update configuration sample

This commit is contained in:
Fabian Affolter 2015-12-07 07:35:34 +01:00
parent 2ac9ed6cdc
commit c14ef43b5d

View File

@ -11,19 +11,16 @@ logo: influxdb.png
ha_category: "History" ha_category: "History"
--- ---
The `influx` component makes it possible to transfer all state changes to an external [InfluxDB](https://influxdb.com/) database. The `influxdb` component makes it possible to transfer all state changes to an external [InfluxDB](https://influxdb.com/) database.
To use the `influx` component in your installation, add the following to your `configuration.yaml` file: To use the `influxdb` component in your installation, add the following to your `configuration.yaml` file:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
influxdb: influxdb:
host: DB_HOST_IP_ADDRESS host: DB_HOST_IP_ADDRESS
# Optional, default: 8086
port: 20000 port: 20000
# Optional, default: home_assistant
database: DB_TO_STORE_EVENTS database: DB_TO_STORE_EVENTS
# Optional
username: MY_USERNAME username: MY_USERNAME
password: MY_PASSWORD password: MY_PASSWORD
``` ```