Programming an installed LED strip can mean building a useful scene, saving it and deciding how it returns. On a supported controller, those tasks may be available through normal controls without writing firmware. The example here follows WLED’s documented segment, preset and schedule functions on an already working compatible system.
What does programming mean for your installed strip?
Saved controls, software presets and custom firmware
A remote with built-in scenes, a controller with a web interface and a custom firmware project offer different kinds of programming. Start with the controls your installed system actually supports. A generic button sequence cannot describe all three.
For this task, the aim is to define visible areas, save a scene and call it back at the intended event. Hardware development and electrical setup are separate work. VST’s smart strip selection page explains why the source functions and complete controller arrangement belong together.
The supported setup used by the example
The WLED web-UI guide identifies its illustrations as version 16.0.1. It shows Colors, Effects, Segments and Presets, with a responsive layout for phones and wider screens. Older versions can present controls differently.
The following example assumes the correct source type and a supported 60-pixel system are already established. It uses ordinary scene controls, leaving the existing hardware, wiring and electrical settings unchanged.
Map the visible areas to controllable segments
Configured pixels and visible regions
A segment is a software region within the configured output. Its range must correspond to the part of the physical installation you intend to control. The number of LED packages in a photograph cannot establish that mapping; the documented source and controller define the controllable units.
Decide which visible areas need their own behavior. Two adjoining display regions may use different static colors. Another project may want the entire line to change together. The scene brief should state that distinction before adding segments.
A 60-pixel display brief
Assume 60 configured controllable pixels run in a known order across two display areas. The first area uses 20; the second uses 40. We want red in the first area and blue in the second. These are example inputs, not the physical LED count or a tested VST configuration.
VST’s addressable source range is relevant when that controllable grouping is being specified. Once it is documented for the installed system, software ranges can be mapped to the visible areas.

Define segment boundaries for the example
Start is inclusive and Stop is exclusive
WLED’s segment documentation states that the Stop LED is excluded from the segment. Count each region as Stop minus Start. That convention gives a precise boundary for the example.
| Segment | Start | Stop, excluded | Configured pixel count |
|---|---|---|---|
| Left display | 0 | 20 | 20 โ 0 = 20; indices 0โ19 |
| Right display | 20 | 60 | 60 โ 20 = 40; indices 20โ59 |
Continuous ranges in the example
The two regions cover 60 configured pixels without an overlap or gap. Enter the applicable Start and Stop fields in Segments, then use the segment save control described for your version.
Grouping and Spacing are other software choices with their own effects on the pattern. Keep them at the known intended settings while establishing this simple two-region scene. Advanced layering and overlapping effects are outside this example.
Name each visible region
Names such as Left display and Right display help an operator connect software ranges with the actual installation. Keep the range alongside the name. A renamed physical area can otherwise look correct in the interface while retaining an old boundary.
The range convention is useful for checking that map. The first region ends with index 19 and the next begins at 20, so the adjacent values are intentional. Entering 19 as the first Stop would describe another range under this convention. Use the field meaning before trying to correct an apparent one-pixel boundary problem by changing unrelated settings.
Apply colors and effects to the intended selection
One selected region
WLED applies a color or effect change to the selected segments. Select only the first example region, choose a solid effect and set red. Then select only the second and set blue. The selection state is part of the action.
If both regions change when you intended to change one, inspect which segments remain selected before treating the result as a hardware problem. The interface displays the color and effect of the first selected segment, which can also influence what the operator thinks they are editing.
Several selected regions
Selecting both regions is useful when a common change is intended. For example, a later scene can make both blue. Keep the individual region definitions while applying that shared state.
A selection can be temporary even though the segment boundaries stay saved. An operator may select the left region to edit it, select the right to edit that one, and finally select both for a common adjustment. That workflow preserves two named regions. The shared color change describes the current selection, rather than establishing that the source now has only one controllable area.
Effects can use their own color slots, palette and controls. A solid-color example avoids those extra variables while the boundary and selection behavior are being learned. Develop more elaborate effects only after their documented functions are clear.

Save a preset with the state that must return
Current state, name and preset ID
Open Presets and use the add-preset control. The current web-UI guide shows a + Preset action. The preset documentation explains the options that determine what is saved.
Choose a useful name and note its ID. For the example, assume unused IDs 1 and 2 are available. Use ID 1 for Day display and ID 2 for Evening display. Check availability in an actual setup before saving, so a working preset is not overwritten accidentally.
Include brightness
If brightness must return with the scene, include it in the saved state. If the operator should retain manual brightness while changing the effect, the documented option can leave it out.
The example uses a software master-brightness value of 128 on the documented 0โ255 scale for Day display. It is a chosen control value, not a measurement of lumens or electrical power.
Save segment bounds
Enable the documented bounds option when the scene needs to restore its region layout. If bounds are omitted, another layout can remain in effect when the preset is recalled. Choose deliberately between restoring the known layout and preserving a layout changed later.
Brightness and bounds are separate choices. A preset can restore a color/effect while leaving manual brightness available, or it can restore the example’s chosen brightness too. Likewise, saving the state does not require every deployment to use the same bounds policy. Decide which parts of the scene must be repeatable for the operator’s task, then save those items consistently.
Recall one complete two-area display scene
The saved example state
| Saved item | Assumed Day display value | Recall purpose | Relevant save choice |
|---|---|---|---|
| Region layout | 0โ20 and 20โ60, with Stop excluded | Restore the two display regions | Save segment bounds |
| Colors and effect | Left red; right blue; solid effect | Restore the selected appearance | Use current state |
| Master brightness | 128 on the software scale | Restore the example’s chosen setting | Include brightness |
| Identity | Day display, assumed ID 1 | Provide a clear recall target | Correct name and unused ID |
What to compare after calling it back
Use an ordinary control to move away from the scene, then recall its saved ID. Compare the intended ranges, colors, effect and saved brightness. That gives a concrete completion check for the documented workflow.
For Evening display, the example retains the same ranges, uses blue in both and chooses a software brightness of 64. Save it under the other assumed unused ID. An actual operator can then call either named state without rebuilding the two regions each time.
The official preset documentation explains the save options in more detail. Use the installed version’s applicable controls when reproducing the example.

