Home Assistant Community Add-on: Grafana

Same question here. It is recommended in the documentation to change this default password but I am unable to do so. Get the same message described above. Does this need to be changed via ENV variable? @frenck

@petewill @stephack
I have the same issue being unable to change the default password, getting exact same error message.
Have you managed to change the password?

Nope. Unfortunately not.

:tada: Release v4.2.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Grafana to v6.7.1

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

@frenck - you may be aware of this docker solution to rendering images from Grafana on ARM devices. Is this a possible solution for the add-on? https://github.com/grafana/grafana-image-renderer/blob/6ac82cf90509b89f12e7bc7100593784d3c9b741/docs/remote_rendering_using_docker.md I might have misunderstood the problem though.

@petewill @stephack @dknt

Regarding changing admin password from default. I opened a issue for this:

FYI, I found a workaround… I was able to manually change password via the following, but I’m not sure the change will survive a container update, but it does survive a container restart.

From hass terminal run:

# Get into grafana docker container
docker exec -it $(docker ps | grep grafana | awk '{print $1}') /bin/bash
# Run set password command
grafana-cli admin reset-admin-password mynewpassword
2 Likes

Hi, i have a hassio working throught virtualbox.
I’m trying to install a grafana plugin that is not listed in the official plugin page.
This one:

https://github.com/gipong/grafana-groupedbarchart-panel

How can i get it installed? Thanks

Hi, can i setup an existing grafana page on my hassio? And if it could how you do this?

I’m using grafana-clock-panel as a plugin. When i try to change background color for the plugin nothing happens, it just stays grey. Anyone have a solution for this?

HI all, I have issue installing influxdb+grafana on my HA using community addon.

I added without issues influxdb and chosen 8089 as InfluxDB server port (8086 is used by another service).

This is the settings in HA:

influxdb:

host: a0d7b954-influxdb

port: 8089

database: homeassistant

username: homeassistant

password: xxxxxxxxx

max_retries: 3

default_measurement: state

Then installed and started grafana and tried to configure DB using this url:

http://a0d7b954-influxdb:8086 (tried to use 8089 as in configuration but I received an error: “Network Error: Bad Gateway(502)”

Now containers are connected but I think something is still wrong.

I tried to add a first sensor (energy consumption) but no data is shown.

Can someone please help me?

Hello,
I also have a couple of 3rd party custom plugins to install. I do know how to install “official” plugins, but customs not sure how. Did you manage to find it out?

I am afraid not…

It’s possible to have a black background? in Dark theme is not black, i want to use with my black theme in home assistant.
Thanks

Getting this after the update to version 5.0

image

It’s because of:


In Supervisor > Grafana > Configuration add to env_vars:

env_vars:
  - name: GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS
    value: 'true'

And restart the add-on as suggested by HassIO.

Updated to 5.1 which seems to have fixed it. Thanks.

Is there a place for general Grafana help? I found InfluxDB easy and intuitive to write queries in, where Grafana seems like a giant mess. Influx autopopulates HA entities and their attributes, where Grafana doesn’t seem to be able to even find the data I have loaded in Influx.

Are there guides on the best ways to implement Grafana graphs for Lovelace? I’m surprised there isn’t a custom Lovelace cards in HACS for it yet. The only thing I was able to make work was a Webpage Card and it’s absolutely terrible.

Did anyone of you got that grafana_image-renderer to work? And if so, can you tell me how?

The Grafana image renderer is built in and works out of the box.
Please note, that the image renderer by Grafana only supports the amd64 architecture. So if you are running on, for example, a Raspberry Pi, you can’t use it.

1 Like

Frenck, what is the recipe for your Total Home Power Usage graph above? I’m only able to chart the ever increasing line from my utlity_meter sensor.