Hi everyone! I wanted to share my recent success in integrating my LG webOS Smart TV with Node-Red. It was a bit of a journey, but I managed to get everything working smoothly. Here’s how I did it:First, I followed the instructions from the Home Assistant documentation to set up the TV integration. Everything went smoothly, and the TV showed up in my Home Assistant GUI. I could control basic functions like turning it on and off, changing the channel, and adjusting the volume. It was great to see the TV working within my smart home ecosystem.However, when I tried to use the TV in one of my Node-Red automations, I noticed that the TV’s Entity ID wasn’t showing up in the Node-Red interface. This was a bit confusing because I knew the TV was integrated with Home Assistant. I checked the Node-Red nodes and tried installing the ‘node-red-contrib-lgtv’ package, but it didn’t seem to connect properly with my webOS TV.After some research and troubleshooting, I realized that the issue might be with the Node-Red configuration. I decided to dive deeper into the settings and ensure that the TV was properly recognized by Node-Red. I also looked into the Home Assistant logs to see if there were any errors or warnings related to the TV integration.To my relief, I found that the TV was indeed recognized by Home Assistant, but there was a slight mismatch in how the Entity ID was being referenced in Node-Red. I adjusted the Node-Red flow to use the correct Entity ID format, and voilà! The TV started showing up in Node-Red, and my automation worked perfectly.This experience taught me the importance of double-checking configurations and consulting logs when troubleshooting. It was a bit frustrating at first, but solving the problem gave me a great sense of accomplishment. I’m now able to automate my TV seamlessly with Node-Red, which has really enhanced my smart home setup.I hope this helps anyone else who might be struggling with similar issues. Happy automating! ![]()
I am trying to do the same, via HA I can control the LG TV but not with Node Red. I also tried node-red-contrib-lgtv but it could not find my tv. You mention that there is a trick with the entity name to be used in Node Red, could you please share your experience?
Thanks !!