Just a quick test first: use http instead of https in that 内部接続のURL field, and see if that works.
If that wouldn’t work either, I see 2 routes going forward:
Figure out why http would not work. By default HAOS should allow http, at least from your home LAN (anyone with 192.168.11.xxx), so something else is going on. Is that a setting in your router? gateway? HAOS? I unfortunately do not know where to start on this one.
Try AdGuard Home
2a) First we setup AdGuard Home, likely from that community add-on, in your HA box (RPi) - following the documents of that add-on.
2b) Then we add a rule, to rewrite the yourname.duckdns.org with a local IP 192.168.11.4
2c) Then we config and enable DHCP in your AdGuard Home, at the same time we point these on your router to 192.168.11.4
(save, restart, reboot, verify, etc., so that AdGuard would be active, and your wifi clients are getting DNS server instructions pointing to AdGuard Home @ 192.168.11.4, and blocking ads for your lan.)
2d) Use nslookup command from your PC, to verify that it would indeed resolve yourname.duckdns.org with 192.168.11.4
2e) Clear both 内部接続のURL and Home Network WiFi SSID settings in your Companion app. And then save & test.
I guess route #1 would be easier, if we know where to start.
And maybe other members here in the forum has other ideas.
https://xyz.duckdns.org - this will a valid https connection with a valid certificate
if your router supports reverse NAT, when you hit duckdns domain, all would work fine. Some routers does not support this and you end up setting up nginx to take care of this.
when you move forward with nginx,
you set your router 443 port to nginx server and you use https://xyz.duckdns.org, which will redirect to nginx and then home assistant (over http)
you can use http://local.ip.address:8123
in this option, as home assistant is not enabled with https, your mobile app would not fail to connect any of these hosts. inside mobile app, you will set your internal URL and external URL, so depending on SSID you connected, it will either try internal URL (no https) or external URL (https).
P.S.: I was a bit lost on overall thread, so I just summarized, pardon me I this had been covered already.
@misterobotique - All else are equal, this is likely the same or less amount of work, comparing to route #2. I’d start with the NGINX Home Assistant SSL proxy add-on, along with your existing Duck DNS.
in the Configuration tab, under Options I replaced home.example.com by my DuckDns address
I configured my Wifi router to direct port 443 traffic to port 443 of my HA machine
I restarted my router and Home Assistant
accessing HA via http://192.168.11.4:8123, I started NGINX Home Assistant SSL proxy add-on and waited a few minutes until I could see “Running nginx…” in the log.
on my phone, I opened Home Assistant Companion and in settings:
I am a little bit lost with this very long posts. At the end, did you change the DNS settings on your wifi router? Seems like you said it above, but you didn’t mention it here in your solution.
Same: what the 172.30.33.0/24 relates to, your address seems to be 192.168.X.X?
Sorry for the extremely late reply, I haven’t logged in for a while.
At the end, I didn’t change the DNS settings on my WiFi router.
Regarding 172.30.33.0/24, I don’t know. I just follow the documention on how to use " NGINX Home Assistant SSL proxy" and it requires to add this to the configuration.yaml.