Post 31 made on Monday November 29, 2010 at 09:00 |
lscolman2 Long Time Member |
Joined: Posts: | July 2003 216 |
|
|
Hi,
I had put 113 (Mute) as an example, as that was the command I was working on at the time on the config file.
I had tried sending this last night:-
socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n") socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n") socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n")
to select channel 111, but it just sends the first command. I also tried this:-
socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n") socket.close(); socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n") socket.close(); socket.write("GET /web/remotecontrol?command=2 HTTP/1.0\r\n\r\n") socket.close();
but again only the first command '1' was sent. As you can probably tell, I'm a rank amateur at prontoscript.
Cheers, Lee
|
|
|