Post 24 made on Saturday January 28, 2017 at 07:51 |
calston Long Time Member |
Joined: Posts: | March 2005 115 |
|
|
Many thanks for this - how do I switch a specific light on and off - i've identified the specific reference number for each lamp Is it a case of changing in the following "all" to the specific ID of the lamp? socket.write('PUT /api/Hue User ID Here/groups/all/action HTTP/1.1\r\nContent-Length: '+commands.length+'\r\n\r\n'+commands);
|
|
|