JPersson77 / LGTVCompanion

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

Doesn't work when turning off/sleeping windows #145

Closed EeroOit closed 1 year ago

EeroOit commented 1 year ago

I have issue that LGTVCompanion works and turns on my LG C2 when turning computer on, but when shutting down my computer it doesn't turn it off. Before it used work fine.

JPersson77 commented 1 year ago

This issue has been reported and will be fixad in the next release. Let me know how the next version works please

JPersson77 commented 1 year ago

v3.0.7 includes a fix for this

JPersson77 commented 1 year ago

any feedback on v 3.0.78 or the new 3.1.5 and the new shutdown timing option?

EeroOit commented 1 year ago

Monitor shutdown doesn't function for me even with the latest version using the early option.

pe 30. kesäk. 2023 klo 18.31 JPersson77 @.***> kirjoitti:

any feedback on v 3.0.78 or the new 3.1.5 and the new shutdown timing option?

— Reply to this email directly, view it on GitHub https://github.com/JPersson77/LGTVCompanion/issues/145#issuecomment-1614823244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKHQ5GWYYOGH56FZUDQ4SQDXN3WMHANCNFSM6AAAAAAZGW6XNA . You are receiving this because you authored the thread.Message ID: @.***>

JPersson77 commented 1 year ago

Hi @EeroOit can you then please enable logging, paste a log on pastebin and copy the link here. Paste a link to config.json as well please. They are both in c:/programdata/lgtv companion/

EeroOit commented 1 year ago

https://pastebin.com/bhZMZLnA

JPersson77 commented 1 year ago

Hi, these error messages indicate that the app cannot connect to the TV.:

Fri 20:09:46 > Device1, WARNING! Thread_DisplayOn(): connect: 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 [system:10060 at D:\a\LGTVCompanion\LGTVCompanion\vcpkg_installed\x64-windows-static\x64-windows-static\include\boost\asio\detail\win_iocp_socket_service.hpp:632:5 in function 'connect']

The TV turns on because the WOL package reach the TV. Are you using a wired/wifi connection with the TV? Can you confirm you are using the appropriate IP of the TV which corresponds to the wired/wifi nic of the TV?.

I think it's likely it is something on your system, network or in the configuration of the app that is erroneous. Maybe try restarting the router, switches, access points

EeroOit commented 1 year ago

Deleting the config file fixed the issue for me.