Coder Social home page Coder Social logo

neopixelbusfx's Introduction

ATTENTION! Due to an implementation in FHEM the main command has changed to "nfx"!
For now it is also possible to use the old main command "neopixelfx", but maybe I will kick it out at later versions.

List of commands:

nfx off [fadetime] [delay]
o switches the stripe off

nfx on [fadetime] [delay]
o restores last state of the stripe

nfx dim dimvalue
o dim stripe overall
o dimvalue 0-255

nfx line startpixel endpixel color

nfx one pixel color

nfx all color [fadetime] [delay]
nfx rgb color [fadetime] [delay]
nfx fade color [fadetime] [delay]

nfx colorfade startcolor endcolor [startpixel] [endpixel]

nfx rainbow [speed]

nfx kitt color [speed]

nfx comet color [speed]

nfx theatre color [backgroundcolor] [count] [speed]

nfx scan color [backgroundcolor] [speed]

nfx dualscan color [backgroundcolor] [speed]

nfx twinkle color [backgroundcolor] [speed]

nfx twinklefade color [count] [speed]

nfx sparkle color [backgroundcolor] [speed]

nfx wipe color [dotcolor] [speed]

nfx dualwipe color [dotcolor] [speed]

nfx fire [fps] [brightness] [cooling] [sparking]

nfx faketv [startpixel] [endpixel]
Paste faketv.h in ./src

nfx stop
o stops the effect

nfx statusrequest
o sends status

nfx fadetime value in ms
nfx fadedelay value in +/- ms
nfx speed value 0-50
nfx count number of pixels
nfx bgcolor color
o sets default parameter

Use:

needed:
startcolor,endcolor,color,backgroundcolor, dotcolor -> targetcolor in hex format e.g. ff0000 for red

[optional] :
fadetime -> fadetime per pixel in ms
delay -> delay time to next pixel in ms, if delay < 0 fades from other end of the stripe
speed -> 0-50, speed < 0 for reverse

Based on Adafruit Fake TV Light for Engineers, WS2812FX, NeoPixelBus, Lights, NeoPixel - Basic and Candle modules

https://learn.adafruit.com/fake-tv-light-for-engineers/overview
https://github.com/Makuna/NeoPixelBus
https://github.com/letscontrolit/ESPEasy
https://github.com/kitesurfer1404/WS2812FX
https://github.com/ddtlabs/ESPEasy-Plugin-Lights

Thank you to all developers

neopixelbusfx's People

Contributors

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