I searched for TV integration and LG integration and found some very old threads.
Does anyone have recommendations for integrating a smart TV?
I have a few year old LG 55UJ6300, with no external boxes (apple, roku, etc).
I am really interested in knowing if the TV is on or off, in order to control the lights in the room. I could use a smart power strip for this.
However, if easy to set up, I would set up doorbell camera video and other functionalities. There could be some cool opportunities.
While I’m using Harmony remote to control it, the real status is difficult to handle. The lgtv library is able to get current status (as I said, input and/or apps, volume, etc), so I could easily respond to TV’s events (even if I’m using the normal remote, the Sky’s on, or Harmony’s one/apps). It’s really useful.
Plus, you could also control the TV without the Harmony remote, if you want (but I’m still using it, because I could control my Sky Box from another room, since I have a distribution system in place).
I wrote my own node app using LGTV2 library and pushing it Vera’s variables (TV’s off now). I think you could do it with node-red, or LGTV2mqtt as well. Since it’s based on a websocket, I didn’t look at implementing it in LUA. I’m also sending TTS messages to the TV as push messages, and it’s really useful when late night or the volume is so high I could not hear the TTS messages coming from Alexa. I could share it, if anyone wants a simple way to do it on a separate box.
Hi, bit late seeing this thread… Fwiw, I also use Harmony to control my LG TV. I also use netmon, to ping the TV IP address and check if it is on.
Works well in case I get out of sync between my DVR and tv boxes. Also I can check if the TV is already on, if not turn on at 6pm weekdays and change to 104 for the Simpsons
Octoplayer
Best Home Automation shopping experience. Shop at Ezlo!