/rgb-led-server

Homemade smart RGB led light. You can control it from anywhere and any device that can connect to the Internet

Primary LanguageCGNU General Public License v3.0GPL-3.0

RGB Led Server

Homemade smart RGB led light. You can control it from anywhere and any device that can connect to the Internet.

Connect the light to electricity or computer, wait for all the lights to turn white first and then each unit (right, middle and left) one by one and turn on red, green and blue respectively. Request the ip address of the device into your browser, now you can change the color of the lights as you wish with just one click.

image

Also you can control it via Wget, cURL, etc.

Endpoints

  • Solid colors
    • rgb color with hex color code: GET /rgb/:hex-code
      • example usage: /rgb/ff00ff --> magenta
    • all units red: GET /color/r
    • all units green: GET /color/g
    • all units blue: GET /color/b
  • Wavy colors
    • lineer: GET /lineer/:time-level
      • braething with lineer color changing (red -> green -> blue)
    • fade: GET /fade/:time-level
      • soft color changing (hue)
    • wave: GET /wave/:time-level
      • soft and unit based color changing

Examples

/color/r

red-screenshot

/color/g

green-screenshot

/color/b

blue-screenshot

/rgb/3205de

rgb-screenshot

/lineer/2

lineer-video

/fade/2

fade-video

/wave/2

wave-video

For developers

File Structure

.
├── LICENSE
├── panel.h # rgb panel controller
├── README.md
├── rgb_led.ino  # MAIN FILE
└── server.h # http server