A Ruby library & CLI for interacting with Philips Hue.
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