An open API service indexing awesome lists of open source software.

https://github.com/larsbergqvist/philips_hue_react_app

This is a simple ReactJS web application that shows how the Philips Hue API can be used for controlling Philips Hue lights
https://github.com/larsbergqvist/philips_hue_react_app

es6-javascript material-ui philips-hue react reactjs

Last synced: 3 months ago
JSON representation

This is a simple ReactJS web application that shows how the Philips Hue API can be used for controlling Philips Hue lights

Awesome Lists containing this project

README

        

# philips_hue_react_app
![CI](https://github.com/larsbergqvist/philips_hue_react_app/actions/workflows/ci.yml/badge.svg)


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):

```yaml
{
"apiUrl": "http://192.168.1.17",
"username": "KEtjVEVUf5LupVexQYPry8xXRddda"
}
```

Then run install and start:
```
yarn install
yarn start
```

![Alt text](https://github.com/LarsBergqvist/philips_hue_react_app/blob/master/screenshot.png?raw=true "A ReactJS app for controlling Philips Hue lights")