HA internal "reverse proxy" card

I have a couple of pages that I would like to integrate as a card in my dashboards, for example TeslaMate, nagios etc.

The problem is these pages are internal. HA itself has access (via IP level ACLs and/or HTTP basic auth) but none of the clients that connect to it. So I can’t use the normal iframe (“Webpage card”). I am looking for a card/extension that does the HTTP requests directly from HA and displays the content in a card.

Does something like this exist?

Caddy can be used to add https for internal sites

Caddy modules can be used so ports don’t need to be opened in firewall. I’m setting this up for my internal sites

I purchase ($10usd) domain and caddy should auto request cert from letsencrypt

Sorry…this recommendation may be out of scope

EDIT
Maybe webpage card

Since it allow sites fro config-directory/www maybe just need create html there that pulls local resource

Yeah, I am running something similar already (nginx proxy manager) for certain stuff but some I really don’t want to expose at all to external. Within HA it would be fine for me.

Webpage card I tried already but since it request comes from client it doesn’t work.

Placing a webpage in config-directory/www doesn’t help too much because it’s just static html. I would need server side processing for this

You have to scrape it.

You mean basically running wget in a cron script or so and dumping as a static html?

That won’t work for any interactive things, sadly (such as TeslaMate, nagios)…

Nagios also looks like it support a REST API.

It should be usable with RESTful Sensor - Home Assistant

And Tesla also have an integration that might be used.

Thank you!! It still doesn’t completely solve what I am looking for but this is definitely useful: Scrape I didn’t know yet, this can definitely be useful!

Nagios REST API sounds very promising too!
Actually this just gave me the idea maybe going over MQTT. Is probably more lightweight than REST API calls (I have 200 services on nagios): Possibly I can just execute a “notification script” which publishes service status via MQTT. Just need a script to generate auto-discovery entries so I don’t have to replicate everything in HA

Teals Fleet: This one I am aware and use already the older Tesla integration.

However, TeslaMate is something different: It’s like “owntracks” but for Tesla … records everything into a database and it has a Grafana frontend that analyzes every detail about the drives. Ideally I’d just like to show these within the HA interface

Sounds like you can use a SQL sensor for that then.

Hello dydx,

Here are some HA internal Cards that I send to the side menu, if that’s what you want…
Custom panel - Home Assistant.

Thanks. Yeah, the problem with this is you are using URL 10.10.100.8 . But this is internal. When I open HA from the road I won’t be able to access those.

But I also don’t want to expose internal stuff directly to external.

So, I was looking for a card that works like a reverse proxy: Opening a HTTP request to the target server, directly from within HA and then displaying the content in a card.

Well I have Nabu-Casa, but if I turn off WIFI on my phone, I still get to all those links on the left…

This integration lets you access LAN services from wherever you can access HA. Some configuration required.

1 Like

Thanks @reef-actor ! This seems exactly like what I am looking for.

I have meanwhile found something similar too: GitHub - dermotduffy/hass-web-proxy-integration: Home Assistant Web Proxy