Grafana not showing in HABpanel - error in dev console


(Crispin) #1

Folks,

I have HABpanel working well on the RPi.
I have Grafana installed and working well in a freenas jail.

Both work well without any problems. However, when trying to show grafana in HABpanel frame I get errors in the console.

The panel keeps refrshing but ultimately stays blank.

Options?

thanks
C


(Crispin) #2

no one? :frowning_face:

Does anyone run Grafana separate to their OH RPi?

C


(martijn) #3

I do :grinning:

I added a frame in habpanel and inserted this url:
http://192.168.1.10:3003/dashboard/db/openhab-dashboard?panelId=7&fullscreen

had to tweak the config of grafana to disable the logon for these panels.


(Crispin) #4

Nudda. Yours is the same as mine…
I’ve got http://10.10.50.116/dashboard-solo/db/shed?orgId=1&panelId=3&fullscreen to no avail.

I can open that exact url in incognito browser and it’s fine.

Really frustrating me. No cool graphs :frowning:


(martijn) #5

make sure the url is working in a frame. you can test it with a html file.
As this works, so does habpanel.

<html>
<frameset>
  <frame src="http://10.10.50.116/dashboard-solo/db/shed?orgId=1&panelId=3&fullscreen">
</frameset>
</html>


(Yannick Schaus) #6

Did you try this (first google search result):


(Crispin) #7

yup, tried all those :frowning:

In the frame I get the same thing - it flickers, sometimes it manages to render the title before reload.
I’ve tried this with and without cookies and in chrome, FF, Edge and IE. :slight_smile:

None of them work.