I have two homes, one of them have an HA instance, but both homes have the same SSID.
The mobile app tries to connect locally in both homes (since the SSID is connected) but since only one home has an HA, the server is never found locally in the home that doens’t have HA, the mobile app must have used the nabucasa link. Is there any other way to tell the mobile app which home am I?
Those two things are definitely the solutions. The other obvious solution though is to not use the same SSID at two different locations. The nat loopback (hairpin) would work just fine but your router with the HA on it would need to support that. Not all do.
I don’t use NabuCasa, but i do use Hairpin NAT on my own https domain, so i use only one url…
And while at home it uses only a local connection through hairpin…
works like a charm