mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
commit
3398128e5f
@ -11,7 +11,7 @@ logo: influxdb.png
|
||||
ha_category: "History"
|
||||
---
|
||||
|
||||
The `influxdb` 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. 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:
|
||||
|
||||
@ -29,7 +29,7 @@ Configuration variables:
|
||||
|
||||
- **host** (*Required*): IP address of your database host, eg. http://192.168.1.10.
|
||||
- **port** (*Optional*): Port to use. Defaults to 8086.
|
||||
- **database** (*Optional*): Name of the database to use. Defaults to `home_assistant`
|
||||
- **database** (*Optional*): Name of the database to use. Defaults to `home_assistant`. The database must already exist.
|
||||
- **username** (*Optional*): The username of the database user.
|
||||
- **password** (*Optional*): The password for the database user account.
|
||||
|
||||
|
@ -30,7 +30,7 @@ Launch the InfluxDB service.
|
||||
$ sudo systemctl start influxdb
|
||||
```
|
||||
|
||||
If everything went well, then the web interface of the ddatabase should be accessible at [http://localhost:8083/](http://localhost:8083/). Create a database `home_assistant` to use with Home Assistant either with the web interface or the commandline tool `influx`.
|
||||
If everything went well, then the web interface of the database should be accessible at [http://localhost:8083/](http://localhost:8083/). Create a database `home_assistant` to use with Home Assistant either with the web interface or the commandline tool `influx`.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/blog/2015-12-influxdb/influxdb-frontend.png' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user