Making gauges available from an external network
-
Hi All,
When i was experimenting with the gauges, it became clear that all worked like a charm on devices inside my local network however once i connected to an external network my gauges were "empty", the dashboard builds, however the gauges stayed "empty" nothing was shown.
I fixed this by adding 1 extra line describing the external gateway IP address to utilities --> additionalheaders
Script files
https://local-mycontroller-IP:8443/mylib/gauge.min.js
https://external-gateway-IP:8443/mylib/gauge.min.jsIn my setup i forward all external traffic coming in on port 8443 to the address of my Mycontroller system.
Now all gauges are visible from anywhere in the world (please make sure you change the external-gateway-IP once it changes on your router connected to the internet)
Tag