Light & Interactivity: : HUE control workshop

https://tigoe.github.io/hue-control/

https://developers.meethue.com/develop/hue-api/lights-api/


https://172.22.151.181/debug/clip.html

4C:11:AE:91:81:E4

"695148a3-9d92-49df-b2e9-eb325eff1592": {
"last use date": "2022-03-02T20:28:22",
"create date": "2022-02-23T21:08:12",
"name": "lorenaro"
},


To create new 

{'devicetype':'lorenaro'}







Command Response:


[
{
"success": {
"username": "e0pYvbu1tK1yPgiIWb08zCKzJhAuoDHR2fHffeMZ"
}
}
]

-------
http://172.22.151.181/debug/clip.html

URL:  
/api/e0pYvbu1tK1yPgiIWb08zCKzJhAuoDHR2fHffeMZ/lights
**GET



Add library WifiNINA on Arduino
SCANNETWORK to get Mac Address

https://computer.registration.nyu.edu/

Wait Before making a request
Description
Hostnamedevice71994
MAC Address4C11AE9181E4
OWNER NetIDlr2859
NYU Affiliationstudent
Registrant NetIDlr2859
Operating System
Computer TypeOther



Capturing a Lamp From Another Hub

If you’re trying to add a lamp that was previously connected to a different hub, you’ll need to use a different approach. Place the lamp close to the hub with which you want to control it (closer than any other lamp, ideally less than 1 meter). Turn off all other lamps connected to the hub, or make sure they’re much further away than the one you want.

Send the following the debug clip interface using a PUT request:

/api/$HUE_USER/config/

In the body of your request put:

{"touchlink": true}

In curl that’s:

$ curl -X PUT -d '{"touchlink": true}' http://$ADDR/api/$HUE_USER/config

The lamp should blink a few times, and the server will respond with a success message. You can now add the lamp using the find new lamps request described above.


Popular posts from this blog

Socially Engaged Art and Digital Practice week 8

Socially Engaged Art and Digital Practice : week 3

Socially Engaged Art and Digital Practice week 6