Im confused of what I did. I set up hass.io on rpi3 and am running homeassistant on it. I have this this before and it worked but that was a few days ago and the power has gone out a few times so something may have changed.
I have an mqtt switch that runs a py script that toggles a relay board on and off. Ive done it before but its not working at present. So I decided to log into my pi3 and figure out whats wrong. I checked my lanscan app to see what its ip might be, and I saw a 192.168.1.117 that has raspberry org as the vendor next to it, so I tried sshing into that but kept getting wrong password. I checked lanscan app and found that there is both .117 and .113 as ips with raspberry org as vendor. So Im guessing maybe one of those is the wifi and the other is the lan ip. So I sshed into my .113 and got in.
However when I load the home assistant gui on my browser I have to use .117 because .113 yields a connection refused. How can I solve this?
Weird is that the gui loads fine under.117 and under hassio.local. But when I try to go to the Configurator I get a broken sad face icon. It actually shows the wrong ip for it, .106. That is what it used to be. How do I access the config file from the rpi3?
you are correct that one IP is the WiFi and the other is the wired LAN port. Since your configurator is trying to open HA on .106, this tells me that you specified the IP in your config file.
First, go into your router and make the IP for the Raspberry (both of the IP’s) into static IP. (In my router it’s called a static lease).
Next, go into config.yaml and look for the lines for Configurator:. You probably have 192.168.1.106 for the URL. Change it to hassio.local:3218.
my router doesnt have a static lease option, its an WRTP54G from vonage/linksys.
Oh wait…it worked now. ssh root@…117. Ok so I modified the yaml lines to that:
.113 - wifi? - rpi3
.117 - root@-hassio
so i restarted the gui and it works, thanks!
And this is why my mqtt wasnt working:
My mqttListen session had turned off after one of the powerouts, and in the rc.local, my tsrbrclocal session was set to restart, but not my mqttListen.