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
output settings not being retained following reboot in 14.7.2 (nightly build) #367
Same issue here. My Claude says this is a bug introduced in commit b06d3c0 (May 29). The commit was meant to skip the memory check for large RAM boards, but it accidentally wrapped the entire busses.add() call inside the #if, silently discarding the LED config on every boot for regular ESP32 and S3.
[cfg.cpp:205]
The #if guard on line 205 skips adding the bus configs entirely for regular ESP32 on boot:
// This block is compiled OUT for regular ESP32:
#if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3)
if (mem <= MAX_LED_MEMORY) if (busses.add(bc) == -1) break;
#endif
For ESP8266, S2, and C3, busses are added from cfg.json correctly. For a regular ESP32, the bus config is read from the file, parsed into a local variable, then silently discarded. When beginStrip() runs, it sees 0 busses and falls back to your compiled-in DATA_PINS/PIXEL_COUNTS defaults - which is why the count resets on every reboot.
The settings page shows what was saved to cfg.json (which is correct), but /json/info shows what's actually running (the compiled defaults).
The fix is to remove the #if guard so regular ESP32 loads busses from the filesystem like every other platform:
#if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3) // WLEDMM only for boards with small RAM
if (mem <= MAX_LED_MEMORY)
#endif
if (busses.add(bc) == -1) break; // finalization will be done in WLED::beginStrip()
With the fix on my fork it built and corrected the issue. I don't have any of the other boards to test the original fix for the memory check.
Thanks for looking into it
changed the title [-]output settings not being retained following reboot in 14.7.2[/-][+]output settings not being retained following reboot in 14.7.2 (nightly build)[/+]on Jun 11, 2026
Activity
Funkton commentedon Jun 7, 2026
Same issue here. My Claude says this is a bug introduced in commit b06d3c0 (May 29). The commit was meant to skip the memory check for large RAM boards, but it accidentally wrapped the entire busses.add() call inside the #if, silently discarding the LED config on every boot for regular ESP32 and S3.
[cfg.cpp:205]
The #if guard on line 205 skips adding the bus configs entirely for regular ESP32 on boot:
For ESP8266, S2, and C3, busses are added from cfg.json correctly. For a regular ESP32, the bus config is read from the file, parsed into a local variable, then silently discarded. When beginStrip() runs, it sees 0 busses and falls back to your compiled-in DATA_PINS/PIXEL_COUNTS defaults - which is why the count resets on every reboot.
The settings page shows what was saved to cfg.json (which is correct), but /json/info shows what's actually running (the compiled defaults).
The fix is to remove the #if guard so regular ESP32 loads busses from the filesystem like every other platform:
softhack007 commentedon Jun 7, 2026
@Funkton @wompslab thanks for your report 👍
i'll check what happens on esp32. Not sure mr AI is right, but i'll take a look.
Funkton commentedon Jun 7, 2026
With the fix on my fork it built and corrected the issue. I don't have any of the other boards to test the original fix for the memory check.
Thanks for looking into it
hotfix for #367
softhack007 commentedon Jun 11, 2026
fixed.
[-]output settings not being retained following reboot in 14.7.2[/-][+]output settings not being retained following reboot in 14.7.2 (nightly build)[/+]