Git Product home page Git Product logo

libnexturn's Introduction

LibNexturn

A command line interface to control a Nyrius Smart Bulb

Dependencies

Depends on the fantastic bluepy BTLE library.

Bluetooth 4.0 (BTLE) support in hardware

Tested on python 2.7

TODO

  • Add support for color preset file

  • Further investigation into other bluetooth "endpoints"

EXAMPLES

All examples show the minimum arguments needed to work.

COLOR

control.py rgb

DEFAULT MODE

Set a particular color

python control.py rgb color -a C4:ED:BA:56:00:00 --red 0 --green 102 --blue 202

RANDOM

Sets a random color, currently mostly light colors / pastels

python control.py rgb random -a C4:ED:BA:56:00:00

HSV

control.py hue

DEFAULT MODE

HSV Control mode

python control.py hue color -a C4:ED:BA:56:00:00 --hue 0

MINMAX

Pick a min Hue and a maximum hue, will select a color between the two values. If min > max, we go around the other direction

python control.py hue minmax -a C4:ED:BA:56:00:00 --min 192 --max 15

CONFIGURATION AND NAME

TODO

CHANGELOG

0.3 - 2014-07-04

  • Refactored into reusable classes
  • Exploration into name setting, name getting, no luck just yet.
  • Better usage of argparse
  • COL Bounce
  • Updated Examples
  • Sync modes for randoms, set all bulbs to the same random color, instead of individually --sync0

0.2 - 2014-06-23

  • HSV Mode
  • HSV MinMax
  • COL Random

0.1 - 2014-06-21

  • Initial Version with COL mode

libnexturn's People

Contributors

gmorell avatar mobad avatar

Stargazers

 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.