A Ruby library & CLI for interacting with Philips Hue.
- Philips Hue API Documentation: http://www.developers.meethue.com/philips-hue-api
- lights on RubyGems: https://rubygems.org/gems/lights
gem install lights
require 'lights'
client = Lights.new( '192.168.x.x', 'username' )
client.register
client.request_bulb_list
See lights-examples for more usage examples.
lights discover -s
lights register
lights list
lights on
lights off
See Sample Usage (Implemented) for more usage examples.
bundle exec rspec spec/
bundle exec cucumber spec/features/
or
rake test
rake build
rake install