gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
225 stars 42 forks source link

FR: Auto switch between external address and internal address based on SSID #604

Open seanzhang98 opened 1 year ago

seanzhang98 commented 1 year ago

It would be great if the app support for auto switch between external address and internal address based on the Wi-Fi connected.

I don't know if you're familiar with Home Assistant or not, but the idea is able to set a external address when we are out (using the internet away from home) and a internal address (the ip address of octoprint such as 192.168.1.3) if we connected to a home Wi-Fi.

The reason for this is because sometimes it is pretty slow to access from the external address where we are using Wi-Fi, which we can access the printer much faster with an internal IP address.