Skip to content

Installing WLED

Installing WLED means flashing: writing the firmware image into the board's flash memory, replacing whatever was there. There are three honest routes, in the order most readers should try them. This guide's lab could not flash anything — it had no board — so this chapter is documented-only, from the project's own instructions; what the lab did do is compile the firmware from source and measure it, in chapter 13, which is the proof that the thing you are flashing is real and the size it claims to be.

Route 1: the web installer

The project's installer at install.wled.me flashes a board straight from a desktop Chrome or Edge browser, over the USB cable, using the browser's serial-port access. You pick the release, pick your board family, connect, and let it write. It can also hand the board your Wi-Fi details during the same session, which skips part of chapter 6. This is the route to try first; its limits are a Chromium-based browser on a computer (phones and Firefox need not apply) and a cable that carries data, not just charge.

Route 2: flash a release binary yourself

Every release on the project's GitHub page ships ready-made .bin files named by target — WLED_..._ESP32.bin, ..._ESP8266.bin, and variants for specific boards and Ethernet models. Flashing tools (the project documents several, including Espressif's own flash download tool and the command-line esptool) write the binary to the right flash address. This route is the one for boards with less than 4 MB of flash, unusual boards, and for updates when the web installer is not at hand. Match the binary to your chip family: an ESP8266 binary on an ESP32 (or the reverse) is the classic way to produce a board that does nothing at all, recoverably.

How to tell it worked

Both of the project's checks are physical. On first boot with a strip attached, the first 30 LEDs light up bright orange — the project's chosen "stimulate courage" colour. On an analogue strip the whole strip turns orange, since every LED shares the same channels. No orange usually means the strip is not hearing data (pin, grounding, level — chapters 3 and 17), not that the flash failed. The second check is the WLED-AP Wi-Fi network appearing in your phone's network list, which is where chapter 6 picks up.

Updating later: OTA

A running WLED updates itself over the air: Config → Security & Updates, unlock the update feature with its passphrase (the factory default is wledota — change it), upload the new release binary on the update page, and lock it again afterwards. Settings and presets survive, because they live in their own filesystem (chapter 2). Leave OTA locked when you are not updating: an open update page on your network is an open door into the device. The project also ships multi-update scripts (in the source's tools folder) that push one binary to a list of devices with a single command — handy at ten controllers, overkill at one.

Route 3: build it yourself

If you want a feature switched on that the release build switched off — a usermod, a different default pin, more segments than standard — you compile your own binary and flash it by route 2. That is a bigger afternoon, and it is exactly what this guide's lab did; chapter 13 walks through it with the real numbers.