Someone asked about accessing HA remotely where they didn’t have direct access to the Internet. It was an apartment complex with routers behind routers if I recall / understand. I did some looking but didn’t see the post so I thought I would post this just in case they saw this or someone else remembered that post.
There have been discussions on this board about Dataplicity. I won’t comment on the security of that service, that is up to you. They have something called Wormhole that should allow remote connections where you have a NAT connection behind a NAT connection as in the apartment complex router arrangement. This is Raspberry Pi only if I remember.
Another way to do it is to use the ngrok service. It can be used on multiple OSes and it has a useful free plan.
Domotz can do this too. And hopeful the new Fingbox on Indigogo, too.
I tried domotz for a few month and this works very well with http and ssh connections and its very easy to setup. The agent can run easily on a raspberry.
I Shure hope the person who was looking for a solution finds this. Great to know there are choices.
I have installed ngrok on my pi but my HA does not open on both the forwarding links provided by ngrok i.e. https and http.
Do you experience the same problem?
I tried ngrok, the login page is working but after logging in, it just keeps on the loading data page
same problem here
I’m experiencing the same issue.
Are there other settings that have to be done for HA to accept external connections?
Anybody got this working?
I have used Dataplicity some time ago and only briefly. I wasn’t going through multiple Nat connections but it worked.
anyone tried this - https://caddyserver.com/? The next release would fix the websocket issues - https://github.com/mholt/caddy/pull/1316
Since one week ago i have worked to access remotely to HA using NGROK and finally i got it. Simply you should running the following command:
NGROK TCP 8123.
If you use HTTP, HA no loading. I think that problem is with the Websocket that it not function well with the implementation the HTTP protocol that NGROK done . With NGROK and TCP protocol i could seen my HA remotely from internet. Even my HA is using HTTPS and it not have any problem.
I Am sorry my english es very bad because my native language is spanish. and i am using this forum for to practice my writing skill in english.
Same that you i like HA because is awesome software.
Thanks, I settled with tor and port forwarding on double NAT. NGROK would be useful in case the internet provider block my access on their router.
Try ./ngrok tcp 8213
It’s working for me.
NGROK TCP 8123. – by run this cmd , ngrok give me the flowing…
how can i access this tcp:// from a Browser? or any other available client?
Version 2.2.8
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding tcp://0.tcp.ngrok.io:12877 -> localhost:8123
in my case i am using https protocol for to access to hass and for this i should will type in browser: https://0.tcp.ngrok.io:12877. In little words you must replace tcp in URL for htpp or https according to your case