Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 2 made on Wednesday February 11, 2009 at 16:53
Cineman
Long Time Member
Joined:
Posts:
October 2008
13
I´m not a programmer. But my light also works with HTML codes TCP/IP.
Perhaps you can use this code .
After GET put your command.

var socket = new TCPSocket(false);
socket.onConnect = function()
{
socket.write("GET /preset?switch=1&value=off HTTP/1.0\r\n\r\n")
socket.close();
};
socket.onClose = function()
{
};
socket.onIOError = function(e)
{
label = "Error: " + e;
};
socket.connect('192.168.1.42', 80, 3000);


Hosting Services by ipHouse