klattimer / LGWebOSRemote

Command line webOS remote for LGTVs
MIT License
511 stars 99 forks source link

Close After Pairing with error code 1000 #117

Open ShaimaaHamd26 opened 1 year ago

ShaimaaHamd26 commented 1 year ago

When i run this cmd : lgtv auth 192.168.1.2 tv_name ssl

it gives me this result although I accept the pairing in my tv, DEBUG:getmac:Initializing 'ip4' method cache (platform: 'windows') DEBUG:getmac:Finished initializing 'ip4' method cache DEBUG:getmac:Raw MAC found: acb6878ab266 DEBUG:getmac:Adding colons to MAC acb6878ab266 Please accept the pairing request on your LG TV DEBUG:ws4py:Closing message received (1000) 'b''' {"closing": {"code": 1000, "reason": ""}} Wrote config file: C:\Users\HP.lgtv\config.json

and when i try to run any cmd like volumup it gives me: "ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host"

klattimer commented 1 year ago

Try cold booting your TV, sounds like the problem is that end.