Accessing HA from remote location

Hi! So i set up my Pi last night at home. Noobz and all. Set it up for SSHing. great. then i set up a weaved.com account (as per raspberry pi’s website) and confirmed that i was able to SSH into it when not on my local network.

So today from work i opened up weave and set it up though putty and was able to SSH in, no problem. did apt-get update and upgrade. all good. then i started on installing HA.

So ive been following BRUH Automation’s videos for installing HA. (https://www.youtube.com/watch?v=GjzOXkPb7XE)

I followed all the processes though the reboot. when i reestablished my remote connection to the pi, i wanted to open up HA. so i did the standard hass --open-ui. And it got in a loop. im pretty sure it was just trying to open up my browser on a the local network but couldnt bc im remote.

first of all, i want to make sure i havent busted anything and dont need to wipe and start over. i was able to do nano /var/opt/homeassistant/configuration.yaml to access that and edit it. all seemed to be working.

if i edit that, is there a way for me to access the GUI when remote? is there a way to just inteact with HA through my terminal to turn stuff on and off?

(the plan is to take the wemo switches i hav installed and assosiate them with HA and be able to control them and automate them)

i know i may have been lacking in some info provided. completely new to this and trying to figure it out by diving straight into it.

Thanks for any help yall can give. im excited to start this adventure and be apart of this community!

Are you using the HA Web page served by your Raspberry at all? (your raspberry network address followed by :8123 in your favorite browser)

Not clear if Weave support this or not?

In my solution I have an Asus router so I used the built in ASUS DNS feature (free) and now can reach my HA pi from the web.

Calvin

Hi Chazbolt,

The easiest would probably be just to work from home :slight_smile:

Try to open the hass website using the IP you use for ssh and the port you configured in the http component, i.e. http://192.168.100.10:8080

(This assumes that weave forwards port 8080. It seems like this happens for port 22 at least from your description)

Hth,
Johann

Ah! i didnt think of this.

So after enabling the DNS through asus, id have to go to the port of pi to access the pi…but how do i access the HA UI?

would it be ASUSDNS:PIport or ASUSDNS:8123?

Well the point is to once i have everything set up to be able to turn stuff on and off, and to change settings and automations from my phone when im remote.

i takinge info given to me through weave that i used for SSHing and putting it into my browser, but to no avail. i got this when i tried.

i figured it out! using weave i just set up a custom TCP port through it straight to 8123. huzzah!!

Good to know. For the moment I still use the old fashion way with no-ip.com DDNS + NAT in my router. I will give it a try one day.

Yeah, me too! I just ordered my Pi kit today using all of @brusc’s links in his latest video. This will be my very first RaspberryPi so all of these posts help me get ready. I should be able to keep all of the work I did so far on my Windows install.