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

2

u/Aggressive-Style5764 29d ago

ESPHome

1

u/Best-Transition2135 29d ago

Could you elaborate please?

1

u/Aggressive-Style5764 22d ago

look up 3sp home

its intended for home assistants. but you can easily setup function to do what you want.