Giter VIP home page Giter VIP logo

hue-client's Introduction

Python Hue Client

This is a very simple Philips Hue client written in Python. It is not significant that it's written in Python, but to the best of my knowledge the only other maintained command line Hue client is written in Node. So now there's one written in Python.

Installation

You should be able to install this using setuptools, assuming that you have setuptools installed.

pip install setuptools

python setup.py install

This will install a script called hue-client somewhere on your path. You can now start using hue-client!

Usage

This client supports basic operations right now. Adding more operations is not too difficult, so things will get added as I have time and attention. Pull requests welcome.

Start by finding your Hue bridge IP. If you know it, great. If you don't, hue-client search.

Now, register a new user on the bridge so that the client is authorized to control your lights. Run hue-client register <bridge IP>, and then press the button on your Hue bridge. If all goes well, a configuration file will be written to ~/.hue-client.ini.

The INI file name and location can be customized by calling hue-client with the option --config <path to config>. This is useful for using this client in a batch processing mode; just copy the config to somewhere the batch script can find it, and add --config <path to config> to the commands it runs.

You can peruse the help yourself with hue-client --help and then calling --help on the various sub-commands. Of particular interest is hue-client lights --help.

hue-client's People

Contributors

aaronbieber avatar

Watchers

James Cloos avatar  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.