Home Assistant Community Add-on: Grafana

This add-on is provided by the Home Assistant Community Add-ons project.

GitHub Release GitLab CI Project Stage Project Maintenance

Supports armhf Architecture Supports armv7 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 into your home.

Installation


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

  1. Search for the ā€œGrafanaā€ add-on in the add-on store.
  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.

Note: As the addon now supports both Ingress and direct access, the default admin user has a password of hassio. Please ensure to change this.

Support


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

Questions? 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:

:information_source: At this moment our Home Assistant Community Add-ons Discord chat server and GitHub are our only official support channels. All others rely on community effort.

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 Home Assistant Community Add-ons project.

13 Likes

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 supporting me for buying a cup of high octane wakey juice via one of the platforms below! :heart:

Sponsor Frenck via GitHub Sponsors

Support Frenck 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).

1 Like

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:

1 Like

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

1 Like

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

1 Like

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

Yep, see addon documentation

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

1 Like

How do I set it up without InfluxDB?

Why in earth would you do that?

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

: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)

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ā€¦

Reading the installation instructions might help I guessā€¦

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

How to update te plugins?

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

@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:

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.

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!

:tada: Release v0.3.0

Full Changelog

Added

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

Changed

  • Upgrades Grafana to 5.2.2