It uses the excellent FastLed library, that provide smooth dimming, HSV colors and pave the way to support pixel type led strips.
Features :
- Controls basic RGB Led Strips
- [TODO] Controls basic RGBW(W) Led Strips
- [TODO] Controls various "Pixels" Led Strips
- RGB or HSV commands
- Various Animations mode
- [TODO] Supports Infra-Red Remotes
- Smooth Diming (thanks to FastLED lib)
- Rainbow color map (thanks to FastLED lib)
List of commands :
- ON
- OFF
- RGB,<red 0-255>,<green 0-255>,<blue 0-255>
- HSV,<hue 0-255>,<saturation 0-255>,<value/brightness 0-255>
- HUE,<hue 0-255>
- SAT,<saturation 0-255>
- VAL,<value/brightness 0-255>
- DIM,<value/brightness 0-255>
- H_RGB,<RGB HEX COLOR > ie FF0000 for red
- H_HSV,<HSV HEX COLOR > ie 00FFFF for red
- SPEED,<0-65535> Fast to slow
- MODE,<mode 0-6>,<Speed 1-65535>
Available Modes:
- 0 : OFF
- 1 : ON
- 2 : Flash
- 3 : Strobe
- 4 : Fade
- 5 : Smooth
- 6 : Party
Command Examples :
- /control?cmd=ON .................Turn Leds On
- /control?cmd=OFF .................Turn Leds Off
- /control?cmd=RGB,255,0,0 .......Set Leds to Red
- /control?cmd=HSV,0,255,255 .....Set Leds to Red
- /control?cmd=Mode,2 ..............Animate Leds in "Flash" mode
- /control?cmd=Mode,5,400 .........Animate Leds in "Smooth" mode, with a speed of 400
Recommended Hardware :
It works out of the box on theses very cheap hackable chinese devices :
- Huacanxing H801 ...... (Flash guide)
- Magic Home ............... (Flash guide)
Please test it and report feedback here.
Enjoy