kjell5317 / addon-ngrok

Free ngrok tunnel to your Home Assistant instance with automatically updating freenom domain.
MIT License
1 stars 3 forks source link

Home Assistant Companion (Android, iOS app) #1

Open Ondrashek opened 2 years ago

Ondrashek commented 2 years ago

Hi,

You did a great job with this plugin, but currently tunnel with freenom domain cannot be used with android, ios app (companion) because you cannot entry freenom domain. Works great with ngrok url but not with freenom domain.

URL what phone app want is: http:// or https://homeassistant.myhome.com

I love your idea with domain instead of ngrok hard url. :-)

Thanks!

kjell5317 commented 2 years ago

Hi,

I have the same issue and didn't find a solution yet. Freenom URL forwarding forwards your domain and all subdomains, so you're reaching your instance through http://homeassistant.tk as well as through http://test.homeassistant.tk, but changing the external URL in the app doesn't solve the problem because the companion app doesn't like cloaking (the URL forwarding) and that's why can't display the webpage in-app. I'm also looking for a way to fix this.

Ondrashek commented 2 years ago

Hi,

Thanks for response. Hope you will solve this (maybe with developer itself?).

Can you remove require fields for domain to don't use it? Freenom domain registration is difficult, because if you fill domain name as ondrashek and you want to choose domain as .tk you get Not available message. You need to fill domain name as ondrashek.tk to register a new domain.

kjell5317 commented 2 years ago

I'm not working on the Home Assistant app or am having any relations with the relevant developers, but feel free to open a new issue on their repository. Also I cannot remove the domain field because I'm using fdu which requires the domain. I'm not sure how you want this to work, but there is no sense in not having a domain because that's the main point of this add-on.