I have no issues accessing my HA server, or even local files stored in the www folder, or playing media files in the web interface. But when I tried to make an automation action to play one of those media files on a media player, it says this:
Specifically https needs a cert and a cert need a domain name. Cert doesn’t cover IP
Yes the certificate has the Common Name set to a fully qualified domain name, the certificate is set up fine, and it works when connecting to via the domain name (I have the DNS record entries pointing locally). Again the problem is I can’t even set it at all. The certificate also has an “IP” field value so it works with both the domain name and local IP directly. I am indeed trying to set it to the domain though.
Can you toggle Use Home Assistant Cloud off?
Doesn’t seem like it. I tried temporarily turning on remote access in the cloud settings but that doesn’t fix the box being grayed out when I disable the ‘Automatic’ toggle. Also interestingly, when I enable remote access, I still can’t change the “Use Home Assistant Cloud” toggle.
I’m running it on a dedicated Intel NUC, using the latest 2024.6.2.
I have figured it out I think, I need to use the internal_url option in configuration.yaml under homeassistant: as described here.
When I do that the box is still grayed out but at least it now shows the URL I put in there. The media player no longer gives me the error. I also set the external_url and that shows up there too looking like this. So internal_url corresponds to the “local network” box and external_url corresponds to the “internet” box.