Assuming I start my RPi3 fresh, I can cast to the Google Home Mini without a problem. Audio and TTS.
After a few minutes, it switches from ‘idle’ to ‘off’ and the next time I cast, all I hear is a bleep and then nothing. It also remains ‘off’. I cannot change it with the Power On Button next to it.
If I restart the Pi and cast something and then power it ‘off’ on the dashboard. The same thing.
If I only restart HASS, then sometimes the bleep comes, but nothing else, when I cast to it or try to toggle power on the HASS Dashboard.
Sometimes it casts fine after a HASS restart, though. But not always.
I’ve tried configuring it as a host in the media_player component, instead of discovery. Same problem.
I’ve got a normal chromecast which works fine. I can turn it on and off, cast whenever I want. It seems it’s only the Google Home mini, which is causing problems.
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/__init__.py", line 408, in async_service_handler
yield from getattr(player, method['method'])(**params)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/cast.py", line 275, in turn_on
CAST_SPLASH, pychromecast.STREAM_TYPE_BUFFERED)
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/controllers/media.py", line 465, in play_media
callback_function=app_launched_callback)
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py", line 803, in launch_app
self.update_status(lambda response:
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py", line 794, in update_status
callback_function=callback_function_param)
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/controllers/__init__.py", line 84, in send_message
self.namespace, data, inc_session_id, callback_function)
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py", line 603, in send_platform_message
inc_session_id, callback_function_param)
File "/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py", line 597, in send_message
raise NotConnected("Chromecast is connecting...")
pychromecast.error.NotConnected: Chromecast is connecting...