mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
Update configuration sample
This commit is contained in:
parent
2ac9ed6cdc
commit
c14ef43b5d
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user