Quick Start Guide
Get WLEDger V2 up and running in minutes.
Docker (Recommended)
The easiest way to run WLEDger is with Docker Compose. This ensures you have all dependencies without cluttering your system.
1. Create a Project Directory
Create a folder for WLEDger on your server or computer:
mkdir wledger && cd wledger && mkdir data uploads logs
2. Create docker-compose.yml
Create a file named docker-compose.yml with the following content:
services:
wledger:
# Format: user/repository:tag
image: tuxedomakes/wledger:latest
# A custom name for the container instance.
container_name: wledger
ports:
# Maps ports in the format "HOST:CONTAINER"
- "8080:8080"
volumes:
# Maps files in the format "HOST_PATH:CONTAINER_PATH"
- ./data:/wledger/data
- ./uploads:/wledger/app/uploads
- ./logs:/wledger/app/logs
# Restart policy
restart: unless-stopped
3. Start the Server
Run the container in the background:
docker compose up -d
4. Setup Wizard
- Open your browser and navigate to
http://localhost:8080. - You will be greeted by the Setup Wizard.
- Create your Admin Account (Email and Password).
- Once completed, you will be logged in and redirected to the Dashboard.
Hardware Setup
To get the full experience, you'll need to connect WLEDger to a WLED controller.
You can use WLEDger without any WLED controller or LEDs if you'd like. To do so, create a placeholder "controller" with an invalid IP (0.0.0.0) and configure your storage containers (bins, shelves, etc).
Prerequisites:
- A microcontroller running WLED (e.g. Sparkle Motion, Dig2Go, ESP32, Wemos D1 Mini).
- Addressable LEDs (WS2812B/NeoPixel) connected to the controller.
- The IP address of your WLED controller.
1. Add Controller in WLEDger
- In WLEDger, go to Hardware.
- Click "Add Controller".
- Enter a name (e.g., "Main Workbench") and the IP Address of your WLED device.
- WLEDger will attempt to ping the device. If successful, the status will change to
online.
2. Configure the LED Grid
- Click 'Configure' on the newly added controller to view its details.
- You should now be in the hardware configuration screen.
- This visual tool allows you to add containers and map LEDs to virtual "Bins" using different layouts:
- Matrix: Use this if you have a square grid (e.g., 8x8).
- Strip: Use this for linear shelves or single rows of bins.
- Compound: Use this to define irregular storage bins (e.g. 4x4 grid on top, 1x1 single drawer on bottom).
- Use the Auto Map feature or manually click to define the flow of data from your controller to each LED.
- Click "Save".
3. Organize with Walls (Optional)
By default, the dashboard will show you all of your configured controllers, containers, and bins. If you want a more organized view, you can use "walls" to create customizable dashboard sections. This is particularly useful for large or complex setups.
- Go to the Dashboard.
- Click "Create Wall".
- Give your Wall a name (e.g., "Main Storage Wall") and (optional) description.
- Once created, click "Edit Wall" to add containers to this Wall.
You can create as many walls as you want! You can also mix and match containers from various controllers on a single wall. Nice!
4. Assign Parts
You can save time by bulk importing your parts. Navigate to "Inventory" and click the "Import" button. Download the CSV template an import it using Google Sheets, Excel, etc to quickly define all your parts. Export the file as a CSV, then upload it using the "Import" button on the Inventory page, or copy and paste the raw CSV data.
- Go to Inventory.
- Create a new part or edit an existing one.
- In the "Stock" section, select "Add Stock" and select the controller + bin you would like to add stock to.
- Save, and navigate back to your dashboard to see the stock status for that part.
5. Locate
Go back to the Inventory, find your part, and click the Locate button (eye icon). Your LED/bin should light up!
Next Steps
- Hardware Guide: Detailed advice on building your own LED storage cabinets.
- Developer Guide: Learn how the code works and how to contribute.
- Feature Guide: Learn about all of WLEDger's features, what they do, and how to use them.