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 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.
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.
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 !?!?!?)
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’])
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