GithubHelp home page GithubHelp logo

hue-controller's Introduction

Note!

I rewrote most of this as an app that is far more user friendly. If you just want something that works and has far more features and is easier to use, take a look at http://huelightsapp.com.

Overview

With this, you get full control over your Hue light bulbs. You can easily view light status, do complex controls of your lights such as pulsing a color.

Sets let you save a light configuration and then easily restore or turn it off later. You can even use this on simple browsers like a Kindle. No need to find your phone to turn on reading lights, or turn them off after you're done.

Browser requirements

The goal is for most of this to work under modern browsers. Any reasonably up to date version of Chrome, Firefox or Safari should work fine. IE9 and up should also work, but isn't guaranteed.

Examples

To view screenshots of the app in action, click here

Running

For installing Ruby on Linux or OSX, try RVM For Windows, try Ruby Installer. I haven't used this so no promises on how well it works.

Any Ruby 1.9.3+ version should work, JRuby 1.7.x is optimal for the background worker, but not required. You might be able to use a 1.8.7 version of Ruby, but I've not tested it.

Got Ruby installed? Next:

  1. Run gem install bundler if you don't have bundler installed (when in doubt, you can just run it safely)

  2. Run bundle install

  3. Run thin -R config.ru -p 9200 -e production start, this starts the web server

  4. Run ruby worker.rb --cores 2 -e production, this starts the background worker

  5. Go to http://localhost:9200

  6. Enjoy!

Contributing

Pull requests are more than welcome if you want to add new functionality or ways of extending the Hue lightbulbs.

You can find documentation on the API at: http://blog.ef.net/2012/11/02/philips-hue-api.html

Disclaimer

All of this uses the standard APIs, but it does give you more granular access to the API than the official apps do.

While you shouldn't be able to break your lights by using this, if you set your lights to pulse every 100ms for 6 hours and they break, it's your own fault.

hue-controller's People

Contributors

zanker avatar j15e avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.