Read the statement by Michael Teeuw here.
grafana module for bar graphs display.
-
I have the graphics ready on the graphana and everything is working.
In fact, I am in a tireless quest to display my HA data in MM. And I found the module HA> graphana> MM. But it is abandoned.
-
Ok, I cloned the module, set up a grafana and tried it out.
The console error shows:
Refused to display 'https://myname.grafana.net/login' in a frame because it set 'X-Frame-Options' to 'deny'.
Searching for that on Google brought me to the Grafana website:
Embedding Grafana
If you’re embedding Grafana in a frame, iframe, embed or object on a different website it will no longer work due to a new setting that per default instructs the browser to not allow Grafana to be embedded.
There are two topics on that: https://github.com/grafana/grafana/issues/17458, https://github.com/grafana/grafana/issues/15714
Without any further investigation it seems like there are some settings that need to be done when you’re hosting grafana? So maybe it’s not possible to get to these settings on the free hosted versions?
There are two other issues:
If using the free hosted version there’s something about an API key. That might be an issue as well?
And the module config is not asking for the entire grafana URL but wants several parts of the URL, but the actual grafana URL seems to be different to what the module is making out of these parts.Sorry, at the moment I can’t look any further into this, maybe someone else is interested in grafana and comes up with a solution.
-
@doubleT Im on the same boat;
i can display the grafana playlist on every single device on same subnet (TV, mobile, PC, laptop) except the mirror (hosted on a pi). so i guess there’s something with electron cause it works on other devices as i said…
here part of grafana.ini config file involving security.[security] allow_embedding=true cookie_samesite=none
here dev console logs
Load denied by X-Frame-Options: http://192.168.x.x:3000/playlists/play/1?kiosk does not permit framing.
tried to show the playlist with MMM-iFrame, MMM-SmartWebdisplay & MMM-Widget with same results.
btw: grafana hosted on another pi inside a docker container…just leave it here with hope some of the expets here can throw some suggestion. -
maybe that will help you.
-
@Piranha1605 Thanks tried that already, it trows:
‘The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.’