Lgtv1 : no pairing key

Hi,

I try to connect my Lg Tv (49ub820v, netcast 4.5) with openhab, pairing seems to be ok (lgtv connectionstatus of ip=192.168.1.52 changed from CS_NOTCONNECTED to CS_PAIRED), but still errors on the logs, and “CS_NOTCONNECTED”

Here the cfg file and logs

This error is quite bizarre because it looks like it does not find the ip of the tv in the configuration?
http://null:8080/udap/api/pairing

thanks in advance

[lgtv.cfg]
lgtv:lg.host=192.168.1.52
lgtv:lg.port=8080
lgtv:lg.pairkey=xxxxxx
lgtv:lg.serverport=8080
lgtv:lg.checkalive=60

[Logs]
[ERROR] [binding.lgtv.internal.LgtvConnection] - sendtotv but connection status is CS_NOTCONNECTED
[ERROR] [binding.lgtv.internal.LgtvConnection] - IO Exception at Connection to: http://null:8080/udap/api/pairing
[ERROR] [binding.lgtv.internal.LgtvConnection] - sendtotv but connection status is CS_NOTCONNECTED
[INFO ] [binding.lgtv.internal.LgtvConnection] - lgtv connectionstatus of ip=192.168.1.52 changed from CS_NOTCONNECTED to CS_PAIRED
[INFO ] [binding.lgtv.internal.LgtvConnection] - sendpairkey with result=200 successconnectionstatus=CS_PAIRED
[ERROR] [binding.lgtv.internal.LgtvConnection] - sendtotv but connection status is CS_NOTCONNECTED
[ERROR] [binding.lgtv.internal.LgtvConnection] - no pairkey defined
[ERROR] [binding.lgtv.internal.LgtvConnection] - no pairkey defined
[ERROR] [binding.lgtv.internal.LgtvConnection] - no pairkey defined
[ERROR] [binding.lgtv.internal.LgtvConnection] - no pairkey defined

Change your lgtv.cfg to remove the : like below.

lgtvlg.host=192.168.1.52
lgtvlg.port=8080
lgtvlg.pairkey=xxxxxx
lgtvlg.serverport=8080
lgtvlg.checkalive=60

Also, please post your items configuration for review.

thank you for the answer :slight_smile:

the problem remains the same, always errors in the logs.
Even so, I still configured the items and sitemap, and it works (almost):

  • I can turn off the tv but not turn it on
  • I can increase the volume, but not decrease it (it also increases)

the item and sitemap configuration is exactly the same as in the example:

With everything setup correctly, I’m not sure why you are having the issues. Recheck all your files to make sure there’s no syntax errors or post here for review.

Can you use a different binding with your TV?


Note: This binding requires additional bindings, see the documentation for details.

Hello !
Is there any chace to ad this binding to OH3 ?
I’m still using it with my 3D TV.