Community Hass.io Add-on: Grafana

hassio-addon
hassio-repository
Tags: #<Tag:0x00007f47febf19e8> #<Tag:0x00007f47febf1858>

#1

This add-on is provided by the Community Hass.io Add-ons project.

GitHub Release GitLab CI Project Stage Project Maintenance

Supports armhf Architecture Supports aarch64 Architecture Supports amd64 Architecture Supports i386 Architecture

About


The open platform for beautiful analytics and monitoring.

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards. Learn about your Home Automation system using sexy and compelling graphs, and other data visualizations.

Combine this add-on with the InfluxDB add-on to get insanely powerful insights to your home.

Installation


The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.

  1. Add our Hass.io add-ons repository to your Hass.io instance.
    Add the following URL: https://github.com/hassio-addons/repository
  2. Install the “Grafana” add-on.
  3. Start the “Grafana” add-on.
  4. Check the logs of the “Grafana” to see if everything went well.
  5. Open the Web UI and log in with: admin / hassio.
    Be sure to change the logins, once logged in.

Support


You can always get support here at the Home Assistant community forums, join the conversation!

You have several options to get them answered:

You could also open an issue on GitHub, in case you ran into a bug, or maybe you have an idea on improving the addon:

We will do our best to help you out!

Repository on GitHub


Looking for more add-ons?


The primary goal of our add-ons project is to provide you (as an Hassio / Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.

Check out some of our other add-ons in our Community Hass.io Add-ons project.


PhantomJS on Hass.io
#2

About the author of this add-on

Hi there!

I am Franck Nijhof, and I have 30 years of programming experience, in many languages. I am using this experience to work on the Home Assistant project by giving back my knowledge and time to the open source community.

The add-on you are currently looking at right now was developed/packaged by me. It is not the only add-on I have created; there are many many more :wink:

However, I have a problem… I am an addict. A :coffee: addict that is. Lucky for you, I turn that C8H10N4O2 (caffeine molecule) into code (and add-ons)!

If you want to show your appreciation, consider buying me a cup of high octane wakey juice by clicking on the “By me a coffee” image below! :heart:

Buy me a coffee

Or, become a Patron and support my work!

Support my work on Patreon

Enjoy your add-on, while I enjoy the brain juice. :coffee:

Thanks for all the :two_hearts:

…/Frenck

Join our Discord server Follow me on Twitter Flollow me on Instragram Follow me on GitHub Follow me on YouTube Follow me on Twitch patreon-icon

P.S.: In case you want to ask me a question: AMA (Ask Me Anything). Most of the time I am online at the Discord chat. (I go by @Frenck in there as well).


#3

Great work again!
After installing the InfluxDB addon yesterday I was already thinking of a Grafana addon and now it’s already there :slight_smile:


#4

Thank you! Releasing the Grafana add-on before the InfluxDB would not have made sense :wink:


#5

Thanks again @frenck, I was expecting this release. Nicely done :handshake:


#6

@Frenk , is it possible to install other grafana plugins like Plotlyby , or they have to be included in the addon ?,


#7

Yep, see addon documentation


#8

found it , i thought that procedure worked only for the listed plugins, but it works for any . Thankyou


#9

How do I set it up without InfluxDB?


#10

Why in earth would you do that?

But yes, you can simply install it, there is no requirement for InfluxDB.


#11

:tada: Release v0.2.0

Full Changelog

Changed

  • Upgrades Ubuntu base image to 2.0.0
  • Upgrades libfontconfig1 to 2.12.6-0ubuntu2
  • Updates memcached to 1.5.6-0ubuntu1
  • Links and changes to reflect the InfluxDB docs (#3) (@ferazambuja)
  • Rewrites GitLab CI
  • Removed i386 (from GitLab CI)

#12

I’m sorry, I’m totally newbie on grafana… I don’t know what are the credentials for login, tried with admin:admin and other standard combinations, but no luck…


#13

Reading the installation instructions might help I guess…


#14

I have successfully setup grafana with the influxdb. All works fine. I have created a temperature graph for example. Now I wanted to create a variable with a list of possible temperatur sensors and link them to the query. So I need something like a “select distinct entity_id from …” as variable and then in the query itself a where entity_id = ‘variable_name’. But I am already struggeling getting a list of entity_ids into the variable. Any idea?
Regards


#15

How to update te plugins?


#16

Updating plugins, restarting the add-on should be enough. Since plugins are downloaded on add-on start.


#17

@frenck … yes but … how to “updating plugins”? just restarted the add-ons, the HASS.io and even the whole server… but plugin are not updated. :thinking:


#18

In that case, there are no new plugins update available for this specific setup?
The add-on has NO plugins installed within Grafana. If you add them using the configuration, they will be downloaded on boot time. It will always download the latest available version using the official Grafana tools.


#19

Maybe (for sure) I was not very clear on my previous psot… I’m sorry, but I can’t understand…

This is my Grafana Home:

86

… and this is my add-on config on HASS.io:

{
  "log_level": "info",
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "plugins": [
    "natel-discrete-panel",
    "mtanda-histogram-panel",
    "blackmirror1-singlestat-math-panel",
    "fetzerch-sunandmoon-datasource"
  ]
}

It seems that the Singlestat Math need to be updated… but I was unable to do it!


#20

:tada: Release v0.3.0

Full Changelog

Added

  • Adds support for setting custom environment variables (#5)

Changed

  • Upgrades Grafana to 5.2.2