outadoc / home-slide-android

Access your Home Assistant devices quickly from anywhere on your Android device
https://homeslide.app
Apache License 2.0
54 stars 8 forks source link

A public DNS URL is replaced by the internal IP #402

Open Fmstrat opened 3 years ago

Fmstrat commented 3 years ago

Describe the bug When first setting up, use a public hostname like https://this.points.to.my.site:1111. Then after setup, go in to edit the URL, and you will see it has been replaced by http://192.x.x.x:port.

To Reproduce Steps to reproduce the behavior:

  1. Set up with https://this.points.to.my.site:1111
  2. Goto settings and see that it's changed to http://192.x.x.x:port

Expected behavior It remains https://this.points.to.my.site:1111. Yes, there is a public URL option, but if I want to use a valid SSL cert at all times, this does not function.

Smartphone (please complete the following information):

outadoc commented 3 years ago

In the latest versions, the app automatically uses the instance URLs set up in your Home Assistant settings. You can always change them in Home Slide's settings: for example if you always want to use your https URL, you can remove the other one, and it should work.