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

Several timeouts after OFF the TV #8

Open
gjdass opened this issue Nov 14, 2017 · 1 comment
Open

Several timeouts after OFF the TV #8

gjdass opened this issue Nov 14, 2017 · 1 comment

Comments

@gjdass
Copy link

gjdass commented Nov 14, 2017

Hey.

Thanks for your work !!! 👍

I managed to make it work for my 2016 model and HA does see the TV. I enabled wake on lan feature on the TV system in order to have a good state in HA (on or off).
I turned out that when the TV is ON, no problem, all functions are working (sound, and turn it off).
But once I turn it off, HA still see the TV as "on" and I got timeout exceptions in my info panel (HA).

2017-11-15 00:33:43 WARNING (Thread-28) [pychromecast.socket_client] Heartbeat timeout, resetting connection 
2017-11-15 00:33:43 WARNING (Thread-30) [pychromecast.socket_client] Heartbeat timeout, resetting connection 
2017-11-15 00:33:43 WARNING (Thread-29) [pychromecast.socket_client] Heartbeat timeout, resetting connection 
2017-11-15 00:33:46 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.philips_tv fails 
[...]

If I wait long enough, I can turn it on again from HA, but still with a lot of exceptions, and a wrong status (always "on").

Is it something you other people experienced ?

Thanks.

@fliphess
Copy link
Contributor

It seems to me that this is "as intended" as the TV disables all network connectivity after going to standby.

I managed to re-enable the TV faster using Wake on Lan and then wait untill the ping reply comes back and then sending a standby signal to get the TV running again, which is faster than waiting, but not as fast as picking up the remote and pressing poweron :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants