So im currently on HA 2025.1.2.
I have been running cast on and off thru automations since it was introduced. I have had a brake for about a year now and was planning to spin it up again since i found a new good automation case that i wanted to try out.
But it seams to be broken. I have double checked the adresses and external and internal adress is in the config file. but when casting it get stuck on “Not Connected” i have rebooted. tried a TV and a nest hub. Same thing.
Is the function broken or should it work? and if so, any one have any tips och trix och how to move forward?
I dont use nabu casa but have a reverse proxy and a duckdns adress with https.
_connect_hass failed for https://xxxxxxxxxxxxxx.duckdns.org
Exception in _handle_signal_show_view when dispatching 'cast_show_view': ({'hass_url':
'https://XXXXXXXXXX.duckdns.org', 'hass_uuid': 'XXXXXXXXXX', 'client_id': None, 'refresh_token':
'XXXXXXXXX'}, 'media_player.XXXXXXXXX', '9', 'lovelace') Traceback (most recent call last): File
"/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 1031, in
_handle_signal_show_view self._hass_cast_controller.show_lovelace_view(view_path, url_path)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pychromecast/controllers/homeassistant.py", line 195, in
show_lovelace_view self._send_connected_message( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ { ^ ...<6
lines>... callback_function=callback_function, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File
"/usr/local/lib/python3.13/site-packages/pychromecast/controllers/homeassistant.py", line 221, in
_send_connected_message self._connect_hass( ~~~~~~~~~~~~~~~~~~^ chain_on_success(
^^^^^^^^^^^^^^^^^ partial(self.send_message_nocheck, data), callback_function ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ ) ^ File
"/usr/local/lib/python3.13/site-packages/pychromecast/controllers/homeassistant.py", line 166, in _connect_hass raise PyChromecastError() # pylint: disable=broad-exception-raised
^^^^^^^^^^^^^^^^^^^^^^^^^ pychromecast.error.PyChromecastError
BR