mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Merge
This commit is contained in:
parent
965689d6c2
commit
2ac9ed6cdc
@ -2,7 +2,7 @@
|
|||||||
layout: component
|
layout: component
|
||||||
title: "InfluxDB"
|
title: "InfluxDB"
|
||||||
description: "Record events in InfluxDB."
|
description: "Record events in InfluxDB."
|
||||||
date: 2015-12-6 13:08
|
date: 2015-12-06 13:08
|
||||||
sidebar: true
|
sidebar: true
|
||||||
comments: false
|
comments: false
|
||||||
sharing: true
|
sharing: true
|
||||||
@ -11,7 +11,9 @@ logo: influxdb.png
|
|||||||
ha_category: "History"
|
ha_category: "History"
|
||||||
---
|
---
|
||||||
|
|
||||||
This component will allow you to record events to an InfluxDB database.
|
The `influx` 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:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -22,6 +24,15 @@ influxdb:
|
|||||||
# Optional, default: home_assistant
|
# Optional, default: home_assistant
|
||||||
database: DB_TO_STORE_EVENTS
|
database: DB_TO_STORE_EVENTS
|
||||||
# Optional
|
# Optional
|
||||||
username: MY_USER
|
username: MY_USERNAME
|
||||||
password: MY_PASS
|
password: MY_PASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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`
|
||||||
|
- **username** (*Optional*): The username of the database user.
|
||||||
|
- **password** (*Optional*): The password for the database user account.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user