Skip to content

Control Philips Hue lights using a Leapmotion hand tracker

License

Notifications You must be signed in to change notification settings

stefangeyer/huecontrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Control Philips Hue lights using a Leapmotion hand tracker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published