You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Internal temperature causes 'error 12: preset not found' even without any presets #4390
every time i open one of my two wled instances, I get 'error 12: preset not found'
To Reproduce Bug
I have updated to version 15 recently and don't remember the error showing there, but I can isolate it to this mod because I emptied all my presets and the error still showed, and only stops showing when i disable the mod, and starts showing again when i re-enable the mod
Expected Behavior
stop showing the error
Install Method
Self-Compiled. Completely vanilla to the 'main' branch except for the config in platformio.ini changes to default_envs, uncommented line to the onewire lib,
If i set the 'preset to set' value to -1 and click save, it changes automatically back to 0. Same behaviour on the polling setting if you go anything below 10000.
I always get th error if the setting is 0 for the preset, and also occurs if the number is a positive integer higher than any preset I have saved.
However, the error never shows if the preset to set is an integer above 0 which I also have a saved preset for
OK i will look into it later. Maybe tomorrow. i havent added the preset functionality to the usermod, but normally it should not try to change the preset when set to 0. (atleast that is what a quick look showed)
OK i will look into it later. Maybe tomorrow. i havent added the preset functionality to the usermod, but normally it should not try to change the preset when set to 0. (atleast that is what a quick look showed)
I might be understanding the intended use wrongly. It being a safety feature (with the default temp being in the upper quadrant of the operating temps) I assumed it'd turn the LEDs off, but if I am supposed to plug in my own valid preset then I'll get on and make an 'all leds off' preset.
Essentially, not sure if the default value 0 is supposed to be overwritten.
Hi. I am using an esp 8266 and am experiencing this issue. I loaded the most recent verson 16 but still are experiencing the issue. When I try to save a default, I get the error and it does not boot to the saved effect. thanks!
Activity
lost-hope commentedon Dec 13, 2024
What preset is set in the dialog field in the setting of the internal temp preset?
orbitinstasis commentedon Dec 13, 2024
0
lost-hope commentedon Dec 13, 2024
Try setting that to -1
blazoncek commentedon Dec 13, 2024
0 should be a valid value and should mean "no preset" as no presets can have id 0.
orbitinstasis commentedon Dec 13, 2024
Just did a small but reasonable boundary test.
If i set the 'preset to set' value to -1 and click save, it changes automatically back to 0. Same behaviour on the polling setting if you go anything below 10000.
I always get th error if the setting is 0 for the preset, and also occurs if the number is a positive integer higher than any preset I have saved.
However, the error never shows if the preset to set is an integer above 0 which I also have a saved preset for
lost-hope commentedon Dec 13, 2024
OK i will look into it later. Maybe tomorrow. i havent added the preset functionality to the usermod, but normally it should not try to change the preset when set to 0. (atleast that is what a quick look showed)
orbitinstasis commentedon Dec 13, 2024
I might be understanding the intended use wrongly. It being a safety feature (with the default temp being in the upper quadrant of the operating temps) I assumed it'd turn the LEDs off, but if I am supposed to plug in my own valid preset then I'll get on and make an 'all leds off' preset.
Essentially, not sure if the default value 0 is supposed to be overwritten.
Either way, thanks for looking into it.
lost-hope commentedon Dec 14, 2024
Found the issue and made a PR.
orbitinstasis commentedon Dec 14, 2024
Thanks - when might this move to the main branch ? I'm assuming that's the branch the devs want most users who are compiling usermods to use?
fredkampf commentedon Dec 3, 2025
Hi. I am using an esp 8266 and am experiencing this issue. I loaded the most recent verson 16 but still are experiencing the issue. When I try to save a default, I get the error and it does not boot to the saved effect. thanks!
DedeHai commentedon Dec 3, 2025
this happens if a non existing preset is being applied at bootup. a config reset usually fixes it.