The Philips Hue API

First, let’s perform a very simple command and get information about your Hue system. Fill in the details, leaving the body box empty, and press the GET button:

Address http://<bridge ip address>/api/newdeveloper
Body
Method GET

You should see a response similar to what is shown in the following screenshot:

Now, this is the command to fetch all information in the bridge. You didn’t get much back, and that’s because you’re using an unauthorized username: newdeveloper.

We need to use the randomly generated username that the bridge creates for you. Fill in the following information and press the POST button: ...

Get Raspberry Pi 3 Home Automation Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.