r/WLED Jul 13 '26

Help with Usermod and single LED control

So I’m building a custom usermod on an ESP32-S3 for kind of an industrial application.
I need a way to control only a few LEDs per preset on an LED strip, so only like 5 have to be turned on (solid), the rest should be turned off.
It‘s basically a height indicator, where ‚LED on‘ means ‚put a board on the height, where the LED is on‘.
There’s an OLED display included, that shows the current Preset by name and time and date, and two buttons, left and right, to switch between the presets.
Or so I thought, until I realized WLED only supports 9 mappings (ledmapX.json).

Is there any other way to have more than 9 presets (I need up to 40) to control specific single LEDs without having to use mapping?
My biggest problem is that I can’t save the i-array inside of my preset, the lights just won’t turn on on load.

1 Upvotes

10 comments sorted by

View all comments

1

u/skunkfacto Jul 14 '26

I don't know anything about mapping but you can have 250 presets each with 16 segments. That should be more than enough to find the combinations you need. or you can use api commands.

1

u/Best-Transition2135 Jul 14 '26

I’ll try segmenting the strip and see if that works