Controlling Brightness, Effects, Palette, Intensity, and Presets

I read that a potentiometer can be used to control brightness and effect intensity, but I 'm wondering if palettes, presets, and effects can also be stepped through. How would that be set up? If using buttons, I know the macro to step through effects would be &FX=~ to go forward and &FX=~- to go back, but how can that be mapped to an “analog button”? The same applies for presets and effects.

you would need a usermod to do that, I don’t think it exists yet.
but you could use a rotary encoder.

Thanks @dedehai.

My motivation is to be able to control as many of those elements as possible, in both directions. Since there are a max of four buttons available, I could only do two with a up and down button, hence the potentiometer. As far as user mods go, I wouldn’t mind having a go at it, but for whatever reason, I am unable to get Visual Studio Code and Platform IO set up correctly and am unable to compile any version. At some point I’m going to post a plea of help about that. :slight_smile:

With that in mind, what’s the next best alternative? Perhaps buttons set for a single push for up, and a hold for down?

Edit 1: Will a long hold be retriggered, if held too long, on does it require a flank change to be reset and triggerable again?

wled allows you to increase the number of buttons if that is what you actually want.

1 Like

What you need is rotary encoder. Perhaps paired with OLED display.
Both supported by WLED via existing usermods.

1 Like

Not that I don’t love overkill :slight_smile: , but a knob for each function would be way easier for the average person than an up / down button for each function, or less attractive, the short and long press per function variation.

I plan to have an IR remote, and there’s always app control, but I’m building a fairly large 48 x 48 matrix frame (Did I mention that I’m okay with overkill?) that’ll hang on a wall, and it would be nice to be able to control the most common settings at the device.

I’d definitely be interested in both, but like I mentioned above, I’m having my struggles with VSC and Platform IO. Is that something that anyone might be willing and able to assist with?

What functions can be controlled with rotary encoders? What can be displayed?

Edit 1: I see that encoders come in different variants. Is an incremental, multi-turn encoder the correct choice? Any model suggestions?

you can get binaries from @srg74 or @wladi_wled
@srg74 also sells controllers featuring rotary encoder and OLED display

I’m into being self-sufficient as much as possible, but it is interesting. @srg74: can you give me some details?

Do these builds include audio reactive? How current do they stay (your b5 a few weeks ago fixed my matrix issue), and of course, are they readily available?

Which category would be best to ask for help with Platform IO?

As of right now esp32 dev board is postponed due to luck of parts.

What are the details though?

So, looking at this, I redownloaded the WLED0.15-b5 sources and was able to compile the binaries as expected.

After creating and editing the platformio-override.ini, clicking the check does nothing but show me this:

Any ideas what I’m missing?

Edit 1: I get this error in VSC:


However, I did overwrite the file with the original one, but the message is there too, so if that’s the issue, I don’t get how it compiled the first time…

Edit 2: This helped, but I don’t know if it’s correct and will work…
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv

Edit 3: Never mind. It doesn’t complete:

You can take a look on my fork 0_15_dev on GitHub.

I’m going to have to admit that I have no idea, how to do that. Do you have a link?

In the meantime, I’ve found that the platformio-overrides.ini is causing the compile error. I deleted everything again, and left out the override file, and was able to build again, but the build_output folder wasn’t created… :confused:

Edit 1: This drives me crazy. I ran npm update and that fixed the build and output issues. Now I’ll see if I can add a user mod…

Thank you! I’m still missing something, I think.

I downloaded you zip file, extracted it, ran npm install, opened the folder in VSC, waited for the “current process bubble” to complete, clicked the check to build. Then I had a bin file in the release folder. In other words, no problems whatsoever. I uploaded that to the MC, but I don’t see any difference…


Where are the rotary switches configured? I also inferred from @blazoncek’s post that an OLED display could also be connected, but I can’t find anywhere to configure that either. Is that expected and their pins are being hard coded here?

If that’s the case, am I assuming correctly that only one encoder can be used? How is the OLED’s text configured?

Configure in usermod menu

I must be missing something…

Good luck then.

Lol. Thanks.