Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (32 loc) · 1.01 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.01 KB

Project Archived

This repository is now archived. I recommend using openhue-cli instead.

Busy Light

Uses the Hue Light API to set colors via the command line. This tool is incredibly bare bones and has almost no error handling at all.

Usage

Install Dependencies

yarn

First you must initialize the application

node . --init "App Name"

For example something like:

node . --init my-app

You will then need to press the button on your Hue Bridge to confirm.

This will create a file named busylight.json which will contain the details of the authorized user you just created. You can now set lights.

Then you can set light colors

node . -l "Light Name" -c "Color Name"

For example if you have a Hue Light named "desk-lamp" and you want to set it to the color blue, you could run:

node . -l desk-lamp -c blue

For more usage details run node . --help.