Cannot access ha using local IP

After attempting to remove DuckDNS and go back to just a local IP I am no locked out of home assistant
How can I disable the DNS in the CLI?

But your home assistant should be accessible via;

  • http:://local.ip:8123 if you had removed ssl from configuration.yaml
  • https://local.ip:8123 id you still keep ssl in your configuration.yaml

While second one might generate an invalid certificate error probably.

If all else fails, adding a temporary entry for HA in your workstation’s hosts file pointing to the IP address might get you back in…

Could I use a command in CLI to do this? Could you give me an example?

I tried changing the host name with HA host options, It does change the host name but I still cannot get access to HA using that host name

Then I ran ha core check and it returned: Integration base_url not found

On your computer, not inside HA! I cannot provide instructions for every single platform, but the hosts file is usually /etc/hosts on real operating systems, or C:\Windows\system32\drivers\etc\hosts on a certain nameless platform. Google is your friend for specific examples.

I’m assuming that you deleted the DNS listing for HA, that HA won’t let you connect by IP address, and that making your PC connect via a hosts file entry pointing the old DNS name to the HA IP address will get you in…

I fixed it using ha core rebuild in the CLI

I have previously tried it but it could not complete a core rebuild. A tried again and it worked

1 Like