Skip to content

ESP8266 API to control WS2811/2812b LEDs thru simple JSON commands

Notifications You must be signed in to change notification settings

tnk-rin/ESP2812b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP2812b

ESP2812b is a simple API for controlling NeoPixels and other WS2812b/WS2811 addressable LED strips with short JSON files.

Libraries Used

Endpoints

  • /solid

    • Sets all LEDs to the same color
    • /solid?c=FF0000
  • /pattern

    • Sets LEDs to repeating set of array of colors
    • /pattern?json=["FF0000", "009900"]
  • /chaser

    • Similar behavior to /pattern with the addition of a light chaser effect
    • /chaser?json={"p": ["FF0000", "00FF00", "0000FF"], "time": 300}
  • /sparkle (Not Implemented)

    • Displays a pattern onto the strip with random flashes of a specified color
    • /sparkle?json={"p": ["FF0000", "009900"], "time": 100, "spark_color": "FFFFFF"}
  • /json

    • Test area to ensure json parsing is working as intended
    • /json?json={"any": "valid json works", "here": [6,42]}

All colors are hex RGB values, all times are in milliseconds

About

ESP8266 API to control WS2811/2812b LEDs thru simple JSON commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages