Read the statement by Michael Teeuw here.
MMM-GrafanaChart doesn't display my Grafana Dashboard
-
Hello
I would like to embed a Grafana Dashboard in my Magic Mirror with the module : MMM-GrafanaChart.
So I have installed the MMM-GrafanaChart module.
I have changed the settings in the grafana.ini as specified :[auth.anonymous]
enable anonymous access
enabled = true
specify role for unauthenticated users
org_role = Viewer
[security]
allow_embedding = trueMy config.js file for this module is simply:
modules: [
{
module: ‘MMM-GrafanaChart’,
position: ‘top_right’, // This can be any of the regions.
config: {
url: “https://localhost:5000/…”, // see below on how to get the URL from Grafana
width: “100%”, // Optional. Default: 100%
height: “100%”, // Optional. Default: 100%
scrolling: “no”, // Optional. Default: no
refreshInterval: 900 //Optional. Default: 900 = 1/4 hour
}
},
]I have put the Link URL that I found in the Share menu of the Dashboard in url:
Unfortunately on the Magic Mirror I only get a “Welcome to Grafana” window asking for login,and can’t go further, when entering login/password ?
How could I have access and display my dashboard directly without this login from Grafana ?
Thank you very much in advance for your help.
-
I also did not get that to work, so i use
“MMM-iFrameReload”
That works without issuesLooks like this
{ disabled: false, module: 'MMM-iFrameReload', position: 'top_left', //header: 'Graph', config: { url: "http://YourIP:3000/d/99SonoTEST/overview?orgId=1&kiosk", width: "365px", // Optional. Default: 400px height: "320px", // Optional. Default: 800px refreshInterval: 300, //300= 5min . Default: 3600 = 1 hour } }, -
@alphanet
Hi, you can use my MMM-EmbedURL module for this job.
I wrote a tutorial of how to do it. -
Thank you very much for your help barnosh and wishmaster.
I have tried MMM-iFrameReload and MMM-EmbedURL, but still cannot display my Grafana dashboard in the MM.
The modules work very well but not with my Grafana dashboard link ?
I have to try again and find the reason of this issue.
Gratefully yours.
alphanet
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login