A PHP API for the LG SmartTV (pre 2012) which uses the HDCP protocol instead of the more modern (2012+) that use ROAP.
You're able to execute commands and queries.
Query examples: Get current channel info,TV Model
Command examples: All the keys on the remote and others like: HDMI1-HDMI4, RGB, COMPONENT, AV1, AV2, AV3, Aspect Ratio 4:3, Aspect Ratio 16:9
NEEDS CURL
Check the example.php
for example of usage.
Check the smartTV.php
file for the list of commands and queries.
This code was adapted from PHP-LG-SmartTV by Steve Winfield.