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 7 made on Saturday March 19, 2022 at 22:04
laalves
Long Time Member
Joined:
Posts:
February 2008
26
And the winner is:


var socket = new TCPSocket(false);
socket.onConnect = function()
{
socket.write("GET /apps/api/150/devices/1153/on?access_token=a43ebdcb-bc49-4a37-a419-b30304277ed6 HTTP/1.0\r\nHost: 192.168.70.100\r\nConnection: close\r\n\r\n")
socket.close();
};
socket.onClose = function()
{
};
socket.connect("192.168.70.100",80,1000);


This works just fine. I can now control any Hubitat device from any of my Prontos.

THANKS Lyndel!


Hosting Services by ipHouse