Controlling a Panasonic Tv With Php

rokujuuyon from the cocoontech.com forum wrote a php class to this.
i tested it successfully with my Panasonic GT50 (VIERA GT50 Series).

here is the link to rokujuuyons php class. if the first link is down, please use the mirror: mirror link (use this only if the original is down please)

thank you rokujuuyon!



It basicaly uses SOAP to control the TV.
You can send a key like channel down, channel up, volume control ... everything the iPhone App can do to.

Example:
$tv = new vieraControl; $tv->host = "192.168.5.122"; // replace with the ip address of your tv $tv->sendKey("NRC_CH_DOWN-ONOFF"); ?>

This example will change the channel.
There is a keylist in the vieracontrolclass.php file.

User 'Remote32' from coccontech forum found out some more commands:

NRC_HDMI1-ONOFF NRC_HDMI2-ONOFF
NRC_HDMI3-ONOFF

(switches the input to HDMI1, HDMI2 or HDMI3)