I want to display a grafana dashboard on an android tablet in the LAN
I manged to get the grafana dashboard displayed in a HA website cart by manually constructing the Ingress URL and added it into the HA website cart. I did not find a way to simply configure it.
I would have expected got get a screen asking for my credentials (username/pwd), but the connections simply gets rejected.
What can I do?
Best regards
Manfred
11.08.2026 Problem solved!
The problem was, that I had to STOP the Grafana app in Home Assistant->Apps->Grafana before entering port “3000” in the Network section to expose it to the outside! Then start the app again and I immediately could access Grafana via “192.168.xxx.xxx:3000” with my credentials.
Before I also disabled SSL, not sure whether I should enable it again…
Before I did not STOP Grafana and added 3000 resulting in an automatic restart which never was successful, thus Grafana was stopped…
The key distinction is between Home Assistant Ingress and direct access to Grafana.
Your /api/hassio_ingress/... URL is a Home Assistant Ingress URL. Ingress provides access to the app’s web interface through Home Assistant, with authentication handled by Home Assistant.
http://192.168.x.x:3000 is a separate direct access path. It will only work if Grafana’s HTTP port is exposed on the Home Assistant host.
Therefore, check whether your installed Grafana app provides a host port mapping for its HTTP port. If it does, configure the mapping and access Grafana from the tablet using →
http://<HA-IP>:<mapped-port>
If no host port mapping is available, use the Grafana Ingress URL through Home Assistant.
I think the problem is, that I do not know how to check whether my installed Grafana app provides a host port mapping for its HTTP port and if not, how to configure it.
Following advices I found I entered “3000” in the Network section in the Grafana apps configuration in the setup → apps->grafana section of home assistant.
In the Network section I only can chose “show disabled network ports”. If I enable this a space appears saying “configure the network port that his app is using”. When I enter “3000” the result is, that Grafana does not start anymore … thus I removed it again and disabled “show disabled network ports” again. Then Grafana starts again, but I still cannot access it directly.
The Grafana settings look like http.port is 3000 without me doing anything, but the port seems not to be exposed to the outside…
3000 is the correct port. Grafana listens on port 3000 inside the add on, but that port is not exposed to your LAN until you configure the port mapping in the add on’s Network section.
In your case, the important detail is to stop the Grafana add-on before changing the Network configuration →
Go to Settings → Apps → Grafana.
Stop Grafana.
Open Configuration → Network.
Enable Show disabled network ports.
Set the host port for Grafana’s HTTP port to 3000.
Save the configuration.
Start Grafana again.
You can then access Grafana from the Android tablet using:
http://<Home-Assistant-IP>:3000
For example:
http://192.168.1.100:3000
You should then get the normal Grafana login page.
You don’t need the /api/hassio_ingress/... URL for direct LAN access.
The important distinction is →
Grafana http.port = 3000 → Grafana’s internal listening port
Home Assistant Network host port 3000 → exposes that port on the Home Assistant host
Since you found that adding the port while Grafana was running caused the add on to fail to restart, stopping it first and then adding the port mapping is the correct sequence for your setup.
Now I have the follow up problem, that I cann access grafana directly, but it is telling me “no data”. Might be I give up now, as first investigations directed me to access right problems grafana → InfluxDB (which is also running as an add on to HA).
… If not, I’ll rais another topic.
Glad the port mapping worked! The “No data” issue is a separate problem and is now about the Grafana → InfluxDB data source/query, rather than the tablet/network access.
First check Grafana → Connections → Data sources → InfluxDB:
Check the InfluxDB URL
If Grafana is using localhost, that is likely the problem, because localhost from Grafana refers to the Grafana container itself, not the InfluxDB container.
If InfluxDB’s port is exposed on the Home Assistant host, you can use →
http://<HA-IP>:8086
For example:
http://192.168.1.100:8086
You can also use the appropriate internal InfluxDB hostname if your Home Assistant setup provides one; the exact hostname depends on the installed add-on/container configuration.
Check the authentication/query settings
Make sure the Grafana data source matches the actual InfluxDB version and configuration you’re running. For InfluxDB 2.x this normally means the correct query language, Organization, Bucket and Token. Don’t use the 2.x settings if your server is actually using the InfluxDB 1.x API.
Click “Save & Test”
This is the most useful next step. If it fails, Grafana should give a specific error such as connection refused, authentication failure, or an incorrect bucket, organization, or other datasource setting.
If Save & Test succeeds but the dashboard still shows “No data”, then the connection itself is working and the next things to check are the dashboard query, measurement/bucket, and selected time range.
>>> If I put the URL into the browser, it says “404 page not found”.
Check the authentication/query settings
>>> I am using InfluxDB 5.0.2 (as plugin to HA) and Grafana 12.1.0 (as plugin to HA)
>>> I am using InfluxDB Query language
>>> For Authentication I am using “With Credentials” with a special user set up in InfluxDB, that is used whilst querrying from Grafana with this User name and pwd.
Click “Save & Test”
>>> When doing it from within HA, that succeeds and I also can see the dashboards
>>> When doing it being logged in via 192.168.xx.xx:3000 it says:
“origin not allowed”
Have been following Google KI’s suggestions for around 3-4 hours, as they were failing most of the time and Google KI kept on suggesting changes.
Final solution was:
1. Change URL to Ingress in Grafana connection settings to HA internal address, in my case: http://a0d7b954-influxdb:8086
Remark: I think, that did not cause the solution, but at least it did not make anything break
Setting env_vars in HA->settings->apps->Grafana->settings
env_vars:
name: GF_SECURITY_ALLOW_EMBEDDING
value: true
- name: GF_SECURITY_CSRF_TRUSTED_ORIGINS
value: 192.168.xxx.xx
name: GF_SECURITY_COOKIE_SECURE
value: false
apart from choosing the righ variables a huge challenge has been details of syntax:
- NOT use quotation marks for the valus in the HA UI (in YAML quotation marks are required)
- No “http://” and no “:3000” in the value of GF_SECURITY_CSRF_TRUSTED_ORIGINS