JPersson77 / LGTVCompanion

Power On and Off WebOS LG TVs together with your PC
MIT License
992 stars 40 forks source link

LG companion app is making TV turn off even when in use, can only wake up with remote #60

Closed Eden365 closed 2 years ago

Eden365 commented 2 years ago

Without the companion app, tv works fine. When i set everything up. The TV is automatically going dark after a minute and then no mouse or keyboard movement will wake it. Pressing a button on the remote instantly wakes the tv again.

Have I done something wrong, please help!

JPersson77 commented 2 years ago

Hi, it sounds like the application can communicate with the display, but not wake it.

I assume you have followed the setup guide in the readme, but can you please confirm you have done this:

Ensure that the TV can be woken via the network. For the CX line of displays this is accomplished by navigating to Settings (cog button on remote)->All Settings->Connection->Mobile Connection Management->TV On with Mobile, and then enable 'Turn On via Wi-Fi'. For C1 and C2 it's All Settings->General->Devices->External Devices->TV On With Mobile->Turn on via Wi-Fi

Then have a look at these troubleshooting steps:

If you can't get it to work by following the above please enable logging in the global options and upload the full log to pastebin and paste the link here and I will have a look.

Eden365 commented 2 years ago

Hi friend, thank you so much for getting back to me.

Correct, I followed your guide and I enabled the turn on via wi-fi. That all works great!

Here is the log data from when I was having issues -

https://pastebin.com/arpxMpQj

It appears this is the error that is causing my issue - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Device1, repeating WOL broadcast ended

Is this what you referred to as dropping WOL-broadcasts? How do i fix that?

It was working fine today. TV was automatically turning off when idle and it was waking with movement of my mouse. I only run into issues when the automatic blank is enabled and I cannot wake the TV and the remote is required to wake up the TV.

Thank you so much.

dechamps commented 2 years ago

Here is the log data from when I was having issues - https://pastebin.com/arpxMpQj

Your log shows you are using broadcasts. Have you tried the "Device IP-address" option? It should be more reliable. Make sure your LGTVCompanion is up to date as there have been improvements (#22) in this area.

Eden365 commented 2 years ago

Here is the log data from when I was having issues - https://pastebin.com/arpxMpQj

Your log shows you are using broadcasts. Have you tried the "Device IP-address" option? It should be more reliable. Make sure your LGTVCompanion is up to date as there have been improvements (#22) in this area.

Thank you. I'll change it to that and see how I go.

JPersson77 commented 2 years ago

Hi @Eden365 any progress with this?

Eden365 commented 2 years ago

Hi @Eden365 any progress with this?

Yes! I believe changing it to Device IP-address and resetting my router fixed this issue!

JPersson77 commented 2 years ago

Good to hear!!