Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast MediaPlayers go to Unavailable after a while #16924

Closed
CheeseySandal opened this issue Sep 27, 2018 · 5 comments
Closed

Cast MediaPlayers go to Unavailable after a while #16924

CheeseySandal opened this issue Sep 27, 2018 · 5 comments

Comments

@CheeseySandal
Copy link

Home Assistant release with the issue:

0.78.3

Last working Home Assistant release (if known):
0.77.x (I think)

Operating environment (Hass.io/Docker/Windows/etc.):

Hassio on RP3
hassOS 1.10 & hassOS 1.11

Component/platform:

cast

Description of problem:

After a couple of days, mediaplayer become unavailable.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

discovery:
  ignore:
    - samsung_tv

Traceback (if applicable):

18-09-27 03:08:18 ERROR (Thread-784) [pychromecast.socket_client] Error reading from socket.
2018-09-27 03:08:18 WARNING (Thread-784) [pychromecast.socket_client] Error communicating with socket, resetting connection
2018-09-27 03:08:18 ERROR (Thread-784) [pychromecast.socket_client] Failed to connect, retrying in 2.0s
2018-09-27 03:08:22 ERROR (Thread-784) [pychromecast.socket_client] Failed to connect. No retries.
2018-09-27 03:09:05 ERROR (Thread-886) [pychromecast.socket_client] Error reading from socket.
2018-09-27 03:09:05 WARNING (Thread-886) [pychromecast.socket_client] Error communicating with socket, resetting connection
2018-09-27 03:09:05 ERROR (Thread-886) [pychromecast.socket_client] Failed to connect. No retries.

Additional information:

I have 7 google casts in the house (1x home, 2x mini, 2x audio, 2x chromecasts) and they're shown in my frontend. I've always had reading from socket errors in the logs, but it's occasional and it always resolved itself after a while.

Since updating to 0.78.x after a couple of days, my mediaplayers will eventually come up as Unavailable and stay like that. All automations around the media players never fire (e.g. automatic sleep timers fail and podcasts are played all night!).

A reboot fixes the issue, but only for a couple of days.

@awarecan
Copy link
Contributor

Duplicate as #16686

@CheeseySandal
Copy link
Author

Sorry, I did search honest!

@nelbs
Copy link

nelbs commented Oct 11, 2018

Sorry, I did search honest!

Hi CheeseySandal

Did version 0.79 fix your problem? Because for me it did not. My chromecasts still become unavailable for a while.

@CheeseySandal
Copy link
Author

It did I'm afraid.

@awarecan
Copy link
Contributor

@nelbs please open a new issue for your case. Chromecast component is complex, the previous fix only address particular configuration.

When you open the issue, please provide your debug log, config, and what type of Chromecast device involved. Chromecast, Google Home, or Smart TV, etc.

@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants