Can someone please try debug this - running home-assistant in docker.
Made no changes - but just restarted the docker container.
I now get the following:
2018-08-03 16:30:29 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=107 from 2018-08-03 14:29:24.485346)
2018-08-03 16:30:31 ERROR (SyncWorker_8) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
I have disabled everything I can think of in the configuration.yaml file - and still get the above.
I’ve deleted and recreated the docker container - nothing works?
It looks as if it has something to do with the Google Home / Cast devices - but I’ve disabled them where ever I can find them, including entity_registry.yaml
This is highly frustrating - I have now unplugged all cast devices - deleted the entity file - now its empty… and this is all I get:
2018-08-03 17:01:07 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:12 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:17 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:22 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:27 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:32 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:37 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-08-03 17:01:42 DEBUG (SyncWorker_3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
Looks like its specific to the Chromecast Ultra’s - if they’re on the network, HA doesn’t start up periodically. I have two, unplugged them - and HA starts up.
I suspect the Ultra issue becomes a problem when upgrades are triggered - haven’t tested it yet though, but I’ve noticed I’m usually able to restart successfully, and then near to when I do an upgrade/downgrade, HA won’t come online with the Ultra’s on the network.
has anyone figured out what the problem is please? I am getting the same error and the webui won’t load up, but I only have a Google Home Mini at home… and one interesting thing is if I add this into my config
cast:
media_player:
- host: 192.168.XXX.XXX # Google Home Mini.
then it seems to HA seems to startup just fine.
but then it keeps tracing the below in the log
[homeassistant.components.media_player] Platform cast not ready yet. Retrying in 90 seconds.
I also believe this started to happen after some update to the google mini few days ago as well.
actually while typing this, I noticed if I go to Hassio UI - > “Configuration” -> Integrations -> Google Cast -> the trash can to delete it. then I don’t have any problem with restarting my HA anymore…