-
Notifications
You must be signed in to change notification settings - Fork 12
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
Connection Lost to Video Chromecast - No Reconnect #40
Comments
I had this problem with a bad wireless connection in the past where the Chromecast devices would loose the connection. The adapter implements a retry system to reconnect but the intervals between the connections increase with the time (to avoid saturating the log with connection retries). Could you please append the log? |
Maybe a dup from #36 |
This Chromecast is the only of my google devices which is not always on. After your explaining of reconnecting, maybe this is the problem? I thougt the Chromecast is broadcasting when going up and the chromcast adapter is receiving the broadcast and putting the device up. |
It seems to be the max Reconnect Threshold. (see the log below) Log:
|
I added very a first draft to trigger reconnects when the chromecast device broadcast its availability via MDNS. If this triggers too many reconnects I could add code in the player to prevent the extra reconnections but let us first see if this solves your issue. Please update to |
Btw: another way for you to trigger a reconnect is to write the device.connected state in ioBoker to true. |
I had installed version 2.0.0 and now i have 2.0.2. I will tell you if it fixes the problem. |
Oh sorry, my last answer was not saved. Sorry for let you waiting. |
do you have a log from when this happened? Did you wait 10 minutes after turning on the device again? Some devices do not send a mDNS broadcast after coming online so the adapter only find they are back when it sends its mDNS query every 10 minutes. I could easily make the interval for the mDNS query to be configurable if you could confirm that fixes the issue. Also if you are turning your Chromecast power using iobroker you can also trigger the chromecast to reconnect by writing the state chromecast.0..enabled to true. This should force the adapter to start trying to connect to the device again. |
I installed version 2.2.0 today and it seems to work. I will watch this the next days but for now I am happy. :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. |
I am using one Chromecast, one Audio Chromecast and four Google Homes with this adapter. But the connection to the Chromecast get lost even when it is on and the chromecast module ist not reconnecting.
CHROMECASTNAME.status.connected : "false"
Just the restart of the chromecast instance is working to reconnect to the chromecast and let me control it again. The error occure nearly every day.
The text was updated successfully, but these errors were encountered: