This is a simple ReactJS web application that shows how the Philips Hue API can be used for controlling Philips Hue lights.
Usage:
Get the IP-address of your Philips Hue bridge and fetch a new username token (see https://developers.meethue.com/documentation/getting-started).
Modify src/config.json with the IP address and the username:
It should look somethins like (with example IP and a scrambled user name):
{
"apiUrl": "http://192.168.1.17",
"username": "KEtjVEVUf5LupVexQYPry8xXRddda"
}
Then run install and start:
yarn install
yarn start