Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.
/ LedController Public archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

248 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LedController

The docker-based LedController.

Video player

Run the following command to start the video light show:

python ./video.py --video <video> --loop

For example:

python ./video.py --video ./video/windows_21_dec.mp4 --loop

Piano

Run the following command to start the piano light show:

python ./piano.py

Web API

Start the web API:

python ./main.py

Endpoints:

Method Endpoint Description
GET / Returns a web console to control the LED lights.
GET /info Returns information about the API and its capabilities.
GET /health Health check endpoint to verify if the WLED controllers are reachable.
POST /christmas Starts the Christmas animation.
DELETE /christmas Stops any ongoing video playback.
POST /piano/{controller_idx}/{window_idx} Lights up exactly one window (20 LEDs) in white for a given controller+window. All other LEDs are off (black).
DELETE /piano Stops any ongoing video playback.
GET /video Returns the names (without extension) of all .mp4 files in the /videos folder.
POST /video/{video_name} Starts looping the given video file.
DELETE /video Stops any ongoing video playback.
DELETE /video/{video_name} Stops any ongoing video playback.
GET /brightness Returns the current brightness value.
POST /brightness/{value} Sets brightness (0-255) on all WLED controllers.

About

The docker-based LedController

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages