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 6 made on Thursday September 25, 2008 at 16:21
Fishbones
Long Time Member
Joined:
Posts:
August 2008
14
On September 24, 2008 at 14:47, MVis said...
try

socket.write("GET /web/powerstate?newstate=0 HTTP/1.0\r\n\r\n")

Yes! That works. Thank you very much.

For anyone that needs a workaround for discrete power on/off IR codes for a dreambox you can use the IR power toggle to power on and the following prontoscript to place the receiver in standby.

var socket = new TCPSocket(false);
socket.onConnect = function()
{
socket.write("GET /web/powerstate?newstate=0 HTTP/1.0\r\n\r\n")
socket.close();
};
socket.onClose = function()
{
};
socket.onIOError = function(e)
{
label = "Error: " + e;
};
socket.connect('dreambox_IP',80,3000);


Thank you once again to MVis.

Cheers.


Hosting Services by ipHouse