Commit Graph

16 Commits

Author SHA1 Message Date
Paul van Tilburg f1aa6352a0 Add support for non-interactive usage of huec
For example:

  huec scene 1
  huec off 2
2016-02-02 17:34:11 +01:00
Paul van Tilburg bc9fbf73a6 Refresh the promp status every 10 seconds (when showing a new prompt) 2015-12-12 10:05:16 +01:00
Paul van Tilburg c68b56714d Start event/scene number at 0; sync output with bulb info 2015-03-15 18:10:13 +01:00
Paul van Tilburg bd483d55b4 Include Huey in the default namespace for convenience
This allows you to directly access the classes Bulb/Group/Event/etc.
2015-03-15 18:08:59 +01:00
Paul van Tilburg 9783142eb0 Refresh light status every 2 minutes
With recent firmware for the bridge, refreshing is way faster!
2015-03-11 22:41:24 +01:00
Paul van Tilburg 4a58375c65 Enable sync output to stdout (useful for sync log watching) 2015-03-11 22:41:05 +01:00
Paul van Tilburg 4f3a305145 Add commands to load and execute events/activate scenes 2014-11-29 17:38:10 +01:00
Paul van Tilburg cbb9258b39 Store the configuration in an instance variable 2014-11-29 17:37:42 +01:00
Paul van Tilburg 51257cefd1 Actually trigger the parsing of options 2014-11-20 21:40:15 +01:00
Paul van Tilburg 41afbdd72c Add some message during the startup of huec
Also show the discovered lights and groups.
2014-11-20 21:38:10 +01:00
Paul van Tilburg 38cbd0b7d0 Add option parsing to huec (similar to hued) 2014-11-20 21:37:48 +01:00
Paul van Tilburg fc19ae0530 Add missing newline 2014-11-20 21:36:55 +01:00
Paul van Tilburg 23ce14ea2a Add command-line switch to set the configuration directory 2014-11-16 11:53:40 +01:00
Paul van Tilburg 5eb6ddb307 Move default configuration to the Hued module; add config_dir 2014-11-16 11:43:54 +01:00
Paul van Tilburg e2921f9c2e Split up the code into separate files
* Rename the Hued class to Hued::Engine so that Hued can be the containing
  module
* Split off the version to lib/hued/version.rb
* Undo Rule being a nested class of Engine
2014-11-16 11:25:13 +01:00
Paul van Tilburg 7d6ae9c093 Move huec/hued to the bin directory 2014-11-16 11:13:18 +01:00