Skip to main content

Hardware & Storage Integration (WLED v2)

WLEDger's defining feature is bridging digital inventory and physical storage. Connect WLED controllers to illuminate exact bins on demand — or use controller-less Standalone Containers when organizing bins without LEDs.


Standalone Containers (No WLED Required)​

You do not need a WLED controller (or any dummy 0.0.0.0 IP workaround) to organize drawers, travel cases, or shelves in WLEDger:

  1. On Hardware, click Add Standalone Container.
  2. Enter a container Name and grid dimensions (Rows × Cols).
  3. Click Configure to customize the grid, label bins, or set optional future LED indices.
  4. Mount Standalone Containers onto Dashboard Walls alongside WLED-backed containers, and assign parts to them directly from the Inventory bin picker or CSV bulk import.
  5. Anytime you add a WLED strip later, use the container's Bind selector on Hardware to attach it to a controller (or detach it back to Standalone).

WLED Controllers​

WLEDger communicates with ESP32/ESP8266 controllers running WLED via the HTTP JSON API and optional UDP Realtime (DNRGB) pixel streaming.

mDNS Auto-Discovery & DHCP Self-Healing​

  1. Click Discover WLED on Hardware to broadcast an mDNS _wled._tcp.local. query (224.0.0.251:5353) on your LAN and verify /json/info.
  2. Click Add on any newly discovered node.
  3. If an existing controller's IP changed after a router reboot, mDNS discovery matches its MAC address and automatically updates the stored IP address.

Controller Health & Status Polling​

  • Periodic Status Ping: WLEDger automatically checks all configured WLED controllers in the background (every 600 seconds by default; configurable under Periodic Controller Status Ping in Settings) so Online / Offline badges and LED counts stay accurate across the Dashboard and Hardware pages.
  • Manual Refresh: Click the Refresh Status icon next to any controller's Online / Offline badge on Hardware to re-check reachability on demand.
  • Auto-Online on Locate: If a controller is marked Offline after a temporary reboot, any successful HTTP Locate automatically flips its status back to Online immediately.

Controller Options (Add & Edit)​

Click Edit on any controller card to configure WLED v2 options:

FieldPurposeUsage Tips
NameA friendly name (e.g., Main Workbench).Helps identify which physical rack or bench is controlled.
IP AddressThe LAN IPv4/IPv6 address or hostname of the WLED device.Validated strictly (0.0.0.0, schemes, and invalid hosts are rejected).
PortHTTP API port (default 80).All WLED HTTP requests honor this custom port.
Use UDP Realtime (DNRGB)Stream bin LED colors via WLED UDP Realtime (DNRGB).Ideal for fast updates and large multi-LED setups. Automatically chunks payloads above 489 LEDs.
UDP PortUDP Realtime listen port (default 21324).Match WLED's Sync Interfaces -> UDP Port setting.
Restore Previous StateSnapshot /json state before Locate and restore it afterward.When enabled, ambient lights or effects resume seamlessly once Locate times out or Turn Off All LEDs is clicked.
Idle Preset IDOptional WLED Preset ID (0 = Off) to activate after Locate finishes.Overrides state restoration when > 0; if 0 and restoration is disabled, all segments clear and power off ("on": false).

Configure the Grid Painter​

Layout Types​

TypeBest ForDescription
Linear StripShelf edges, single-row drawers.A sequential run of LEDs. Indices increment by 1.
Matrix2D panels or drawer grids.Defines a 2D grid (e.g., 8×8).
CompoundIrregular storage racks.Groups multiple linear or matrix sections into one logical container.
X/Y Crosshair (2 Strips)Front-mounted perimeter strips, large drawer walls.Maps 1 LED per column (X) and 1 LED per row (Y), lighting both to pinpoint a bin using Cols + Rows LEDs.

Mapping Bins & Multi-LED Width​

  1. Click Configure on a controller (or on a Standalone Container).
  2. Set the container name, WLED Segment ID (default 0), layout type, data start position, and dimensions.
  3. Use Auto Map (Linear) or Auto Map (Snake), or select Paint / Erase in the visual grid to map individual LED indices.
  4. Use the Bin Inspector to set LED Width (Width >= 1) when a physical drawer spans multiple adjacent LEDs — locating a part illuminates [led_index, led_index + width - 1] simultaneously.
  5. Click Save Configuration.

X/Y Crosshair Mapping (Front-Mounted 2-Strip Grids)​

Instead of placing an LED behind every individual bin (Cols × Rows LEDs), you can mount one horizontal strip along the columns (1 LED aligned per column) and one vertical strip along the rows (1 LED aligned per row). Locating a bin illuminates both its X (column) LED and Y (row) LED simultaneously so their intersection pinpoints the exact drawer using only Cols + Rows LEDs (for example, 16 LEDs for an 8×8 cabinet instead of 64).

  1. Click Configure on a controller and set Layout Type to X/Y Crosshair (2 Strips).
  2. Enter your cabinet's Rows and Cols.
  3. Under X Strip (Columns), set X Start LED (default 0) and X Wiring Direction (Left → Right or Right → Left (Reversed)).
  4. Under Y Strip (Rows), set Y Start LED (auto-defaults to X Start LED + Cols, or customize it if the Y strip is wired first or separated by unmapped spacer LEDs) and Y Wiring Direction (Top → Bottom or Bottom → Top (Reversed)).
  5. Click Populate X/Y Bins to generate the grid with live X#·Y# coordinate badges (or refine individual slots with Paint / Edit and Erase), then click Save Changes.
Single-GPIO vs. Dual-GPIO Wiring in WLED

X/Y Crosshair works whether your X and Y strips are daisy-chained on a single GPIO pin or wired to two separate GPIO pins on your WLED controller. In WLED's LED Preferences, multi-pin outputs are combined into one contiguous LED index range (0 through Cols + Rows - 1) on Segment 0 by default — so both HTTP JSON and UDP Realtime (DNRGB) address both strips seamlessly without splitting segments.


Locating Parts & Stateful Behavior​

  • Resettable Timers: Re-clicking Locate on the same controller cancels and resets its auto-off timer cleanly without cutting off newer locates early.
  • Batched Multi-Bin Locate: Locating a part (or using Pick Mode in Projects) batches all positive-stock bins per controller and segment into one clean update.
  • Stock-Health Colors: In Settings, you can configure Locate to color each bin by stock health (OK, Low, Critical) instead of a single Locate color.
  • Error Feedback: Unreachable controllers or WLED network errors surface an immediate error toast in the UI.