LG Smart TV 2012+ Integration

Hi, I was able to follow most of this post and ur directions except for the postman part to get the pairing key. I tried it exactly as u said…assuming “HOST” is where I put my TV’s IP followed by the port 8080? Not entirely sure if I did it right…but it returns nothing. It fails to prompt my TV to display the pairing key. Plz help…this is my first try at doing this. I have an LG OLED C7 TV.

Hi Sam,

You mentioned in the comment that you have configured to allow other apps to see it as a switch. This isnt the case for Webcore. Nothing is present when you try to add the Device under the avaliable devices list.

I have the Smartapp working but would be great to allow the TV (even just the Off Switch) to be included in Webcore Pistons.

Thanks

Hi

I’m trying to pair the app with the TV. The app requests the pin and the pin is displayed on the TV but there is nowhere I can enter the pin on the app all I can select is done.

Any ideas this is in the new smartthings app.

Thanks
Tony

@Tony_Kerwin ,
As I see that nobody answers you, I tell you that have modified the samrtapp and the DTH and although it does not work well, it still does not show where to write the TV key, but the device controller can be created and it works.
As they say in previous posts, it is only valid to “turn off the TV” and this is for the reason that when these TVs are OFF, the TV network does not work and therefore it is impossible to send the “power on” command.
The other functions do not work because the new smartthings app only recognizes the “switch tile” and therefore other commands can’t be sent.
If you are still interested, I will give you the links

Hi.
Could you please send link to me too?

Modified app & DTH with links in post number 48

My TV is older model and is impossible turn on with wake Up on lan command, but if your TV is new webos model, could turn on as say this post.

@Alexander_vm & @Tony_Kerwin,
Fixed problem to find TV and write TV key in smart app.
I delete the previous links and put the news.

INSTALL STEPS :

  • -Create and publish samrtapp and Controller DTH in IDE.
  • -Open The App, click on “Discovery” to found TV.
  • -If Show ‘Select LG TV(0 found)’ click next until ‘Select LG TV(1 found)’, then ‘Tap to set’ to select IP TV"
  • -Select the TV app found, just find 1. click on “done” the key code will appears on the TV screen, take note of it.
  • -(Every 15 seconds refresch TV found and clean the previous selection)
  • -Click on “TV Key”, write the copied code TV key and click done.
  • -NOTE: Device controller only works to turn off the TV. When these LG TVs are OFF the network does not work and therefore it is impossible to turn them ON
  • IMPORTANT: You must be configure in your router Fix IP for your TV or TV IP will change even 12 Hours normally

I tried following the instructions in your post but I get stuck on:

-If Show ‘Select LG TV(0 found)’ click next until ‘Select LG TV(1 found)’, then ‘Tap to set’ to select IP TV"

When I click next it takes me back to the main screen which shows Discovery and TV Key. Should I keep going back into Discovery and then clicking Next? Also, how long should I wait while it is searching before I click Next?

@alexcapone,

You better use this other app and DTH. It works better and has more functions, mute, power save screen off and refresh the status every 5 minutes.

Important, these LG TVs if you turn them off with the remote control or from the app, you can only turn them on again with the remote control.
If you just want to turn the TV on and off, you can put a smart plug, zigbee or zwave for the TV. As the TV remembers the last state, you can always turn it off and on with the smart plug, which is almost the same as the app does.