Skip to content

Home Assistant database setup using Docker-compose with Telegraf, Influxdb and Grafana

License

Notifications You must be signed in to change notification settings

ChristianGroentved/ha-telegraf-influxdb-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ha-telegraf-influxdb-grafana

Home Assistant database setup with the TIG stack (Telegraf, Influxdb 2.X, Grafana).

Everything should be setup, no additionally configuration need, except in Home Assistant.

Installation

  1. Modify .env to your liking
  2. run docker-compose up -d
  3. Log into Home Asisstant and add the following to the configuration.yaml file
influxdb:
  api_version: 2
  ssl: false
  host: XXX.XXX.XXX.XXX
  port: 8086
  token: mytoken
  organization: myorg
  bucket: home_assistant

Remember to change host, token and organization to your own setup.

Lastly restart Home Assistant.

If needed modify telegraf.confto add additional plugins

Services and Ports

Influx

  • Port:8086
  • User: admin
  • Password: Supersecretpass

Grafana

  • Port: 3000
  • User: admin
  • Password: Supersecretpass

About

Home Assistant database setup using Docker-compose with Telegraf, Influxdb and Grafana

Topics

Resources

License

Stars

Watchers

Forks

Languages