Commit Graph

6440 Commits

Author SHA1 Message Date
b2fd24b136 Fix config save - use doSerializeConfig global flag
Changed serializeConfig() to doSerializeConfig = true
This is the correct way to trigger config save in WLED
2026-01-30 19:47:23 +02:00
e8430ab8ac Update save to use new /gpu-fan/save endpoint
Posts directly to custom endpoint which calls serializeConfig()
2026-01-30 19:43:40 +02:00
211118f8ff Add /gpu-fan/save endpoint with serializeConfig()
- New POST endpoint handles JSON body with curve config
- Calls serializeConfig() to persist to flash
- Simplified and cleaned up code
2026-01-30 19:42:35 +02:00
fdcd26b3ce Fix save function to persist config to flash
- Add psave:true flag to trigger WLED config save
- Explicitly list all curve point fields instead of loop
- Better error handling in save function
2026-01-30 19:34:26 +02:00
7816ecf949 Register /gpu-fan handler in setup() using global server variable
- Add webHandlerRegistered flag to prevent duplicate registration
- Call registerWebHandler() in both setup() and connected()
- Use global 'server' variable directly with lambda
- Removed unused methods
2026-01-30 19:23:36 +02:00
e5b02c65e8 Embed curve editor HTML and serve at /gpu-fan
- Include gpu_fan_html.h with embedded HTML page
- Add addToWebHandlers() to register /gpu-fan endpoint
- Add serveGpuFanPage() static method to serve the page
- Add [Curve Editor] link in WLED Info panel
- No filesystem upload required
2026-01-30 19:17:23 +02:00
b13dbb2897 Add embedded HTML header for curve editor page
Minified HTML/CSS/JS that will be served directly from code
without needing filesystem upload
2026-01-30 19:16:09 +02:00
e2d1a8f74f Update readme with visual curve editor documentation
- Added visual curve editor section
- Updated config documentation for flat curve structure
- Added curve editor troubleshooting
- Added mode API endpoint documentation
2026-01-30 18:54:17 +02:00
12c17bf6f4 Add visual curve editor web page
Features:
- Interactive SVG graph with draggable curve points
- Live GPU temperature display with indicator on graph  
- Real-time fan speed monitoring
- Mode toggle between Fixed and Curve modes
- Point table for precise value entry
- Touch support for mobile devices
- Minified CSS for smaller file size
2026-01-30 18:53:32 +02:00
f0873c1c6e Add custom web UI with visual curve editor and live temperature display
- Interactive SVG curve editor with draggable points
- Live GPU temperature display with indicator on graph
- Real-time fan speed monitoring
- Mode toggle between Fixed and Curve
- Point table for precise value entry
- Touch support for mobile devices
2026-01-30 18:48:11 +02:00
a3cd6bac16 Fix fan curve saving - use flat config structure for WLED compatibility
- Changed from nested JSON array to flat curve-t1/s1, curve-t2/s2, etc.
- Added appendConfigData() for config page labels
- Reduced max curve points to 5 for simpler config
- Added bounds checking for speed values
2026-01-30 18:41:07 +02:00
77a3853a4e Fix library.json - add libArchive: false for WLED build system 2026-01-30 18:23:55 +02:00
7d398f3529 Add sample platformio_override.ini for GPU Fan Controller 2026-01-30 17:37:57 +02:00
c6fce06c6f Add Python requirements for GPU temperature monitor 2026-01-30 17:37:47 +02:00
5f3bd9ae8e Add GPU temperature monitor Python script for WLED integration 2026-01-30 17:37:15 +02:00
286c2345f5 Add GPU Fan Controller library.json 2026-01-30 17:36:47 +02:00
8812a31b4d Add GPU Fan Controller usermod documentation 2026-01-30 17:36:20 +02:00
8ff78b0413 Add GPU Fan Controller usermod C++ file
- PWM fan control for GPU cooling
- Fixed speed and temperature curve modes
- HTTP API for temperature updates
- WLED UI integration
2026-01-30 17:35:59 +02:00
Damian Schneider
f19d29cd64
add json validation to file inputs in UI and minify before upload (#5248)
Some checks failed
WLED CI / wled_build (push) Has been cancelled
Deploy Nightly / wled_build (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Deploy Nightly / Deploy nightly (push) Has been cancelled
* also updated edit.htm to do the same
2026-01-30 08:18:17 +01:00
Damian Schneider
1031e70d70
Replace buffer lock magic numbers with defines (#5217)
* replace magic numbers with defines
2026-01-30 08:14:53 +01:00
Frank Möhle
c9f47d4b5c
new ESP32 node types
Added new node types for unsupported ESP32 variants, based on same file from ESP Easy.

Just to be prepared for new nodes (future support)
2026-01-28 23:37:22 +01:00
Damian Schneider
857e73ab25
adding image rotation to PixelForge gif tool (#5309) 2026-01-28 19:15:28 +01:00
Frank Möhle
4e072962c0
Merge pull request #5323 from wled/ethernet_led_pin
Change default LED pin to 4 in esp32 ethernet builds and set AR default to "no mic" mode.
The "normal" default LED pin 16 is conflicting with pins needed by many ethernet boards, which can cause random crashes.
2026-01-28 15:29:47 +01:00
Frank
81af160be6 disable repeating warning, set all AR pins to "unused"
* ethernet warning was repeating too often
* make sure that AR usermod will not grab any PINs at startup
2026-01-28 15:24:40 +01:00
Frank Möhle
a64334c32e
correct wrong AR build flag
typo
2026-01-27 23:50:34 +01:00
Frank Möhle
8d39dac654
ethernet: avoid dangerous pins
LED pin: 16 -> 4
AR: no microphone, no pins
clarify comment when to disable ESP-NOW
2026-01-27 23:33:33 +01:00
Frank Möhle
e867fcab1a
Change default LED pin to 4 in Ethernet builds
GPIO 4 seems to be one of the few pins that is not used in ANY supported ethernet config.

See https://github.com/wled/WLED/issues/5155#issuecomment-3614391561
2026-01-27 23:14:06 +01:00
Frank Möhle
9683896a21
Merge pull request #5317 from gustebeast/wled-gtb-flash-size
Reduce flash size of TetrisAI_V2 by 97%, by removing includes of iostream, iterator and algorithm headers
2026-01-27 17:14:41 +01:00
Martin Fritzsche
ca1d6614b2
Add option to save unmodified presets to autosave usermod (#5175)
* Add option to save unmodified presets to autosave usermod

* Fix lastRun never being assigned
2026-01-24 16:26:47 -05:00
gustebeast
96f423438b Reduce flash size of TetrisAI_V2 by 97%
Main branch without Tetris
Flash: [========  ]  79.8% (used 1255301 bytes from 1572864 bytes)

Main branch with Tetris (+196kb)
Flash: [========= ]  92.3% (used 1452049 bytes from 1572864 bytes)

This commit with Tetris (+6kb, 97% less flash)
Flash: [========  ]  80.2% (used 1261625 bytes from 1572864 bytes)
2026-01-24 19:34:32 +00:00
Copilot
df94a8d5af
Remove MAX_LEDS_PER_BUS limitation for virtual buses (#5238)
- Frontend: Updated settings_leds.htm to allow virtual buses up to 16384 LEDs
- Backend: Modified BusConfig::adjustBounds() to skip MAX_LEDS_PER_BUS check for virtual buses

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com>
2026-01-23 06:58:27 +01:00
Damian Schneider
d9cc751db4
Adding sequential resource loading to edit.htm (#5306)
Avoids multiple parallel connections which is helpful in low heap situations, especially on ESP8266
2026-01-23 06:45:45 +01:00
Damian Schneider
99c3f68f80
Merge pull request #5307 from ChuckMash/main
fix button byte comment
2026-01-22 08:41:07 +01:00
ChuckMash
be900737d2
fix button byte comment 2026-01-21 16:25:22 -08:00
Damian Schneider
af8db57f02
Fix for cfg exceeding LED limit (#4939)
* Safety Checks for UI, fix for cfg exceeding LED limit
* improvements to low heap check
* add `isPlaceholder()` to bus, some fixes
* remove `disableForceReconnect` for better future implementation
* add "glitch gating" for C3 and check heapy every 5 seconds instead of every secondd
* replace magic number with the correct define, more robust bus defer by look-ahead

In the event that a Bus fails to initialize, or the memory validation
fails, keep the configuration around so the settings contents don't
change out from under the user.

---------

Co-authored-by: Will Miles <will@willmiles.net>
2026-01-19 19:33:06 +01:00
Damian Schneider
1773f61ded bugfix: do not disable "unused" pin type - um_p[] always contains "-1" as a placeholder 2026-01-18 08:37:56 +01:00
Frank Möhle
a024935c39
adding a screenshot for simple PR creation
Added a tip for creating pull requests and forking in one click.
2026-01-17 01:53:32 +01:00
Frank Möhle
10df03e564
reorder sections for clarity 2026-01-17 01:39:06 +01:00
Frank Möhle
7a9e7f9c41
Enhance contributing guidelines for pull requests
Added guidelines for creating pull requests from a fork.
2026-01-17 01:37:17 +01:00
Frank Möhle
45acb44a36
Fix typo in CONTRIBUTING.md 2026-01-17 00:53:31 +01:00
Frank Möhle
8a3cb46007
Update contributing guidelines for PR management
Clarify that multiple commits can be added to an open PR and warn against force-pushing.
2026-01-17 00:52:51 +01:00
Frank
ba5cf9cd3c night build script updates
Fixes some deprecation warnings during nightly build runs. Already tested in WLED-MM.
* upgrade action-github-changelog-generator to 2.4
* decode changelog into a temporary file (needed for changelog-generator 2.4)
* renamed exclude-labels (deprecated); added some more tags for filtering
2026-01-16 21:47:40 +01:00
Copilot
d1d9dec402
Fix gamma correction for color not enabled on fresh install (#5225)
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com>
2026-01-12 07:55:05 +01:00
Damian Schneider
6e9dc181e1 deepsleep cleanup, use toki to check for valid time 2026-01-10 12:36:07 +01:00
elanworld
fe3a158264
Improvements to deepsleep UM (#4456)
- add touch pin option
- add wake-up on timer macro
- fix powerup behaviour: now works as intended i.e. if no sleep delay set, it enters deepsleep on powerup but only then
- apply macro after wake up even if the window is missed
- respect date-range setting of macro
- removed non-existing pin from touch list
- removed non existing voltageCheck setting
- fixed incorrect threshold setting
- code cleanup
- fix pullup/pulldown for deep-sleep GPIOs

pin init is now working correctly, tested on all platforms

* remove unused statement

---------

Co-authored-by: Damian Schneider <daedae@gmx.ch>
2026-01-10 11:28:07 +01:00
Will Tatam
e2de1af6f4
Merge pull request #5262 from brettbear/brettbear/ethernet-static-ip-ignored
Fixes ethernet initialisation of static IP settings and modified some debug info
2026-01-10 10:22:44 +00:00
Will Tatam
22ab62d090
Merge pull request #5273 from nomis52/awst
Add support for Australian Western Time
2026-01-07 18:21:47 +00:00
AlexeyMal
254e0099ca
Random colors via JSON API in Segment object like "col":["r","r","r"] #4996 (#5000)
Add support for random colors via JSON API in Segment object like col=["r","r","r"] #4996
2026-01-06 22:47:04 -05:00
Frank
8433fd24c3
Add softhack007 to GitHub funding list
adding myself
2026-01-05 23:20:57 +01:00
Frank
32daa03941
Merge pull request #5276 from wled/fix_5275_part1
prevent file data loss due to replacing an open file handle (partial fix for #5275) - provides better protection again presets.json corruption.
2026-01-05 22:23:21 +01:00