# How to get Grafana graphs correctly in BasicUI Sitemap

**URL:** <https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878>\
**Category:** Items & Sitemaps\
**Created:** [May 15, 2020, 9:06pm UTC](https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878 "2020-05-15T21:06:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![knaxman](https://community.openhab.org/letter_avatar_proxy/v4/letter/k/d07c76/32.png) [@knaxman](https://community.openhab.org/u/knaxman)\
**Post date:** [May 15, 2020, 9:06pm UTC](https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878/1 "2020-05-15T21:06:03Z")

</div>

Hi,

I want to integrate my grafana charts in my sitemap and have still 2 remeining issues:

1. The chart / dashboard show always the complete grafana webpage - I want just to have the plain chart, ist there any possibility for that?

2. On my iOS devices the chart / dashboard is not visible while on Windows and Android devices it is visible

enclosed my sitemap part:

```csv
Webview icon=weather url="http://192.168.178.202:3000/d/8IW_5xzgk/testdashboad?orgId=1&from=now-24h&tab=legend&refresh=5s\" width=\"450\" height=\"300\" frameborder=\"0\"" height=14

```

 ![GrafanaWebview](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/d/5/d5d3ffafdd6aacd0c82f392dffd3496315398ee4.jpeg)

---

<div class="post-metadata">

**Author:** ![rossgb](https://community.openhab.org/user_avatar/community.openhab.org/rossgb/32/74856_2.png) [@rossgb](https://community.openhab.org/u/rossgb)\
**Post date:** [May 16, 2020, 2:58am UTC](https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878/2 "2020-05-16T02:58:28Z")

</div>

I cannot help you with your iOS problem but here is how to embed just the chart:

 ![Step1](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/5/b5ae10bfdad32f978454eb510bc0b389d18c690d.png)

 ![Step2](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/e/3/e38368042fdad875242d7d57de456504bc8877cc.png)

 ![Step3](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/3/a331e92f8bbac6bd111e9ba81653b8c2e7db11d6.png)

 ![Step4](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/5/2/52b7e1fee752fba5cc980b23fc3cdde74d976079.png)

This URL will be for a fixed time range (a “snapshot” of what you are currently looking at) if you left “Current time range” on or the default time range if you turned off “Current time range”.  
You will probably want to change/set the URL parameters for `from`, `to` and `refresh` so it shows exactly what you want.

The documentation for what you can set these parameters to is here:

> **[Use dashboards | Grafana documentation](https://grafana.com/docs/grafana/latest/visualizations/dashboards/use-dashboards/)**
>
> Learn about the features of a Grafana dashboard

e.g. If you want to match what you currently have you would use: `&from=now-24h&to=now&refresh=5s`

You then put this URL into your sitemap as you did before:

```auto
Webview icon=temperature url="http://192.168.1.2:3000/d-solo/QN7iK0gMz/example-dashboard?orgId=1&panelId=2&from=now-1d&to=now&refresh=1m" height=10

```

---

<div class="post-metadata">

**Author:** ![Peter\_van\_hanegem](https://community.openhab.org/user_avatar/community.openhab.org/peter_van_hanegem/32/43503_2.png) [@Peter\_van\_hanegem](https://community.openhab.org/u/Peter_van_hanegem)\
**Post date:** [September 15, 2020, 5:23am UTC](https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878/3 "2020-09-15T05:23:29Z")

</div>

I followed you instructions and get:  
192.168.1.2 refused your connection

i already change the value in the grafana.ini imbedded allowed to true

---

<div class="post-metadata">

**Author:** ![mkhaled](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@mkhaled](https://community.openhab.org/u/mkhaled)\
**Post date:** [July 7, 2021, 9:43pm UTC](https://community.openhab.org/t/how-to-get-grafana-graphs-correctly-in-basicui-sitemap/98878/4 "2021-07-07T21:43:13Z")

</div>

Hi Peter,  
Were you able to solve this? I am having the exact same problem.

“ip address” refused to connect

enable anonymous access and allow\_embedding both set to true

Please help!
