applyPreset() more than 4 CLOSED

CLOSED: sorry. I found my mistake in criating the next presets.

Hello!
I want to run from IR Remote many Presets.
in the file ir.cpp:
applyPreset(1) … applyPreset(4)
Preset id 1…4
Works good to any IR codes (buttons) I what in the switch sturcture.

But it’s not work for Preset id > 4.
applyPreset(5) … applyPreset(17) and so on.

From android WLED APP the Presets with that id > 4 runs good.

And if update the data in APP (or reload the page in prouser) I coud see that active Presed is set correctly, but it’s not perform - but no preset commands are executed.

Could you help me with that, please?

Hi!
Could you send your modified ir.cpp file? If a preset with a certain ID (say, 17) exists and it is possible to apply it from the app, applyPreset(17) should work just fine :thinking:

Hello!
Thanks for help.
I found my mistake in criating the next presets.

1 Like