Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 895 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 895 Bytes

huecontrol

Control Philips Hue lights using a Leapmotion controller.

The aim of this project is to make use of the existing gestures that come with the Leapmotion SDK (docs) and issue commands via Hue API to trigger different lighting effects. As a prerequisite, the Leapmotion V2 SDK must be installed and running on the device. Data transmission happens via websockets.

As of now, the script will manage all of the lights registered in the hue.js file. The script will also not create a Hue user and requires a username in order to work.

The following gestures will have an effect on the lights:

  • Swipe up/down: adjust brightness
  • Circle: random color

The script can be run using the following command:

npm run huecontrol <bridge-ip> <hue-user>