stefannemeth / php-lg-smarttv Goto Github PK
View Code? Open in Web Editor NEWPHP API for the remote control of LG SmartTV (2012-2013 models)
License: Apache License 2.0
PHP API for the remote control of LG SmartTV (2012-2013 models)
License: Apache License 2.0
What command can I use to switch to HDMI2 ?
Parse error: syntax error, unexpected '[' in smartTV.php on line 128.
PHP version: 5.3.13
php_curl enabled.
Fatal error: Uncaught exception 'Exception' with message 'No session id given.' in C:\xampp\htdocs\smartTV.php:133 Stack trace: #0 C:\xampp\htdocs\example.php(40): SmartTV->processCommand(24) #1 {main} thrown in C:\xampp\htdocs\smartTV.php on line 133
What am i doing wrong ?
I ran this
<?php
include 'smartTV.php';
$tv = new SmartTV('192.168.3.44');
$tv->displayPairingKey();
?>
But nothing shows up on the TV. or in terminal.
Am I missing something?
I'm continuing my search but thought I'd drop a note here. Most of the over-the-air stations I would like to change to have a hyphen in the name. e.g., KTVI-DT, KMOV-HD, KSDK-5. These are the names returned when pulling back a list.
From what I am finding, PHP does not like the use of hyphens at all. I'm trying to find some alternatives. Have you run into this? Thoughts?
Thanks,
chris
Does anyone have a copy of the dev documentation ?
It's not available anymore on http://developer.lgappstv.com/TV_HELP/index.jsp?topic=%2Flge.tvsdk.references.book%2Fhtml%2FUDAP%2FUDAP%2FAnnex+A+Table+of+virtual+key+codes+on+remote+Controller.htm
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.