Open tim-devel opened 8 years ago
Anyone have any thoughts on this one?
I'm getting the same error but it seems to happen after invoking
pychromecast.Chromecast(ip)
a handful of times...
@timstanley1985 I fixed this error with Chromecast.disconnect()
FWIW
I have the same problem.
is it possible to add Chromecast.disconnect() in the socket_client.py itself ?
Hi,
I am using pychromecast with Home Assistant. I leave my Chromecast attached to the power permanently so I can use it to wake up my TV remotely via home assistant. Pychromecast connects to my Chromecast perfectly well when I first plug it in but after 12-24 hours uptime I start getting the error below. I can still cast media to the Chromecast from my phone but pychromecast is unable to connect. The only way to work around this error is to power cycle the Chromecast.
Sorry but I am not sure what more I can do to debug this error. I have detailed my set up below:
Pychromecast version 0.7.1 (and git clone from github) Python version 2.7.9 & 3.4.2 Raspberry Pi v2 (up to date Raspbian Jessie) Chromecast 1 - Firmware 1.17.46278