Home Assistant Community Add-on: Grafana

I’ve never tried delving into the snapshots but it could be possible. I think it’s some sort of archive file, you may just need to rename and extract the snapshot in order to see it’s contents.

Yeah thanks, I’ve been inside snapshots plenty of times to restore a config file after making a pigs ear of some big or other! :slight_smile:

I just wondered if you knew the Grafana file structure and where I’d find the dashboards.

I’ll have a poke around and see what I can find.

DOH!

I found them…
I’d stored them in a different folder to the default :blush::blush::blush:

Well I did say I wasn’t a big Grafana user expert…

:tada: Release v3.0.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades add-on base image to v4.0.1
  • :arrow_up: Upgrades Grafana to v6.5.0

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.0.2

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades Grafana to v6.5.1

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

I have tried but unfortunately I’am not able to solve this problem.:confused:

Hi
Someone know how i add Grafana graph to HA dashbord ?
I want its real time update

You can’t.

Thanks your response :grinning:

Maybe next update

I will keep tune

Don’t think so, since it is not an add-on issues that makes it impossible at this point. So don’t get your hopes up for an add-on update.

:tada: Release v4.0.0

Full Changelog

Thanks to the great work of @sinclairpaul, this release re-instates direct access to the add-on, while maintaining and improving Hass.io Ingress as well! :tada: If you want to enable direct access, you can assign a port for it in the add-on network options.

Ingress got a nice improvement as well! It can now actually be a logged-in user, instead of an anonymous user with limited access.

By default, Ingress uses the user admin, if you have a different username you use already, and like to use it with Ingress, set it using the grafana_ingress_user option. See the add-on documentation for more information on this.

:hammer: Changes

  • :arrow_up: Upgrades Grafana to 6.5.2
  • :fireworks: Updates maintenance/license year to 2020
  • :pencil2: Fixes some spelling and grammar
  • :pencil2: Funding adjustments
  • :arrow_up: Upgrades add-on base image to v4.0.3
  • :pencil2: Fixes some spelling and grammar
  • :ambulance:Allow direct access to addon (#62)
  • :books: Adds ingress user option to config example

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

1 Like

Awesome work fixing the annoying 401 ingress thing. What do I need to configure?


Not clear to me, sadly.

Hi everyone! I’m trying to keep track of which of my sensors that are alive using Grafana, but I am having issues.

The timing of datapoint in the graphs (in blue below) do not match the panel (in red) supposed to state the “last seen” metric. The pink outline illustrates my point. Often the difference can be much larger than shown here, as the singlestat rarely passes 4 mins, while the graph can go almost an hour, just like the green graph above the yellow one.
A side note is that I have three such panel combos below each other, and the singlestats seem to be in sync with each other most of the time, even though the datapoints are not.

What am I doing wrong here?

You are using the mean(), but you probably meant to use the last() value.

if I try to connect to the external InfluxDB database, grafana ask me the login for the internal credential but if I put the right one it doesn’t work.

Thank you for replying! I tried switching all the singlestats to last() but I’m still seeing similar results. The time mentioned in the singlestat does not match my system time minus the one listed on the datapoint popup.
Additionally, all the singlestats still report the same value, even though they are quite different (the yellow linegraph is the temperature). So the two bottom ones should report ~10 mins and almost an hour…

Any ideas?

@frenck ,

Can you advise how to fix 401: Unauthorized on iFrame when haven’t logon into Grafana?

image

Below my current config.

aspect_ratio: 45%
type: iframe
url: >-
  https://<REDACTED>:8123/api/hassio_ingress/sMX6GB_rvDf2QdwDJ3pM7nn5iA0m2ovmD_YRzbUBTdo/d-solo/X5hmErYWk/speed-test?orgId=1&from=1578375981251&to=1578462381251&panelId=2&fullscreen

image

Thanks in advance

In order to access outside of ingress, you need to setup a port, e.g.:

image

Once done change your link to use 3000 rather than 8123 (if you use 3000), the uri is the same due to the fact that it is configured in Grafana itself.

I should also add, I believe when I tested accessing via an API token works as well, rather than having to enable anonymous, but any feedback is welcome, I don’t really use Grafana myself :slight_smile:

1 Like

That did the trick. Way too obvious :sweat_smile:
Thank you!

When I changed the value to distinct() all issues where sorted out!