Grafana values are not reported correctly to the dashboard

I have the following question:
In Grafana itself, my data is correct - see here:


However, my dashboard looks like this:

The refresh interval in Grafana is set to 1 minute. So all the records are correct in Grafana. Only in the dashboard it doesn’t update and I don’t understand why.
Is integrated via the embedded link:

<iframe
    src="http://192.168.178.24:3000/d-solo/-KdPH7PVk/health-daten?orgId=1&to=1684280070769&panelId=29"
    width="100%" height="100%" frameborder="0"></iframe>

Can someone tell me what it could be?

It would be great if someone could help me here.

Sorry that I use Google translate, but unfortunately my English isn't that good anymore.

When you use embedded link you don't have the tool bar to select time range etc, so you should provide this in the link.

You need to make your link more "dynamic" and supply from and to dates etc rather than fixed
values. Also add &refresh=1m

I use a function to build a "dynamic link" then pass it to the iframe eg

msg.payload = "http://192.168.1.254:3000/d-solo/YqIZzjHVz/meters?orgId=1" +
    "&refresh=1m" +
    "&theme=dark" +
    "&from=" + fromdate +
    "&to=" + enddate +
    "&panelId=" + panelId

Or using JavaScript Template Literals

msg.payload = `http://192.168.1.254:3000/d-solo/YqIZzjHVz/meters?orgId=1
               &refresh=1m
               &theme=dark 
               &from= ${fromdate}
               &to= ${enddate}
               &panelId= ${panelId}`

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.