-
Notifications
You must be signed in to change notification settings - Fork 61
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
Missing connection state awareness results in endless connection attempt loops (Android TV powered off) and log flooding #320
Comments
python-androidtv/androidtv/setup_async.py Line 23 in f63687a
As long as HA continues to call |
Ah come on guys... you ping pong users from one side to the other :-D Why don't you talk with each other to find a solution ;-) So here we go: home-assistant/core#72851 |
Until someone submits a fix, I suggest setting the log level to critical for the Android TV integration. |
That's a workaround. So let's look/wait for a fix. |
Hi any news about this? :) I have hundred and hundred message like that, just after 1 or 2 days :(. Thanks |
I discovered the same as this user here, unfortunately it seems he didn't raise an issue in this repo as recommended at the end of the issue:
Android TV integration very chatty in log when configured Android TV device is not available (turned off)
home-assistant/core#69672
(here the problem is already described)
Problem: python-androidtv constantly (every 80 seconds) trys to connect to the tv. If it is powered off, it will go on like forever. On every failed connect attempt an error is written to the log. This floods logs pretty fast pretty heavily.
This is what Home Assistant log contains for ONE single failed connection attempt:
This is what HA's GUI presents:
The experts from HA (see referenced issue) told this is nothing HA can fix but this only can to be done in this library repo.
By the way: Not related to #15
The text was updated successfully, but these errors were encountered: