Open chathurangawijetunge opened 6 years ago
I have the same issue. It's good for a few hours then it dies saying it can't connect. I'm trying to write a script so it restarts based on the error message.
I believe this may have to do with casting to a google Group as apparently IP addresses change for Google cast groups. The pychromecast library apparently can't handle updating the ip for groups. See this discussion https://github.com/home-assistant/home-assistant/issues/9800 and this bug report https://github.com/balloob/pychromecast/pull/167
Does not look like the author balloob will address for a while if at all if you read to the bottom of the thread.
Try to cast to an individual device and not to a group or try this script I wrote as an attempt at a workaround by monitoring any errors and restarting the notifier if errors are detected: https://github.com/GeekVisit/Google-Home-Notifier-Launcher
This app crashes if the google home device is switched off.
How to overcome this..?