Getting an issue with using Grafana graphs in iframes in lovelace after the last release.
The legend is showing, but getting the following error message.
The iFrame works when pointing to the “link” adress instead of the “embed” adress as I was doing before, But that does not give the result I am looking for.
/edit
The same behavior in Firefox browser. MS Edge browser does display a graph but scaled incorrectly.
/edit2
A (hopefully temporarily) workaround for this: use the Grafana ‘Direct link rendered image’ option found in the Link tab on the Share Panel.
This basically creates a link to a rendered picture of the panel you want by adding ‘render/’ in the url. You can configure the numbers in the ‘&width=1000&height=500’ part of the url to suit your needs.
Of course you will need to remove the ‘&from=1544223600000&to=1544275759966’ part from the url to have it display the time frame you have set for the panel (it will refresh).
You loose the dynamic scalability of the panels though.
UPDATE 1.2.1 FIXED IT Thank you
In the latest update it looks like the iframe content is loaded while the iframe itself is set to invisible and report his height to 0 and that generate the issue on my attached image.
Thanks Frenck!
This update fixed my ‘Invalid dimensions for plot’ error as well. Graphs using the iframe share link are displayed as they did before update v1.2.0.
I’m not sure if it’s a good place to ask but…
I use Hass.io with RPi3 & Grafana addon. I have separate RPi2 with MQTT broker & MySQL server [I use it for few things and also for HA recorder/history] and I use the MySQL HA recorder’s database as source for Grafana.
made a chart for my daily water usage - whenever my meter is working [water is flowing] an ESP with tasmota installed, publishes the meter’s readings via MQTT. then, I am comparing it with yesterday ones and have “today’s, current usage” as the outcome and the recorder puts this everytime to the database. so I have this in chart’s config:
FROM states
Time column last_changed
Metric column none
SELECT
Column: state
Aggregate: avg
Alias: water daily
WHERE
Macro: $__timeFilter
Expr: entity_id = 'input_number.water_today'
GROUP BY time(1h, none)
Format as Time series
one that bothers me is the line “Aggregate”. knowing that during the day, every next readout of input_number.water_today is bigger than last one and it shows current daily usage summed up, I want my chart to use the maximum daily value of this sensor. unfortunately, when I choose “Agregate: MAX” then the chart is empty. “avg” option is mostly useable - the chart looks more logical, but values are not making any sense, because it averages every readout during the day, so it isn’t showing the real consumption.
is there anything I did wrong with above configuration, or “it’s not a bug, it’s a feature”?
i found linuxserver/letsencrypt for my raspberrypi which was lsioarmhf/letsencrypt.
i did with the process mentioned.
i find my folders created by docker but under /home/user/ltetsencrypt/etc/letsencrypt i dont find any ssl certs.
where are the certs located created by letsencrypt
pleaes guide
Hello. Good work on all the add-ons. I recently moved to Ubuntu from a pi and the Grafana plugin tells me it is not available for my system? Is there a way to tell the reason? I’m sure I missed something mentioned somewhere but I can’t find where. I am running hass.io in a docker container on Ubuntu 16.04.
Hardware:
Linux core-ssh 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:49:15 UTC 2018 i686 Linux
I can’t make grafana to work from homeassistant outside my network without forwarding port on my router.
Please can some body guide,
I have installed hassio with docker on raspbian strech lite.
I want grafana to run from homeassistant, without forwarding/opening port 3000 to internet, from anywhere.
Is it possible to get it working?
Please guide