Controlling WLED Matrix panel from a RestfulAPI
|
|
1 månad sedan | |
|---|---|---|
| icons | 1 månad sedan | |
| LED Enclosure.scad | 1 månad sedan | |
| LED Frame.scad | 1 månad sedan | |
| LED Front grid.scad | 1 månad sedan | |
| LED Grill support.scad | 1 månad sedan | |
| LED_LENS.scad | 1 månad sedan | |
| README.md | 1 månad sedan | |
| demo.jpg | 1 månad sedan | |
| matrix_billboard.py | 1 månad sedan |
A high-density 1,536-pixel (48x32) modular LED matrix built across 6 panels in a 3x2 landscape layout. Features custom 3D-printed prismatic diffuser lenses and a thread-safe Python HTTP daemon streaming real-time DDP (Distributed Display Protocol) frame buffers to WLED.
3D CAD files, OpenSCAD scripts, and assembly specs are published on Thingiverse:
https://www.thingiverse.com/thing:7391918
solid, rainbow, gradient-h (horizontal), gradient-v (vertical), and pulse.Start the HTTP controller on your host (e.g., Aurelia or hypervisor guest):
python3 matrix_billboard.py --daemon --listen-ip 0.0.0.0 --listen-port 8080 --ip 192.168.195.216
### 2. restfulAPI example
bash curl -X POST "http://localhost:8080/"
-H "Content-Type: application/json" \
-d '{
"mode": "scroll",
"text": "WOMAN CAVE",
"effect": "gradient-h",
"color": "#ff00ff",
"color2": "#00ffff",
"bg_effect": "solid",
"bg_color": "#000000",
"speed": 0.04,
"sweep_pause": 2.0,
"brightness": 255
}'