Thanks for the guide, this was very helpful verifying my HA configuration which is similar to yours. I initially still had issues with connecting to the HA App and reinstalling the HA App did not solve the issues either. However, after clearing all data associated with the HA App (Settings menu of Android phone → Apps → Home Assistant → Storage → Clear data) I was properly redirected to the welcome page of the HA App where I could enter the HA URL again and successfully connect to HA. In my case it wasn’t necessary to set the Private DNS to OFF.
remember the app utilizes APIs that hte browser does not so thats not a fair comparison, you will want to make sure that all HA APIs are not being blocked.
I followed the instructions
but it only works 1st time when you restart your phone after when you try to load the app it just vibrates and closes within a sec.
I do not have a url (external address). I used the internal one to connect my phone yesterday, and all was great. Today it gave this “cannot connect” message.
Does one HAVE to have an external url/domain/address to use the app?
If so, fair enough, then I’m stuck for now.
If not, where do I start looking to find out why it stopped working today? I know - very noob question. Started installing and using HA two days ago, so some of the stuff is very new to me.
if you want to access it off your network, yes you need it to be remotely accessible. Otherwise the app will not be able to send data home. You will receive notifications but thats about it.
just keep the address you want to use as the external one and use the app like that
From the pop-up go to settings and then look at the companion app logs to see if the error is helpful to you. Its more than likely a network error. Have you tried restarting things already?
The logs are all gibberish to me. Again…noob . I mean, I understand the time and date part of each line in the log But, the info next to it, presently, has no meaning to me.
Did restart phone. Not VM yet, but will try that. If no joy, will start searching/learning what the logs are all about.
look for your IP address in a log message that says failed to connect or timeout or something similar…maybe the IP address its trying or got proxied to will give you a clue as to where the issue may be.
I then tried to connect to above address from Chrome browser on phone, and it says site cannot be reached. My thoughts are that something is amiss on the phone?
Message on phone chrome browser
DNS_PROBE_FINISHED_BAD_CONFIG
Does that make any sense to you? It appears somethings wrong with phone’s ability to browse the local network. When I type in an address like cnn.com all seems to work fine.
Funny thing, though. On the VM, it instructs to use homeassistant.local:8123, no ip given, but, just above it, it gives an ip as 10.0.0.163/24 “to be used for enp0s3” - whatever that may be.
This made me assume the ip is 10.0.0.163. It isn’t
I tried connecting to 10.0.0.163:8123 from the phone - no joy. So I tried from the desktop, to see if address is correct. That’s how I discovered it’s not.
I then did a ping and an arp -a and started down the list of IPs. Found it.
May I ask one more thing? - and thanks a mil for this assist
Should I expect that IP to change (as it is dynamic), and I’m assuming that will affect the companion app if it does?
Impossible de se connecter à Home Assistant
Code d’erreur : -8
net :: ERR_CONNECTION_TIMED_OUT
J’ai appliqué tous les correctifs mais sans succès.
J’ai fini par trouvé, le problème venait de mon abonnement téléphone, je suis chez bouygues Telecom et ils sont passés en IPV6.
Pour corrigé le problème il m’a juste fallu dans Duckdns supprimé l’adresse IPV6 et laisser seulement l’IPV4