How aircoookie/wled works
Main Components
a. Hardware Layer:
• ESP32/ESP8266 Controller
• LED Strip Interfaces (Multiple outputs - up to 10 for ESP32)
• Various Supported LED Types (WS2812B, WS2811, SK6812, WS2801, APA102)
• Optional Hardware Components (IR receivers, sensors from usermods)
b. Core Software Components:
• LED Control System (wled00/led.cpp, FX.cpp)
• Network Stack (wled00/network.cpp)
• Web Server (wled00/wled_server.cpp)
• File System (for configuration storage)
• Update System (OTA)
c. Interface Layer:
• Web Interface (data/ directory contents)
• JSON/HTTP API
• MQTT Client
• Real-time Protocols (E1.31, Art-Net, DDP, TPM2.net)
• Voice Control (Alexa)
• IR Remote Control
d. User Modifications:
• Usermod System (usermods/ directory)
• Custom Effects
• Hardware Extensions
Relationships and Data Flow
• Data flow from various inputs (web UI, API, MQTT) to the core controller
• LED control signals from controller to LED strips
• Network communications (both incoming and outgoing)
• Integration with external services (Philips Hue, MQTT broker, NTP)
Specific Implementation Details
• Multiple LED output capability
• Segment control system
• Effect processing pipeline
• Configuration storage and management
• Network failsafe mechanisms (AP mode)
• Update pathways
Key Features to Highlight
Create subsections showing:
• Effect System (100+ special effects)
• Preset Management
• Real-time Control Options
• Security Features
• Time-based Functions
External Integrations
Connections to:
• Mobile Apps
• Home Automation Systems
• External Control Software
• Time Servers
• Update Servers