Giter Site home page Giter Site logo

led-stripe's Introduction

Logo

ioBroker McLighting Hue-Lamp Adapter

=================

Description

The driver allows you to control the RGB strip like a hue lamp on the LEDs WS2811/WS2812 connected to the ESP8266 with firmware McLighting

Using

brightness

Set brightness.

Where is the brightness as value 0-255.

speed

Set speed.

Where is the speed from 0 to 255.

mode

Set mode.

Where is one of the following:

  • off (Turn all LEDs off.)
  • all (Turn all LEDs on in the given or previously set color.)
  • wipe (Turn all LEDs on in the given or previously set color, with wipe effect.)
  • rainbow (Starts rainbow effect.)
  • rainbowCycle (Starts rainbow cycle effect.)
  • theaterchase (Starts theaterchase effect in the given or previously set color.)
  • theaterchaseRainbow (Starts theaterchase effect with changing colors.)
  • tv (Starts TV simulator.)

array_RGB

Light multiple LEDs in the given colors.

+[numled][hexrgb]+[numled][hexrgb]+[numled][hexrgb] [...] or 
[numled][hexrgb],[numled][hexrgb],[numled][hexrgb],[...] 

Where is the number of the led (starting with 00), e.g. 01.

Where is the color as HEX, e.g. 04d2ff.

Example: +09ffffff+19ff0000 OR 09ffffff,19ff0000

color

Set default color of the lamp.

Where <r,g,b> is the color as number (0 - 255), e.g. 32,3,200

If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.

color_R, color_G, color_B

Set default color of the lamp.

Where <r(g)(b)> is the color as number (0 - 255), e.g. 154

If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.

color_RGB

Set default color of the lamp.

Where is the color as HEX, e.g. 04d2ff

If active mode 0 (Static) - Set default color of the lamp and light all LEDs in that color.

list_modes

List of avilable animation modes as array. Result:

[
 {
   "mode": 0,
   "name": "Static"
 },
 {
   "mode": 1,
   "name": "Blink"
 },
 {
   "mode": 2,
   "name": "Breath"
 },
 ...
]

rang_RGB

Light multiple LED ranges in the given colors.

R[rangstart_led][rangend_led][hexrgb]R[rangstart_led][rangend_led][hexrgb]R[rangstart_led][rangend_led][hexrgb] [...] or
[rangstart_led][rangend_led][hexrgb],[rangstart_led][rangend_led][hexrgb],[rangstart_led][rangend_led][hexrgb],[...] 

Where <rangstart_led> is the start number of the range (numbers starting with 00), e.g. 00.

Where <rangend_led> is the end number of the range (numbers starting with 00), e.g. 09.

Where is the color as HEX, e.g. 04d2ff.

Can be repeated multiple times.

Example: R0009ffffffR1019ff0000 OR 0009ffffff,1019ff0000 lights the first 10 LEDs white and the next 10 red

set_all_RGB

Set default color of the lamp and light all LEDs in that color.

Where is the color as HEX, e.g. 04d2ff

single_RGB

Light single LEDs in the given color.

Where is the number of the led (starting with 00), e.g. 01.

Where is the color as HEX, e.g. 04d2ff.

fx_mode

Set animation mode.

Where <animation_mode_id> is on from the list_modes

fx_mode_name

Current name fx_mode

Original Script:

https://github.com/instalator/ioBroker.mclighting Instalator

led-stripe's People

Contributors

elzershark avatar instalator avatar

Stargazers

 avatar  avatar

Watchers

 avatar James Cloos avatar

led-stripe's Issues

Zweiter Streifen

Habe eben festgestellt das wenn man eine zweite Instanz bei Iobroker macht, wird alles zusammen gefasst...also beide Streifen gleich gesteuert!
Kann ich das irgendwo ändern?
Ansonsten TOP!!

Gruß Markus

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.