Home Assistant Community Add-on: InfluxDB

:tada: Release v3.0.5

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Chronograf to 1.7.11
  • :arrow_up: Upgrades add-on base image to 3.1.1

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

As many many users reported, I never had chance to run influxDB properly.
I got the classic error: “Database host is not accessible due to ‘HTTPSConnectionPool(host=‘a0d7b954_influxdb’, port=8086): Max retries exceeded with url: /write?db=homeassistant (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f717ab748>: Failed to establish a new connection: [Errno -2] Name does not resolve’))’, please check your entries in the configuration file (host, port, etc.) and verify that the database exists and is READ/WRITE. Retrying again in 60 seconds.”

I use SSL connexion with duckdns. Here my config

{
“auth”: true,
“reporting”: true,
“ssl”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}

influxdb:
host: a0d7b954_influxdb
port: 8086
database: homeassistant
username: !secret influxdb_username
password: !secret influxdb_password
ssl: true
max_retries: 3
default_measurement: state

Of course both the database and the user “homeassistant” created in influxDB.

I tried with SSL:false or true, auth false or true… I opened of course port 8086/8088 in my router…

Dear, one small question
with influxdb addon Chronograf & Kapacitor comes as preinstalled
what should ne done to stop them installing with influxdb.
Please guide
thanks

:tada: Release v3.1.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v3.1.3
  • :arrow_up: Upgrades Chronograf to 1.7.12
  • :arrow_up: Upgrades Kapacitor to 1.5.3
  • :pencil2: Maintaince -> Maintenance
  • :sparkles: Adds FUNDING.yml

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

1 Like

:tada: Release v3.1.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades InfluxDB to v1.7.7
  • :books: Link to HA Component Docs for Influx (#35)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

i am desperately looking for help.
Can someone please check out my thread?
Thanks
https://community.home-assistant.io/t/influxdb-keeps-spiking-up-cpu

Is Graphite supported within this add-on? And if so, where can and should I configure it?

Note
I’ve searched and couldn’t find an answer.

Use-case
Want to use the built-in FreeNAS graphite support, so that I can insert miscellaneous FreeNAS metrics into influxdb.

Source
https://docs.influxdata.com/influxdb/v1.7/supported_protocols/graphite#minimal-config

:tada: Release v3.1.2

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades libnginx-mod-http-lua to 1.14.0-0ubuntu1.3
  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.3
  • :arrow_up: Upgrades add-on base image to v3.1.4

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I have followed the installation sequence step-by-step, but when clicking “Open Web UI” I only get a 502: Bad gateway. Nothing happens.

Last event in log after starting is “[16:28:49] INFO: Starting NGinx…” and nothing more.

Anyone experienced this before?

My influx won’t start after the update, I only get this in the log: https://pastebin.com/dhik1GiM what to do?

:tada: Release v3.2.0

Full Changelog

This release adds support for the Flux query language! :tada:
Oh, and it updates all other stuff as well.

:hammer: Changes

  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.5
  • :arrow_up: Upgrades add-on base image to v3.2.0
  • :arrow_up: Upgrades nginx to 1.14.0-0ubuntu1.6
  • :arrow_up: Upgrades libnginx-mod-http-lua to 1.14.0-0ubuntu1.6
  • :hammer: Updates HA Auth URL in NGinx LUA script
  • :ambulance: Fixes path handling for SSL certificates
  • :hammer: Use Hass.io DNS as NGinx resolver
  • :arrow_up: Upgrades Chronograf to 1.7.13
  • :sparkles: Enables Flux

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

I get the exact same problem. Did you find a solution for this?

[21:33:10] INFO: Starting NGinx...

And then no further.

That is the last message an there is nothing wrong with that.

Nope, no solution. Everything seems to be ok, but only 502: error when trying to start it. No clue

:tada: Release v3.2.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Chronograf to 1.7.14 (#43)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v3.3.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v4.0.0
  • :fire: Removes unneeded access to config folder
  • :arrow_up: Upgrades InfluxDB to v1.7.8

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hello,
can I use CLI with this add-on? If yes, how can I access it?

Thank you.

Hello,

This is my first post here and I am just beginner when it comes to the Hassio.
I was trying for few days to setup Hassio+Influxdb+Grafana.
The hardest thing was to configure and start Hassio+Influxdb. I was doing everything and according to the documentation but no success. I was also trying unofficial tips but the same result - everything was configured without errors but no data in Influxdb.
Then I installed Grafana and connected it to database created in Influxdb. And surprise - I have data to query and visualize in Influxdb’s dashboards. I started again to changing all configs and finally I managed to get Influxdb also working.

Long story short.
This is my configuration.yaml:

"
influxdb:
_host: localhost
_database: home_assistant
_username: homeassistant
_password: test
_max_retries: 3
_default_measurement: state
_include:
__entities:
___- sensor.coreos_cpu_used
___- sensor.coreos_cpu_temp
___- sensor.coreos_ram_free
___- sensor.coreos_cpu_load
___- sensor.coreos_disk_free
___- sensor.coreos_disk_used
___- sensor.coreos_disk_used_percent
___- sensor.coreos_ram_free
___- sensor.coreos_ram_used
___- sensor.coreos_ram_used_percent
___- sensor.coreos_swap_free
___- sensor.coreos_swap_used
___- sensor.coreos_swap_used_percent
___- sensor.coreos_thread
___- sensor.coreos_total
"

This is my Influxdb configuration:
"
{
“auth”: true,
“reporting”: false,
“ssl”: false,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“username”: “homeassistant”,
“password”: “test”,
“log_level”: “info”
}
"
Other things are configured inline with Hassio documentation:

  • database in Influxdb created: home_assistant
  • user in Influxdb created with ALL permission: homeassistant.

I also attached one screen as a proof :-).

I hope this will help someone.

Regards.

1 Like

Hello, Everybody., I try to get data from influxDB by python , using API communication.

But I still get
{
“error”: “authorization failed”
}

Could u help me ?

Python%20code

:tada: Release v3.4.0

Full Changelog

This is a general maintenance release, and add support for allowing tuning of InfluxDB by passing in configuration environment variables via the add-on configuration.

:hammer: Changes

  • :arrow_up: Upgrades Chronograf to 1.7.15
  • :books: Fixes typo (#54)
  • :hammer: Add environment variable support for InfluxDB (#52)
  • :arrow_up: Upgrades add-on base image to v4.0.1
  • :arrow_up: Upgrades InfluxDB to v1.7.9

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck