[APP][Pro] Web Proxy - Remotely access local web pages in your Dashboards

Web Proxy

With this app, you can proxy web pages via Homey and show them in your Dashboards. All links to external resources that the page links to such as scripts, styles and images are also proxied.

Known issues

  • Meta refresh tags not working

Coming soon

  • Custom height instead of the fixed one.

If you experience any other issues, please let me know!

1 Like

I just discovered that there is also an issue when loading an image directly via the URL. I think I should make a separate widget or app for that, since the Web Proxy is only for HTML pages

Maybe you can add a little description what proxy means or does, Sven?

Version 1.0.1

  • Added href interception

The Web Proxy widget is similar to the default Homey Webframe widget, because they both display a custom web page. Homey’s Webframe widget is loading the page, including all resources it requires (images, stylesheets, scripts) from your mobile device. However, this does not work if you want to use a webserver on your local network in your Dashboards, since it doesn’t work if you’re away from home.

The Web Proxy widget solves this by sending all web requests through your Homey. It works like this:

The web requests include the HTML page itself, and its resources (images, stylesheets, scripts, etc.)

The Web Proxy app doesn’t only proxy requests, it also modifies the HTML page to inject the resources that are included (images, stylesheets, scripts, etc.)

1 Like

Thanks!

I will try to fix the issue with meta refresh tags today

Ok, streaming camera on http://192.168.200.117:8081 (YAW IP CAM) does not work

I see a WW.Y and nothing more, rest falls out of screen (to large) looks like the YAW “no stream” / “Offline” page…

HTTP image doesn’t work either… i get a 404

http://192.168.200.117:8888/out.jpg

If the camera webpage uses a live stream, it probably won’t work. I did publish a new test version, there was an issue with loading resources from the page.

Can you test again with the new version?

Version 1.0.2

  • Added meta refresh tag support
  • Fixed an issue where in some cases page resources weren’t loaded via the proxy

Ok.

streaming camera on http://192.168.200.117:8081 still does not work.

HTTP image still doesn’t work either… 404

http://192.168.200.117:8888/out.jpg

…but, if I change the url to :

http://192.168.200.117:8888/update.html

it works, html is just a file with though…

It works from outside the network too..

Version 1.0.3

  • Added feature to proxy stylesheet url() references

Can you create a file on your webserver?

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="5;" />
</head>
<body>
<img src="http://192.168.200.117:8888/out.jpg">
</body>
</html>

If you use this, it should work. It wouldn’t be realtime, but every 5 seconds.

Finally got the fetch interception working!

As you can see, this is my Pi-Hole dashboard. It works from the mobile network, and it also refreshes the stats automatically (built in to the Pi-Hole dashboard).

It does take about 30-60 seconds to fully load, but is fully functional afterwards.

Version 1.0.4

  • Added fetch interception

Version 1.0.5

  • Added community forum topic ID to the app manifest

Thats about the same as the update.html, it points to the out.jpg

I see the img scr code dropped from my previous message..

Version 1.0.6

  • Update description

Displaying a Node-red page doesnot work. Says the page is empty.

This is how it is in the Homey webframe widget:

1 Like

Does that use WebSockets for realtime communication? That’s currently not supported by my app, I hope to add it in a future release but I’m not sure if it’s possible

1 Like