What you’re describing is normal. Once you have SSL set up in Home Assistant you can only access (even locally) over HTTPS. The mobile apps can’t handle the cert warning, so you’d have to always use the external URL. Alternatively, you could use a reverse proxy (such as NGINX) to handle SSL and keep Home Assistant local access over HTTP.
Thanks @wmaker but in my case, what is it that I should do with nginx exactly?
The tutorial you posted is for redirecting http to https in all cases, but as you can see I have a problem connecting via HTTP, not https.
I’m afraid that by redirecting all traffic to https, I’ll also break it more
Make a backup/snapshot of your working config or/and enable samba so you can edit config and restart in case something go wrong and you can’t access HA web server:
Install nginx and folow doc:
set domain from duckdns
in network define port for https access ( let http port disable so you can access on default http://ip:8123 )
edit configuration.yaml and disable/comment http as per doc.
Enable start on boot, watchdog… restart / reboot.
Now you can access HA server on https://duckdnsname:port ( use that for external access or regular access if you can define host override in router ) http://ipadress:8123 ( use this for internal or emergency access and do not make this port accessible from www )
Hi!
I use Cloudflare with my own domain. It works great, but I would like to access HomeAssistant from within the network via http IP.
(This is important because I stream local audio and I want to stream local dashboard to Nest Hub and it only works properly with http)
Unfortunately I have not been successful so far.
Any idea what I am doing wrong?