Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

deluxe

A simple Philips Hue app.

Travis

Install

Deluxe is provided as a self-contained binary. See the releases page for downloads.

To install Deluxe, just place it on your path.

macOS

wget "https://github.com/njlr/deluxe/releases/download/v0.1.0/deluxe-macos" -O /usr/local/bin/deluxe
chmod +x /usr/local/bin/deluxe
deluxe

Linux

sudo wget "https://github.com/njlr/deluxe/releases/download/v0.1.0/deluxe-linux" -O /usr/bin/deluxe
sudo chmod +x /usr/bin/deluxe
deluxe

You may also want to create a shorter alias:

alias dlx=deluxe

Usage

First, you must connect to the Philips Hue Bridge:

deluxe setup

To view your lights:

deluxe status

# Or just
deluxe

To switch lights on and off:

# Switches lights 1, 2 and 3 on
deluxe on 1 2 3

# Switches light 4 off
deluxe off 4

To set the color of your lights (and switch them on):

# Sets lights 1 and 2 to red
deluxe set 1 2 red

# Sets light 3 to #f5ee6b
deluxe set 3 #f5ee6b

# Sets light 4 to rgb(255, 160, 40)
deluxe set 4 "rgb(255, 160, 40)"

You can also use all in place of a light number:

# Set all lights to purple
deluxe set all purple 

Or a light name:

deluxe set bedside-lamp green

Or even a room name:

deluxe set kitchen cyan 

Colors can also be fetched from Google images; just provide a search string:

deluxe set bedroom "forest green"

Build

yarn install
yarn build
node ./dist/index.js

Develop

yarn babel-node ./src/index.js

About

A simple Philips Hue app πŸ’‘πŸŒˆ

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.