Have anyone else experienced after the .110 update, when streaming from a Camera to Chromecast devices eg. a Nesthub, that the stream looks like it loads but then just shows a text “Smart Home Camera” and then nothing happens?
I also noticed that the Cast function (Lovelace cast), no longer seems to work for me after the base_url was removed. Now I just get the “Error: Unable to connect to the Home Assistant websocket API.”
Not sure if this is related, but I wanted to provide what seemed to happen at the same time.
Oh okay, but I do still face the issue now that I just upgraded to 0.110.4.
I kept the internal_url and external_url as above - still no errors in the log but same message.
But if I look in the “Supervisor Log” I see this? 20-05-30 22:51:36 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
You can’t use HTTPS internally as it will be self-signed, and the Google Homes/Chromecast will not work with self-signed certs. Either use HTTP for internal, or remove it and just use external HTTPS.
You can try setting both internal and external to the external address if the http internal doesnt work.
I actually did try that. First removed the internal_url completely and rebooted. No luck.
Then I tried with the http://mylocalip:8123 and rebooted - same outcome:
BTW: When removing the internal_url: I’m still only able to access the local IP by using the https in front.
“Smart Home Camera” and no stream.
… Or the websocket API error when trying to Cast a lovelace view.
I don’t understand it. This was working before with the base_url pointing towards duckdns and I was only able to access my Home Assistant with https locally as well.
I tried removing the internal_url again and did a full reboot of my NUC. Still no joy.
My TTS is also broken so I added the base_url with only http://localip:8123 as it states in the documentation - not even that world anymore .
So I don’t know why and if I somehow missed trying this, even though I was pretty sure I did or if it was a matter of xx amount of reboots.
But what seemed to fix my Camera Stream to Google Cast Units and the TTS on my Google Home Minis was setting my external_url and internal_url as shown below:
thank you so much , have same problem with chromecast on my Bravia TV after set this internal and external url like you show, finally stream on my chromecast is back working again ! It was a very good solution, thanks!