LG WebOS sources

I’m new to HA but have learned a lot in the last couple weeks of having it installed. A bunch of trial and error has gotten most of what I want working (minimal setup). I picked up a new LG TV recently and want to add it to my HA setup. I’ve been able to setup the media player and it automatically added sources (livetv, HDMI1, HDMI3).

I would like to add Netflix, Amazon Prime and a couple others. My research shows I should be able to add simple names under source: and it will be recognized. This seems to work with youtube but nothing else. I’m looking for any input as to options I can try.

Here is what I’m using:

media_player:

  • platform: webostv
    host: 192.168.1.94
    mac: 14:C9:13:7E:4C:BC
    name: Living Room TV
    customize:
    sources:
    - youtube

Thanks for the help.

1 Like

This worked for me

customize:
  sources:
    - hdmi1
    - hdmi2
    - livetv
    - 'Amazon Prime Video'
    - netflix
    - youtube

Thanks for the input. I gave this a try and I get an “invalid config”. I’ve tried several configurations and I’ve only be able to add youtube. I’m sure it’s a typo on my part somewhere. I’m not sure how to paste my example and keep the correct formatting.

Just copy/paste in the reply window, select the text that should look as code/config and press the “</>” button.

I am guessing that you have a yaml indentation problem.

Has anyone ran into problems with the pairing request not popping up on the tv?

nope, this worked fine for me

I can’t get any pairing request to pop up on the tv after I hit pair on HA.

I have the same question with you. have you solve it now?

Unfortunately I could never get the request to pop up on the 2015 lg tv. I actually just received a 2016 lg OLED and the request popped right up and is working perfectly.

Thank you very much! is your 2015 LG TV webos 2.0 or 3.0 ?maybe HA just work with webOS 3.0.

Has it ever popped up ? Assuming you have the right IP address and MAC address in there? And does the same TV work with iPhone/Android apps?

I have tried many times,it never popped up. I have not tried it with iphone/andriod apps.I will try it.thank you!

The 2015 model was WebOS 3.0 and it worked perfectly with the Android app. I definitely had the IP and Mac address right just still no luck with getting it integrated with HA.

When you said WORKED with the android app, check that it still does. Then, check on your file system for a file called .pylgtv I think (that’s a period then pylgtv) or webostv.conf. If you find them, delete them (or rename them) and try again. Mine were causing an issue. If the TV isn’t popping up with the authentication request, it means the module thinks it has connected. Also check HASS logs for anything of note.

I would also double check the indentation. It should look something like this:
(I’ve replaced spaces with * - cannot get it to stop removing my spaces !?!?!?)

media_player MyLgTV:
**- platform: webostv
****host: 192.168.0.150
****mac: 3C:CC:93:34:BA:64
****name: FamilyTV

If that doesn’t work, try the basic Python program below - this should force authentication from the TV, so you can at least know the TV part is still good)


from pylgtv import WebOsClient

webos_client = WebOsClient(‘192.168.0.151’)
for app in webos_client.get_apps():
print(app[‘title’])

thank you,I will try and then report the result.

Hi, i need of your help. I want to create a script for change the sources of My lg tv with webos 3. This work from tv menu of hass.io, but i want to create a script for use it with Google home. Thanks