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
Command Response:
| Description | |
|---|---|
| Hostname | device71994 |
| MAC Address | 4C11AE9181E4 |
| OWNER NetID | lr2859 |
| NYU Affiliation | student |
| Registrant NetID | lr2859 |
| Operating System | |
| Computer Type | Other |
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.