So I’ve seen that this has been a problem in the past, and the Google TTS Page explains why, but the proposed workarounds don’t seem to work.
I may be missing something.
Configuration
HASS.io --> .0.90.1 running as a Proxy behind Apache.
When I head over to https://mysubdomain.mydomain.com:8123 I get in, and it’s beautiful.
When I manually send a message to the media_player.kitchen_speaker (Google Home) a new MP3 file is dropped into the TTS folder and the Google Home makes its bleep noise, but nothing is spoken.
The base URL for HASS.io is https://mysubdomain.mydomain.com:8123
The base URL for the Google TTS Platform has been one of:
http://<lan_ip_address>:8123
https://<lan_ip_address>:8123
http://mysubdomain.mydomain.com:8123
https://mysubdomain.mydomain.com:8123
In the States for the media player, the reported URL is formatted based upon these settings at the time of the MP3 creation. If I manually copy and paste that address into the browser, the only way I can get it to play the file is by using the URLs with the https
address.
Since Google Home doesn’t play nice with https
I would expect that using the http
address, especially from inside the network would work, specifically using the IP address as the destination.
If I paste the http://<ip_address>:8123/api/etc...
into the browser, I get an error and the page doesn’t load the file.
It seems I’ve managed to kill the ability to access HASS.io through any means aside from https
.
Regarding the Cert for the site, here’s how I set it up:
In Virtualmin, I created a subdomain and a website and DNS entries ( I run my own name server on Ubuntu.) Then, I used Lets Encrypt to generate the cert. I then copied the contents of the cert and the key to the *.pem files in the SSL folder on HASS.io.
After that, I overwrote the conf files that Virtulamin created with the suggested HASS.io Apache Proxy configuration settings, and voila! I had a secure connection to HASS.io using http://subdomain.mydomain.com:8123.
So, it seems there’s something I need to do to enable the ability to access HASS.io locally using http
as the address instead of https
.
Any idea how to get this to work locally?