So, it work now. First I registered my Hue system:
[Link: developers.meethue.com]Then I use these script:
[Link: everyhue.com]But I set each lamp with this line:
socket.write('PUT /api/newdeveloper/lights/1/state HTTP/1.0\r\nContent-Length: '+commands.length+'\r\n\r\n'+commands);
Best,
Patrick