random-hue-color
v1.0.1
Published
Connect with your local Hue bridge and use a random scene.
Downloads
4
Maintainers
Readme
random-hue-color
Connect with your local Hue bridge and use a random scene.
This script requires a Hue bridge to be set up properly on your local network. Make sure your lights are turned on before running this script, otherwise nothing will happen.
Install
$ npm install
Usage
$ node .
When running this script for the first time, you'll probably get the following error message:
It looks like your bridge is not connected. Please press the link button on your Hue bridge to allow user registration and try again!
This means you'll need to press the "link" button on your Hue bridge to allow API user registrations. After doing this, run the script again to complete user registration.
When a new user has been registered, the script will return a new API key. Make sure you save this API key in the config object in config.js
. This API key will be used the next time you run the script again.