Git Product home page Git Product logo

python-wifi-leds's Introduction

WifiLEDs Python Library

This package is dedicated to being a cohesive resource point for Wifi LED lighting through Python.

This package currently only contains the API layer for LimitlessLED bulbs ($16/$19 / bulb), but will soon expand to LIFX bulbs ($80 / bulb) which are set to ship in August/September 2013.

Philips hue ($60 / bulb) may be looked at into the future, but is currently a bit expensive for a full house system. Other Python APIs do exist and are linked here. If any one feels like they want to merge projects, feel free to reach me via GitHub.

Future products that we're looking forward to include:

  • From LimitlessLED:
    • 6W (600 lm) Dual White 2.4Ghz/RF Downlight (June 2013) ~$37 USD
    • 12W (1100 lm) Dual White 2.4Ghz/RF Downlight (June 2013) ~$47 USD
    • 8W Dual White Bulbs (August 2013) ~$17 USD
    • Brighter RGB+White 2.4Ghz/RF Bulbs (October 2013) ~$19 USD
    • New WiFi Bridge (unlimited groups and individual bulb control) (February 2014) ~$17 USD
    • Glass on Black 2.4Ghz/RF In-Wall Switches (October 2014) ~$9 USD

Feel free to add to the list of upcoming products and/or manufactures.

Binary Examples

See bin for example executables for each supported system.

Module Installation

Install the Python module by running:

pip install wifileds

Then import the module into your code using:

import wifileds

For each submodule's specific usage, read the README.md in the respective directory.

Coding Examples

See tests for example scripts for each supported system.

Contribution

Feel free to contribute code fixes, new effects, or even new WiFi LED systems via GitHub pull requests.

python-wifi-leds's People

Contributors

joaquincasares avatar ojaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-wifi-leds's Issues

Using TCP as optionnal feature

Hello,

My controller (firmware 3.00.08) seems to offers the possibility to use TCP instead of UDP.
I tested your library yesterday and had sometimes packet transmitted but not received by the controller.
Should be great to use TCP to avoid this kind of things, even if you transmit few times the udp packet to avoid this behavior.

What do you think about this ?
Anyway, I wanted to thanks you a lot, you saved me a LOT of time by sharing this library. I will use it in my project ! Thanks !

Support for Python3?

I've been trying to update this to support Python3. The main thing was changing print calls to use brackets, but now I'm getting the following error:

Traceback (most recent call last): File "NG-led.py", line 1, in <module> import limitlessled File "..../limitlessled/__init__.py", line 2, in <module> from . import effects File "..../limitlessled/effects/__init__.py", line 5, in <module> __import__(module[:-3], locals(), globals()) ImportError: No module named 'colorful_strobe'

Any idea what the problem is? What's the code in `effects/init.py' doing?

error running script

I have this python script:

!/usr/bin/env python

import wifileds

led_connection = wifileds.limitlessled.connect('192.168.2.10', 8899)

led_connection.rgbw.zone_on(1)

wich gives this error:

AttributeError: 'module' object has no attribute 'limitlessled'

Am I misisng something in the above code?

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.