147 Commits

Author SHA1 Message Date
Frank
7bd8d5008b bugfix: update Flash Usage after file upload
if we have the flicker-free RMT driver, also update FS usage info when filling /json/state
2026-03-29 22:14:20 +02:00
Frank
37764ec3b9 UX improvements
- add buttons for PixelForge and PixelArt (settings page, below "file system" button
- abort build when PixelForge requested but GIF support missing
- "support" PixelMagic with error message - known issues with bigger images
2025-12-20 23:55:59 +01:00
Frank
10c20b7a4b serve common.js via serveSettingsJS
this got lost while backporting upstream code
2025-12-19 13:25:15 +01:00
Frank
eeb4973a2e support common.js (future support for VideoLab tool) 2025-12-19 00:51:39 +01:00
Frank
45b97e8028 PixelForge adaptations for version 14.x
* different call for listing images
* different call for deleting images
* minor cleanups
2025-12-18 23:51:48 +01:00
Damian Schneider
0f5c1d5a0f "WLEDPixelForge": new image & scrolling text interface (#4982)
replaces the pixel magic tool with a much more feature-rich tool for handling gif images. Also adds a scrolling text interface and the possibility to add more tools with a single button click like the classic pixel magic tool and the pixel-painter tool.
2025-12-18 23:44:01 +01:00
Frank
47a1b62fce tiny optimization
small flash optimization by re-using string constants (string merging)
2025-11-30 14:10:33 +01:00
Frank
520bc8fcb5 Merge branch 'mdev' into pr/286 2025-11-30 01:38:44 +01:00
Frank
15451c16f9 reduce debug noise on serial
downgraded a few USER_PRINT to DEBUG_PRINT
2025-11-30 01:22:34 +01:00
Copilot
260f26dadb Fix stale UI after firmware updates (#5120)
Add WEB_BUILD_TIME to html_ui.h and use it for ETag generation

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com>
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2025-11-29 00:26:46 +01:00
Frank
202eb76dd6 webserver integration, and fallback for WLEDMM_SAVE_FLASH 2025-11-23 21:00:51 +01:00
Frank
3c4d71369b OTA error code for WLEDMM_SAVE_FLASH
reduces program size by ~200 bytes
2024-11-16 19:13:10 +01:00
Frank
52509bab0f OTA update improved error messages
The OTA update class can deliver an error message.

old: "Please check your file and retry"
new: "Could Not Activate The Firmware. (wrong board type?). Please check your file and retry!"
2024-11-16 18:13:15 +01:00
Frank
d058e33df3 slightly reduce flickering during file access
it seems that reading/writing "larger" files from LittleFS causes LED flickering.

This change adds a simple cache for "file not found" results, so that repeated file.exists() calls are avoided.
2024-04-28 18:57:05 +02:00
Blaz Kristan
0ddfb25ad0 Possible fix for:
- #3382
- #3312
2024-04-09 14:02:36 +02:00
Frank
07b770958f revert changes to wled_server.cpp (requestJSONBufferLock(14) error)
I've had strange UI errors after this change, so cowardly taking it back..
2024-02-23 12:01:33 +01:00
Frank
7ae38649ad post merge
MM specific adjustments
2024-02-23 10:24:26 +01:00
Frank
c9b416a4fe prevent flickering during OTA
I've almost toasted my wiring due to uncontrolled LED flickering during OTA.
So here is the fix - it prevents any strip updates when OTA is ongoing.
2024-02-12 21:53:59 +01:00
Frank
4f30f69584 found a way to increase TCP stacksize (for AudioReactive UI)
we can use `-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=xxxx` to increase the stack size of AsyncWebserver - default is 8196.
This should give us a bit of headroom for new UI items.

We still need PR #94 for more savings.
2023-12-12 00:43:48 +01:00
Blaž Kristan
bd889a47d2 Merge pull request #3508 from Moustachauve/fix-settings-cache
Fix settings caching on some browsers
2023-11-27 17:52:27 +01:00
Frank
0f45b4f04a webserver: removing JSON_BUFFER_SIZE for esp32
the default buffer is 16Kb, which should be sufficient.
With PSRAM enabled, we habe JSON_BUFFER_SIZE up to 60Kb.
2023-06-01 23:12:45 +02:00
Ewoud
4197f98afe package.json and cdata.js: set urls to MoonModules
index.js: add logging (temp) and improve segment view redrawing
wled00.ini: add lps (temp)
wledserver.cpp: show client request done after its done
ws.cpp: show websocket events (temp?)
2023-05-25 21:50:43 +02:00
Ewoud
fede3dd54c Merge remote-tracking branch 'upstream/main' into mdev 2023-05-11 17:39:12 +02:00
Blaz Kristan
f38851b7c6 Merge branch 'main' into cpal 2023-04-30 17:52:28 +02:00
Blaz Kristan
432c5837f0 Bugfix
- WiFi power for Lolin S2 & C3 (use -DLOLIN_WIFI_FIX)
- web response buffer size (corruption when websockets not used)
2023-04-30 17:30:36 +02:00
Blaz Kristan
396ea3d0ee Add webserver cpal support 2023-04-14 17:21:07 +02:00
Blaz Kristan
ece6759fa7 UI update. 2023-04-14 17:15:02 +02:00
Ewoud
9b25b6d8c6 Changes in Debug messages 2023-03-27 20:26:03 +02:00
Frank
f52e706c95 minor improvements for debugging
* Info page: status of Serial (can be disconnected on new MCUs), and owner of RX/TX pins
* improved handling of Serial (don't write if not connected)
* added min available stack size to debug output (esp32 only)
* webserver show remaining stack size
* webserver: show string buffer usage
2023-03-25 21:10:15 +01:00
Ewoud
8509205c19 Fixie 2023-03-22 16:39:45 +01:00
Ewoud
d452da2642 NetDebug fix and small changes
AudioReactive: show ☾ specific
IR: cleanup
json.cpp: bugfix: NetDebug not in presets
wled.cpp and wled_server.cpp: show servername in DEBUG INFO
2023-03-22 16:31:07 +01:00
Ewoud
b271168f81 Full support for Athom WLED Music Controller
- athom_music_esp32_4MB_M bin
- show flashsize in info tab and /getflash
- support of their ir-remote (24-key music)

Not supported yet
- mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
2023-03-21 12:51:29 +01:00
Ewoud
6fbce9b326 Cleanup and small issues
pio.ini: cleanup debug directives (build_flags_min move to _debug), remove blynks

index.htm/js: 
- visualization in div to turn of if 1D
- scale visualizations if height>width

json.cpp, util.cpp: USER/DEBUG_PRINT changes
2023-02-23 15:23:35 +01:00
Ewoud
6e187dd5aa Peek in segment tab
Move peek 2D functionality to peek.js

FX_fcn.cpp: always erase customMappingTable if non existent ledmap

wled_server.cpp: add peek.js

index.js:
- add canvasPeek
- change resize of canvas
2023-02-15 12:41:15 +01:00
Ewoud
6235dc86cc Fixing 2D ledmap
FX_2Dfcn.cpp.setUpMatrix:
- move upstream code to reset==true
- temp table for ledmaps (Idea by By @Troy#2642)

FX_2Dfcn.cpp: init loadedLedmap
2023-01-27 17:11:49 +01:00
Ewoud
9894ae725b Merge remote-tracking branch 'upstream/main' into mdev 2023-01-24 20:57:08 +01:00
Blaž Kristan
86d8b49113 Pixelart
- full implementation
2023-01-20 14:40:45 +01:00
Ewoud
34e93c6361 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-17 15:24:32 +01:00
Blaz Kristan
ef6a9184ba A few more flash bytes saved. 2023-01-16 21:55:12 +01:00
Ewoud
66b15d32d9 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-07 12:01:03 +01:00
Blaž Kristan
506b6b51ce whitespace cleanup 2023-01-06 09:24:29 +01:00
Frank
0571aa92f2 fix unitialized local var
Local variables are not initialized by default. Make sure that buf[] is filled with zeros.
2023-01-03 17:10:07 +01:00
Ewoud
9bc6451145 appendConfigData only for usermod + optimizations
- rename replaceOption to rOption
- rename removeOptions to dOptions
- set oAppend buffer size back to 3096
- WLEDMM warning on settings2D Populate
- add AppendConfig per usermod
- add request parameter to getSettinsJS
- add lookupName
2023-01-03 13:08:14 +01:00
Ewoud
d1bf3b4690 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-12-24 15:27:43 +01:00
mrbubble62
7df08c2120 Fixed typo when WLED_ENABLE_FS_EDITOR disabled 2022-12-18 12:37:05 -05:00
Frank
191bbf93f3 post-merge changes
reconciling disagreements between MM and AC source code
2022-12-06 16:07:12 +01:00
Frank
58688d25ae update for usermessages
wled.h:
- Don't use Serial directly -S2 as S2 serial driver is buggy.
- added USER_FLUSH macro
wled.cpp
- replace fluh with FLUSH
- print ArduionoOTA info (if enabled)
wled_server.cpp:
- added userlog info after file upload.
pinn_manager:
- don't show "(default)" is the PIN is actually assigned to HW drivers
- bugfix for getPinOwner()
2022-12-05 12:48:03 +01:00
Ewoud
c3c3ff39b5 Change WLEDSR to WLEDMM in comments 2022-11-09 12:14:42 +01:00
Ewoud
306fb01991 Merge remote-tracking branch 'origin/main' into mdev 2022-10-28 11:36:49 +02:00
Christian Schwinne
ac57da8713 No F() and numeric comparison 2022-10-24 19:12:27 +02:00