Coder Social home page Coder Social logo

pylifx's Introduction

A Python library to control and monitor LIFX bulbs. Also provides a workaround
for users having issues with controlling LIFX bulbs on their network.

GitHub: https://github.com/derkarnold/pylifx
PyPi: https://pypi.python.org/pypi/pylifx

Originally written to allow the LIFX bulb to work in non-standard networks, but
it is growing to be much more.

Contributors: Deryck Arnold, Michael Farrell (micolous)

Huge thanks to Kevin Bowman(magicmonkey) and others for the lifxjs project on GitHub:
    https://github.com/magicmonkey/lifxjs/

Without their work on the lifxjs project, this one would not have been possible.

Current features:

  * Allows the LIFX bulb smartphone app to work by "faking" a bulb and relaying
    commands to the real one (see examples/bridge.py).
  * Gives the ability to display the contents of LIFX messages coming through.
    ** Huge thanks to magicmonkey and the lifxjs project for their hard work on
    working out the LIFX protocol.
  * The ability to run "scenes" - provide a dictionary of times and colours and
    the library will do the rest (see examples/sunrise.py).
  * Using multiple bulbs behind a single PAN gateway.

Upcoming features:

  * Auto-discovery of bulbs (yes, should have been there already).

How to install:

  * Get Python (tested with 2.7, others may work). I use the Python(x, y) distribution.
  * Ensure you have the Python setuptools.
  * Run "easy_install pylifx" from a command prompt or terminal.
  * You're done.

Two common issues with installing:

  * Linux users - ensure you have python-dev installed (for the netifaces package).
  * Windows users - install the pre-built binaries for your python distribution
    using the links in the following URL: http://alastairs-place.net/projects/netifaces/
    (The section is just above the start of the Changelog section).

pylifx's People

Contributors

derkarnold avatar michaelaquilina avatar micolous avatar

Watchers

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