LG TV IP Driver
I am trying to get LG TV (WebOS) IP control of my TVs throughout the house.
The reason for this is that it allows people to control multiple TVs in different room without the need for IR (Brain)
There is a old driver (2-3yrs old) supporting 2016/2017 TVs. I have tried to load it via SDK and keeps failing with incompatible device. (2018 TV) :-(
Is the original driver creator online (https://github.com/va-lemon) or is there someone who could update it?
I would make the changes, but dont have the skills to build.
I believe it may also be an issue with the new SDK code also :-(
Have you tried to change the lines 7 and 8 of the controler.js file with your own TV mac address and IP address? (sorry if it is a stupid question).
const tvMAC = 'XX:XX:XX:XX:XX:XX'; // LG TV's MAC address needed for the Power On command which uses wake-on-lan const tvIP = '192.168.1.XXX'; // LG TV's IP address used by the webOS TV API commands; websocket unable to resolve LGwebOSTV hostname (seems to convert to lowercase)
Ok, so basically your driver has 2 things to do.
First connect to the brain, second connect to the TV.
For what I understand and see in the code you seems to be stuck at the first step.
The simpler in my personal experience if you can't manage with the host name is directly give the IP address (look like 192.168.1.XXX with XXX being a number from 1 to 255).
To find the IP address the simpler is to connect to your router and check the connected devices. You should find something like TR2-NEEO- afasdfkj. If you can you can reserve the DHCP in order to make sure this IP never change even if you reboot your brain.
But for now, don't bother with that, just find your IP and copy in the line you find.
If your driver load well, it should display "READY! use the NEEO app to ……"
Then if it is still not working that means you are at step 2, let me know I'll try to help you...