pmgsrosa
(Pedro Rosa)
November 15, 2021, 9:12pm
1
Hi there,
I have 2 older webos tvs (LG) working fine for more than one year. Now i bought a new 65" Oled TV with webos 6 and it starts working fine when i restart HA but after turning off the TV, HA never sees the TV again. Restarting HA solves the issue.
Checked config on TV and all seems ok.
Anyone with a similar problem?
Thanks.
Pedro.
jfparis
(jfparis)
January 2, 2022, 9:06pm
2
Hi
Have a look at this bug on github and try the patch I posted (toward the bottom)
opened 05:33PM - 21 Nov 20 UTC
integration: webostv
<!-- READ THIS FIRST:
- If you need additional help with this template, pleas… e refer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/core/releases
- Do not report issues for integrations if you are using custom components or integrations.
- Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
-->
## The problem
<!--
-->
When the LG TV is OFF or ON, webostv media player can't be used until HA restart. Often when HA loses detection of the webos TV (when previously working), the connection is not restored/checked again until HA is rebooted.
## Environment
<!--
Provide details about the versions you are using, which helps us to reproduce
and find the issue quicker. Version information is found in the
Home Assistant frontend: Configuration -> Info.
-->
- Home Assistant Core release with the issue: 0.118.1
- Last working Home Assistant Core release (if known): NA
- Operating environment (OS/Container/Supervised/Core): Home Assistant Container
- Integration causing this issue: LG webOS Smart TV
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/webostv/
## Problem-relevant `configuration.yaml`
<!--
An example configuration that caused the problem for you. Fill this out even
if it seems unimportant to you. Please be sure to remove personal information
like passwords, private URLs and other credentials.
-->
```yaml
webostv:
host: 10.0.1.213
name: Living Room TV
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: "_removed_"
```
## Traceback/Error logs
<!--
If you come across any trace or error logs, please provide them.
-->
```txt
Updating webostv media_player took longer than the scheduled update interval 0:00:10
12:26:25 PM – Media player (WARNING) - message first occurred at November 20, 2020, 10:02:17 PM and shows up 5179 times
```
## Additional information
Example: webOS TV has been working fine days, suddenly, this morning when the TV was powered on, HA thinks it is still off. If I reboot HA it'll detect the TV just fine.
Also, as other have reported for years now (see community forums), when the TV is powered "off" which is really "standby", the logs will get spammed every 10sec. In my example above, we hit "power" on the remote at 10:02:17pm and went to bed, and the log was spammed since and this was also the morning we turned the TV "on" and HA didn't detect that it was in an on state. HOWEVER, as soon as I rebooted HA the TV was detected just fine leading me to believe it is an issue with HA and not the webOS TV software.
Possibly related to: #6542 & #43349
I also recently bought a 55" OLED EVO with WebOS 6 and I have not seen Home Assistant detect it at all, despite restarting HA numerous times. Now on HA container 2022.6.0
My earlier model 65" LG continues to be fine and seen by HA.