Hi, guys. I spent few minutes today for testing the binding - TV responced immidiately after adding the binding - it asked for allowing / not allowing external connection. Then Openhab welcome message appeared, but I couldn’t control TV from Openhab (tested VolumeControl, PowerControl and ToastControl). Tested on 42LB671V and 32LF653V.
Here are some photos and log errors:
[INFO ] [b.c.internal.ConnectSDKBinding] - added: {“modelName”:“LG Smart TV”,“lastConnected”:9223372036854775807,“lastKnownIPAddress”:“192.168.0.30”,“modelNumber”:“42LB671V-ZF”,“id”:“3d25509d-e11f-4a33-81ca-6c720e01e6e2”,“services”:{“1eef01bd-461b-8656-0cc3-4c0f1da57322”:{“description”:{“filter”:“urn:lge-com:service:webos-second-screen:1”,“modelName”:“LG Smart TV”,“port”:1277,“ipAddress”:“192.168.0.30”,“modelNumber”:“42LB671V-ZF”,“serviceId”:“webOS TV”,“uuid”:“1eef01bd-461b-8656-0cc3-4c0f1da57322”,“version”:“4.0.3”,“friendlyName”:"[LG] webOS TV"},“class”:“WebOSTVService”,“config”:{“lastDetection”:1452018180,“UUID”:“1eef01bd-461b-8656-0cc3-4c0f1da57322”,“class”:“ServiceConfig”}}},“lastDetection”:1452018180,“friendlyName”:"[LG] webOS TV"}
[INFO ] [b.c.internal.ConnectSDKBinding] - Pairing required.
[INFO ] [b.c.internal.ConnectSDKBinding] - Device ready: {“modelName”:“LG Smart TV”,“lastConnected”:1452018199,“lastKnownIPAddress”:“192.168.0.30”,“modelNumber”:“42LB671V-ZF”,“id”:“3d25509d-e11f-4a33-81ca-6c720e01e6e2”,“services”:{“1eef01bd-461b-8656-0cc3-4c0f1da57322”:{“description”:{“filter”:“urn:lge-com:service:webos-second-screen:1”,“modelName”:“LG Smart TV”,“port”:1277,“ipAddress”:“192.168.0.30”,“modelNumber”:“42LB671V-ZF”,“serviceId”:“webOS TV”,“uuid”:“1eef01bd-461b-8656-0cc3-4c0f1da57322”,“version”:“4.0.3”,“friendlyName”:"[LG] webOS TV"},“class”:“WebOSTVService”,“config”:{“clientKey”:“f35a…”,“class”:“WebOSTVServiceConfig”}}},“lastDetection”:1452018180,“friendlyName”:"[LG] webOS TV"}
[ERROR] [b.c.i.bridges.TVControlProgram] - error: 0 null null
[ERROR] [.b.c.i.b.MediaControlPlayState] - error: 0 null null
[ERROR] [b.c.i.bridges.TVControlChannel] - error: 500 {“errorText”:“Invalid broadcastID error”,“returnValue”:false,“errorCode”:“BROADCAST_ERROR_0001”} Application error
[ERROR] [o.b.c.i.b.TVControlChannelName] - error: 500 {“errorText”:“Invalid broadcastID error”,“returnValue”:false,“errorCode”:“BROADCAST_ERROR_0001”} Application error
[WARN ] [.w.internal.servlet.CmdServlet] - Received command ‘TOGGLE’ for item ‘LG_TV0_VolumeUp’, but the item does not exist in the registry
[WARN ] [.w.internal.servlet.CmdServlet] - Received command ‘TOGGLE’ for item ‘LG_TV0_VolumeDown’, but the item does not exist in the registry
[INFO ] [b.c.internal.ConnectSDKBinding] - added: {“modelName”:“LG Smart TV”,“lastConnected”:9223372036854775807,“lastKnownIPAddress”:“192.168.0.31”,“modelNumber”:“32LF653V-ZC”,“id”:“0250b270-3d3f-4a7d-9efc-e4fcff99ea5e”,“services”:{“5898a6ba-7ee1-80c4-4cbc-68b25015d29d”:{“description”:{“filter”:“urn:lge-com:service:webos-second-screen:1”,“modelName”:“LG Smart TV”,“port”:1842,“ipAddress”:“192.168.0.31”,“modelNumber”:“32LF653V-ZC”,“serviceId”:“webOS TV”,“uuid”:“5898a6ba-7ee1-80c4-4cbc-68b25015d29d”,“version”:“4.1.0”,“friendlyName”:"[LG] webOS TV LF653V"},“class”:“WebOSTVService”,“config”:{“lastDetection”:1452018931,“UUID”:“5898a6ba-7ee1-80c4-4cbc-68b25015d29d”,“class”:“ServiceConfig”}}},“lastDetection”:1452018931,“friendlyName”:"[LG] webOS TV LF653V"}
[INFO ] [b.c.internal.ConnectSDKBinding] - Pairing required.
[INFO ] [b.c.internal.ConnectSDKBinding] - Device ready: {“modelName”:“LG Smart TV”,“lastConnected”:1452018983,“lastKnownIPAddress”:“192.168.0.31”,“modelNumber”:“32LF653V-ZC”,“id”:“0250b270-3d3f-4a7d-9efc-e4fcff99ea5e”,“services”:{“5898a6ba-7ee1-80c4-4cbc-68b25015d29d”:{“description”:{“filter”:“urn:lge-com:service:webos-second-screen:1”,“modelName”:“LG Smart TV”,“port”:1842,“ipAddress”:“192.168.0.31”,“modelNumber”:“32LF653V-ZC”,“serviceId”:“webOS TV”,“uuid”:“5898a6ba-7ee1-80c4-4cbc-68b25015d29d”,“version”:“4.1.0”,“friendlyName”:"[LG] webOS TV LF653V"},“class”:“WebOSTVService”,“config”:{“clientKey”:“6586…”,“serverCertificate”:“MIIDT…”,“class”:“WebOSTVServiceConfig”}}},“lastDetection”:1452018931,“friendlyName”:"[LG] webOS TV LF653V"}
[ERROR] [b.c.i.bridges.TVControlProgram] - error: 0 null null
[ERROR] [.b.c.i.b.MediaControlPlayState] - error: 0 null null
[INFO ] [b.c.internal.ConnectSDKBinding] - Device removed: {“modelName”:“LG Smart TV”,“lastConnected”:1452018983,“lastKnownIPAddress”:“192.168.0.31”,“modelNumber”:“32LF653V-ZC”,“id”:“0250b270-3d3f-4a7d-9efc-e4fcff99ea5e”,“services”:{},“lastDetection”:1452018931,“friendlyName”:"[LG] webOS TV LF653V"}
[ERROR] [.o.b.c.i.b.VolumeControlVolume] - error: 0 null connection lost
No memory leaks and extra load - maximum on the chart was fixed when openhab service was restarted: