-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Updating samsungtv media_player took longer than the scheduled update interval log spam #6375
Comments
use on platfrom config |
Thanks, will give it a try
…On 3 Mar 2017 1:45 pm, "Pascal Vizeli" ***@***.***> wrote:
use on platfrom config scan_interval: 15 or if 15 seconds to ow you can
also move it to ie. 20 until the message is gone.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6375 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGg15jZLxhLyQ-FDHk8UEVMP_hXYc5vWks5riBl1gaJpZM4MSPx6>
.
|
I think the larger issue is the way these devices work. (I have a UN55KU6600) When TV is powered off, tizen OS is offline and hence not responding to queries. The library should be written in a way that an offline device does not log as a warning since this is normal behavior. |
I bumped the scan interval to 30 seconds but am still getting the occasion warning. For the record my TV is an e-series: 09:24:32 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:30#033[0m |
This issue is persisting in 0.41.0 as well. When the TV is off, it generates a flood of messages in the logs. :( |
+1 |
+1 I'm also seeing this with Sonos, although all my Sonos speakers are continuously ON, for some reason they're also generating a flood of messages in my logs. |
Even set to 30 seconds it doesn't work for me either. Could we just set a timeout in the samsung_tv function that if it doesn't respond in 5 seconds we consider it offline? 5 seconds on a lan or even a connection to the other side of the globe should be long enough for a ping. |
I'd tak a way to just filter it from the running logs. right now I would have to hide |
+1 have the same warning in the log every 10 sec.... |
I am having the same issues with both Sonos and other media like by Amazon stick. They are switched off but HA keeps polling them and filling up the logs. Perhaps we need to look at the system backing off after a set number of failures to poll to a longer time frame? Seems to have got worse under 0.4x than earlier releases, or it is being reported now. Dave |
Just thought you ought to know ... still having this issue under 0.46.1 ie. |
I'm faced with the same problem :(
|
+1 |
Same issue here. TV is off, get lots of these messages. |
Also having the same excessive logging issue under version 0.48.1 |
I have a similar issue, but with the Vizio media_player component - issue #8651 |
I'm facing the same issue and had a quick look. It seems this issue only occurs if you start HASS while the TV is off (still powered, but off). Personally, I'd just |
I have the same issue with frontier_silicon media_player, but it also effects all other components, since the whole system freezes (even ssh) when |
Seeing the exact same spam with my samsung TV. It would be nice to be able to supress these warnings. |
This will supress them:
Logger:
Logs:
homeassistant.components.media_player: error
…On 28 Sep 2017 8:20 pm, "Thomas Juberg" ***@***.***> wrote:
Seeing the exact same spam with my samsung TV. It would be nice to be able
to supress these warnings.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6375 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGg15sv8ZOiEhR8vjXNGFvGDWheZbR1Pks5sm_GUgaJpZM4MSPx6>
.
|
Similar issue here, but it doesn't freeze HASS. Instead, what happens is HASS takes about 15 minutes to detect that the TV is off and it almost immediately detects when it is turned on - no matter what settings for timeout are set... anyone having similar issues? |
I'm having this issue still and when it happens the unit cant be controlled at all. Has anyone succeeded in fixing it? I get this error |
Thanks for the suggestion @timstanley1985. Some style changes has to be made to make the config valid, like so:
However, I hope a more permanent fix will be available soon. |
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
): 39.1Python release (
python3 --version
): 3.4.2Component/platform: media_player.samsungtv
Description of problem:
Log spam from samsungtv component. Below is a small excerpt, I am getting 5-10 of these every hour.
Expected:
No warnings
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: