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