Choose a preset or a playlist for the event
A preset is useful when one state needs to return. A playlist chains presets when the desired behavior is a sequence. WLED’s current web-UI guide shows separate add controls for presets and playlists.
Choose the sequence for a display that should move through several documented states. Keep a single preset where staff simply need to recall a known scene. Adding a playlist to a one-state task can make the operator’s job less clear.
A daily clock event is another requirement. Wanting Day display at a particular local time does not, by itself, call for a sequence of states. Save the required state first and then assign the appropriate time-controlled event.
Putting Day display and Evening display into a sequence would describe states that follow one another according to that sequence’s setup. It would not express the example’s two daily clock requests. Keeping that difference clear also helps staff know whether they should recall one scene, start a sequence or inspect a scheduled event.
Schedule the saved state at a local time
Preset ID, hour and weekdays
The preset documentation describes Time & Macros and its Time-controlled presets entries. Select the intended preset ID, hour, minute and active weekdays, then save the applicable settings page.
For an assumed weekday routine, Day display, ID 1, is requested at 09:00 and Evening display, ID 2, at 18:00. The times are operating requirements for the example, not universal store hours.
Time source and timezone
Compare the displayed local time with the actual intended time. The documentation recommends a reliable time source and the correct timezone. A saved preset and an incorrect clock can each work individually while producing the wrong daily behavior together.
Use the controller’s displayed time as part of that comparison. The time shown on a phone or computer is a different reference; opening the interface there does not establish the controller’s clock state. Check the active weekdays with the hour and minute as well, so a deliberately disabled day is not confused with a preset that failed to save.
Keep the schedule within the installed system’s documented time arrangement. Do not assume that an app, network or restart condition is identical across different controller products.

Plan for power return and a missed trigger minute
Boot preset and normal power return
The WLED settings documentation lists an Apply preset at boot choice. Treat it as a separate decision from the daily schedule. Pick the documented startup behavior appropriate to the operating brief, then keep it with the scene record.
The documented missed-minute behavior
The preset page states that a timed entry applies at the start of its specified minute. Its example explains that a controller starting later does not automatically replay the missed event.
| Start or event time | Documented behavior | Boot-state question | Operator choice |
|---|---|---|---|
| Running with correct time before 09:00 | The enabled 09:00 entry can apply its saved preset | Which state was used before that event? | Keep the intended schedule and startup record |
| Starts at 09:30 after the 09:00 entry | The missed 09:00 event is not automatically replayed | Which preset or normal state loads at boot? | Use the required ordinary recall or documented startup choice |
| The displayed local time is incorrect | The clock basis does not match the brief | How does this installed system establish time? | Resolve the documented time setting before relying on the schedule |
This distinction prevents a daily event from being mistaken for a persistent rule that selects the right state whenever power returns. Describe both requirements when another operator takes over the display.
Keep the scene usable across repeat installations
Bounds, length and source functions
| Changed deployment field | What the preset contains | Review needed | What may remain |
|---|---|---|---|
| Configured length or visible region | Saved range boundaries | The intended mapping and bounds choice | The desired scene names and operating task |
| Source functions or controller version | Colors, effects and relevant state | The documented supported functions and fields | The brief, where those functions still serve it |
| Local time or power-return requirement | Preset IDs and related settings | Clock, schedule and boot behavior | The selected visible scene, if still appropriate |
A record that another operator can use
Keep the visible-area map, ranges, preset names and IDs together. Include the intended schedule and power-return behavior. WLED’s documented backup controls can preserve settings where available to the authorized operator; restoring data is a separate action that can overwrite existing configuration.
For example, if another brief uses 90 configured pixels, the saved 0โ20 and 20โ60 ranges still describe only 60. Decide whether the additional 30 belong to a changed right region or another intended area before adapting the preset. Renaming Day display would not answer that mapping question. The scene’s purpose can remain useful while its saved geometry needs revision.
A useful handover lets staff recall the required scene and understand which changes affect it. That is the practical completion of programming this example: the display has defined regions, repeatable states and a time/startup plan tied to its actual supported system.
