Those logs look fine btw! That connection error is expected, Chronograf is starting and connecting to InfluxDB, which is not ready at that time yet… I will just keep retrying until it does. (which it does, since You’ve been able to access the interface).
It seems like Home Assistant has issues connecting. Is there anything visible in the Home Assistant logs?
Hmm the only two lines with influxdb seem to point to an authorization issue:
2018-06-23 23:56:44 ERROR (SyncWorker_11) [homeassistant.components.influxdb] Database host is not accessible due to '401: {“error”:“authorization failed”}
2018-06-23 23:56:44 ERROR (MainThread) [homeassistant.setup] Setup failed for influxdb: Component failed to initialize.
@atomicpapa That is uncanny. I triple checked the login/pw last night (it wasn’t a complicated pw to begin with but I simplified it even further). For sanity I’m going to revert it back to what it was and see if I’m just mentally programmed to typo that particular password.
Hi Frenk,
In the end, I have setup a docker container with Telegraf. It supplies mostly the same information as Collectd, allows to have a config file at the host system and comunicates gracefully with the Influxdb instance of your plugin. https://hub.docker.com/_/telegraf/
Is it possible to install this on a different device that isn’t running my main hass.io? I have a spare RPi and would like to use this with Grafana installed on it to free up resources on my main Pi. Can we point to hass.io or does it need to be installed on the same device?
The add-on has been running perfectly since its intial release, and is now STABLE!!!
We’ve updated InfluxDB and all the tools to the latest and greatest. This release adds password checks against the HaveIBeenPwned password database and now supports the use of your Home Assistant secrets file!
So you can now use !secret influxdb_password as your password and the add-on will fetch the actual password from your secrets file.
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: connect: connection refused
Please check your connection settings and ensure ‘influxd’ is running.
Hi,
how can I export my metrics from influxdb running on hass.io? I want to migrate from pi to nuc and would like to take my data. How to access the influx cli?
thanks for feedback. I’m able to connect to remote host (rpi). I’ve checked some influxdb docs, there seems no export function. Anybody knows a way to export the data?