Hi all,
I refused using AdGuard because all devices connected to my network depended on it and if Home assistant goes down, I lost access in all devices.
I have another solution that worked for me:
1) Install Duck DNS + SSL as usually.
I added these lines to my configuration.yaml:
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Router port forwarding:
- IP: IP of Home Assistant
- External port: 8123
- Internal port: 8123
2) Check the access:
External: https://mydomain.duckdns.org:8123
Internal: https://myip:8123
Note that both are httpS.
Once everything works, go to step 3:
3) Comment the lines added before:
#http:
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
4) Restart Home Assistant and access by http://yourip:8123 (no httpS)
5) Install NGINX addon:
On the addon configuration, set as follows:
domain: mydomain.duckdns.org
Notice that I didn’t addedd “https://”
6) Start the NGINX addon.
7) Router configuration:
- IP: IP of Home Assistant
- External port: 443
- Internal port: 443
8) Check the access:
External: https://yourdomain.duckdns.org
Internal: http://yourip:8123
9) Set the IPs above in your Android APP.
If local access does not work, activate GPS option. The app needs the Location to be able to connect (it doesn’t make sense…)
10) General configuration
I recommend to set the internal and external URL of the Home Assistant configuation (Configuration -> General)
I had some problems when reproducing media and it was solved by this way.
Following these steps, I got access with the Android APP locally and externally. Hope this solve your problems as well.