I don't know if it's possible to send commands to lg tvs by network, i needed to control my avr and wrote this plugin to send telnet commands to it. [Plugin]Marantz Control Plugin 0.0.0.2 it's not hdmi- cec, but at that time fixed my problem and still working.Well that doesn't sound promising since the first post said that hardware is required, and I view UHD content.
Is there any other hardware that works?