$ bundle exec ruby ./bin/leap-hue-controller
$ bundle exec ruby ./bin/leap-hue-controller --transition-duration=0.4
$ bundle exec ruby ./bin/leap-hue-controller --delay=0.7
$ bundle exec ruby ./bin/leap-hue-controller --transition-duration=0.2 --delay=1
Press ctrl+C to stop.
Duration to transite to target state(hue, saturation brightness) in seconds. Defaults to 0.4. If you want to make lights respond more quickly, set smaller value.
Delayed time to change the state of a light from previous one in seconds. Defaults to 0. If you want to delay the timing each light responds to your manipulation, set positive value.
Use a hand to manipulate Philips Hue with Leap Motion Controller.
Face your palm upward/inward/downward to change hue.
Change the number of fingers held up.
Make hand far away to increase linghtening.
- Simple use - http://youtu.be/WjlF6BD04zs
- Multiple lights - http://youtu.be/lI_N7zFvIgo
- Ruby
- Leap Motion Controller
- Philips Hue
$ gem install bundler
$ git clone https://github.com/KitaitiMakoto/leap-hue-controller.git
$ cd leap-hue-controller
$ bundle install --path=deps
- Press button on Hue bridge
- Execute some Hue command:
$ bundle exec hue all on
$ bundle exec ruby ./bin/leap-hue-controller