#Making remote access kick-in (and switch back)

1 messages · Page 1 of 1 (latest)

spiral quest
#

[POSTED SIMILAR IN "INTEGRATIONS & ADD ONS" AS I'M NOT SURE WHERE IS MOST APPROPRIATE]

How do I make remote access work?! I signed up for the Nabu Casa cloud access. Everything else is so slick, I just assumed that once I'd signed up for that, as soon as I left home, the app would magically realise it was no longer on-net and flip to my cloud access.

I've tried copying the URL from the Home Assistant Cloud page and adding as a second server. I think it may have worked. But if that is the solution then I run into the second issue... surely the app is smart enough to check whether it can connect over LAN first and switch seamlessly back and forth? But doing it this way - second server / URL - I seemed to have to "activate" the correct local connect when I was back home, it didn't seem to realise it was back on its home LAN and switch back.

  • One possibility here is VLAN addressing, my main devices including my phone (which is running the app) are on network x.x.0.x whereas my IoT stuff including my Pi running HA are on x.x.200.x; the firewall is set up to allow traffic, no issue there, but I wonder if the app is waiting for the phone to connect to the same VLAN / subnet as the Pi? Maybe if I were to jump on to my IoT network with my phone (even though I don't want do to that) it would suddenly realise? At least if that were the case I'd know what the issue is. Realistically I'm not going to use cloud access if I have to manually switch servers every time.

Any help appreciated!

Tks

A

nimble furnace
#

no need to set-up 2nd server. In companion app you can set internal and external url. So internal would be the 192.168 one and for external use the nabucasa one

#

should switch automagical

#

if having issues after this, check vlan routes etc.

rare arch
#

Yes, in the companion app, the second server feature should normally be used for an actual second HA server that you might have. That instance would have its own local and remote (internal and external) settings.