home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.64k stars 30.4k forks source link

LG webOS TV sometimes not detected after being powered on #68000

Closed sorryusernameisalreadytaken closed 2 years ago

sorryusernameisalreadytaken commented 2 years ago

The problem

The same issue like in this bug-report, but it was closed. https://github.com/home-assistant/core/issues/43492

What version of Home Assistant Core has the issue?

core-2022.2.9

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

LG webOS Smart TV

Link to integration documentation on our website

https://www.home-assistant.io/integrations/webostv/

Diagnostics information

log_webos_took_longer.log

Example YAML snippet

Config over WebUI. But I set the logger after first time it was showing the warning:

logger:
  default: info
  logs:
    homeassistant.components.webostv: debug
    aiowebostv: debug

Anything in the logs that might be useful for us?

No response

Additional information

probot-home-assistant[bot] commented 2 years ago

Hey there @bendavid, @thecode, mind taking a look at this issue as it has been labeled with an integration (webostv) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


webostv documentation webostv source (message by IssueLinks)

thecode commented 2 years ago

First check that your TV is not connected to WIFI, several users noticed that when both WIFI and wired connections are available the TV can switch between them which may cause issues.

Please update to 2022.3.x as it contains additional logging, add the following to configuration.yaml, restart home assistant, when the problem is reproduced attach the log.

logger:
  default: info
  logs:
    homeassistant.components.webostv: debug
    aiowebostv: debug

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

Thanks

sorryusernameisalreadytaken commented 2 years ago

Damn it... I was looking really deep into this but learned some seconds ago that a docker-compose pull && docker-compose restart does NOT bring up the new version of homeassistant😄

The bug problem appears some days ago already and I read your hints in the other tickets.

Is my homeassistant.components.webostv: debug entry wrong?

To the wifi hint, my TV was never connected to a wifi.

@thecode sorry for stealing your time.... I think this is done, but let my watch this 2 days before closing it.

EDIT: Works like a charm. THX for your work and your incredible fast reply here @thecode 👍🏼