All Projects → wellsjo → Leapmotion Hue Controller

wellsjo / Leapmotion Hue Controller

Licence: mit
LeapMotion controller for Philips Hue light system - use your hands to control the color & brightness

Programming Languages

javascript
184084 projects - #8 most used programming language

Leap Motion Hue Controller

Control your hue light system with your hands using a LeapMotion controller.

This is a node application that connects the LeapMotion to the Philips Hue api. Philips Hue lights are controlled over a REST interface by a small piece of hardware. I use the LeapMotion to calculate x/y coordinates of your palm relative to the sensor, then convert that to the color and brightness scale for the LEDs. The result is quite fun to play around with.

alt tag

To use:

  • download and install the LeapMotion SDK from here https://developer.leapmotion.com/
  • plug in your LeapMotion Controller
  • open the terminal and run these commands in order:
git clone [email protected]:wellsjo/LeapMotion-Hue-Controller.git && cd LeapMotion-Hue-Controller
npm install
./run.sh

And there you have it! Control the brightness by moving your hand up and down, and the color by moving your hand from left to right. You can turn the lights off by moving your hand down. To hold a color, just pull your hand out of the LeapMotion's field of view.

##License MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].