Commit Graph

4115 Commits

Author SHA1 Message Date
Blaž Kristan
24f2306129 Strip .local from mDNS resolution 2025-07-15 10:33:09 +02:00
Blaž Kristan
79b3bc2573 Add mDNS support for MQTT server
- fixes wled#4671
- reduce some topic string parsing
- moves LWT into onConnect
2025-07-12 19:04:21 +02:00
Damian Schneider
b7bfd6fc67 Copy Segment FX (#4124)
* Added FX to copy a segment in 1D or 2D

- copies the source segment
- brightness of segment is relative to source segment
- optionally shifts the color hue, saturation and brightness
- invert, transpose, mirror work
- if source or targets do not match in size, smallest size is copied
- unused pixels fade to black (allows overlapping segments)
- if invalid source ID is set, segment just fades to black
- added a rgb2hsv conversion function as the fastled variant is inaccurate and buggy
- 1D to 2D and vice versa are supported
2025-07-12 07:40:18 +02:00
Will Miles
9569ec7ccf bus_wrapper: Update comments to reflect RMT usage 2025-07-09 16:28:22 -04:00
Will Miles
61990189de bus_wrapper: Use parallel I2S first when enabled 2025-07-09 10:31:00 -04:00
Will Miles
c0875b36bb Merge pull request #4712 from willmmiles/2d-expansion-fadeout-fix
Fix Segment::fade_out for 2d expansion
2025-07-09 09:11:27 -04:00
Blaž Kristan
929a5a8d80 Fix for wled#4759 2025-07-08 13:28:24 +02:00
Blaž Kristan
d7d1e929fe Fix color conversion bug for parallel I2S output
- fixes wled#4719
2025-07-05 22:32:44 +02:00
netmindz
2c1cf87e08 Merge pull request #4499 from Christanoid/main
Fixed UDP Realtime streaming in DNRGBW Mode
2025-07-03 00:30:27 +01:00
Blaž Kristan
e6716fe834 PICO-V3 detection
- requires V4 environment
2025-07-01 10:22:49 +02:00
Blaž Kristan
fc0d64ec78 Fix for #4752 2025-07-01 10:17:17 +02:00
Damian Schneider
cc81cc27b0 enhancement & bugfixes in scrolling text (#4742)
* enhancement & bugfixes in scrolling text

- function now evaluates full string: allows custom text plus multiple tokens in any order
- fixed evaluation order to prevent early exit(s)
- fixed day strings (argument must be weekday() )
2025-06-28 09:42:52 +02:00
Blaž Kristan
66869f8341 Merge pull request #4744 from wled/CCT-fix
CCT fix
May require some additional optimisations in the future to reduce unnecessary memory allocations (i.e. mixed CCT and non CCT buses).
2025-06-24 11:15:16 +02:00
Blaž Kristan
10d1098403 Fix comment
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-24 11:08:10 +02:00
Blaz Kristan
a041fd1266 Fix #4747 2025-06-24 11:00:04 +02:00
Blaz Kristan
e2fd1559d2 Optimise CCT buffer 2025-06-20 20:53:41 +02:00
Blaz Kristan
9dbd5f89b6 Tackle CCT issue caused by segment blending
- wled#4734
2025-06-20 20:53:24 +02:00
Blaž Kristan
0f00c95aba Merge pull request #4700 from wled/secure-ota
Securing OTA update
2025-06-20 20:05:11 +02:00
ingDIY
3f03cb4d2b WLED_DISABLE_2D does not compile (#4736)
the compilation fails with tons of errors if you try to compile using WLED_DISABLE_2D 
"message": "enclosing class of constexpr non-static member function 'bool Segment::is2D() const' is not a literal type",
"LineNumber": 766,
2025-06-20 15:42:23 +02:00
Damian Schneider
05557ca790 Bugfix: convert cctBlend value back to "%" for UI (#4737)
* Bugfix: convert cctBlend value back to "%" for UI
2025-06-20 10:55:53 +02:00
Damian Schneider
a53baa9b42 fix for https://github.com/wled/WLED/issues/4488 (#4692)
virtual strip index is added even if strip is 1D. this change fixes FX using virtual strips not working when WLED_DISABLE_2D is used.
2025-06-19 16:56:52 +02:00
Will Miles
3a413a59ba Merge pull request #4713 from willmmiles/parallel-i2s-ui-missing
Update crude parallel I2S detection
2025-06-14 15:25:18 -04:00
Will Miles
16a88775c3 Revert changes to blur()
No need to rely on a sufficiently smart compiler.
2025-06-14 15:21:12 -04:00
netmindz
728b1e8ad4 Merge pull request #4723 from DedeHai/Flow_Stripe_FX_fix
Fixed "Flow Stripe" FX and added palette support
2025-06-14 20:20:30 +01:00
Damian Schneider
05f0630b9c add inverse gamma 32 function and fix colors in pride (#4722)
* add inverse gamma 32 function and fix for colors in pride
2025-06-11 08:30:25 +02:00
Damian Schneider
ea231cbea8 Fixed "Flow Stripe" FX and added palette support 2025-06-10 19:29:53 +02:00
Will Miles
94f226aadf Fix additional mapping expansion locations 2025-06-09 12:15:36 -04:00
Damian Schneider
00d1fcc5fb bugfixes: grouping and missing libArchive (#4718) 2025-06-09 17:41:53 +02:00
Damian Schneider
caeda96fbd PS bugfix: do not increase saturation of palette colors (#4715)
this fix prevents palette colors being saturated more if high (but not full) saturation value is set for a particle
2025-06-08 13:03:21 +02:00
Damian Schneider
9805ae59d5 PS Fire: added sparks for better looks (#4714)
also added some smear-blurring if "smooth" (motion blur) is not used
2025-06-08 13:02:44 +02:00
Damian Schneider
00eb4068b0 add pre-applied gamma to c3g & fastled palettes to match original look (#4711) 2025-06-08 13:01:52 +02:00
mryndzionek
fc7d4dfcb0 Added new "effect usermod"
- Added new effect - Diffusion Fire
- UM is intended as a base / tutorial (work in progress)
2025-06-08 10:52:58 +02:00
Will Miles
ab28b6d58f Update crude parallel I2S detection
My ESP32s are now reporting a maximum of 32 buses.
2025-06-07 12:03:48 -04:00
Will Miles
4abaf13598 Fix Segment::fade_out for 2d expansion
Since we're using get/setPixelColorRaw, we need the true length, not
the virtual length.
2025-06-07 11:08:11 -04:00
Damian Schneider
8b65d873b3 fix particle brightness distribution with new gamma correction (#4710)
Particle System depends on linear brightness distribution, gamma corrected values are non-linear.
- added invers gamma table
- reversing gamma after brightness distribution makes it linear once again
2025-06-07 13:15:45 +02:00
Damian Schneider
a87b562bc2 update to distortionwave FX (#4693)
- fixed "jumpyness" by improving offset calculation resolution
- added palette support
- added two rendering modes for use with palette: one uses hue-mapping, one uses brightness mapping
- added alternate animation mode (from initial source)
- extended scaling: zoom checkmark (depends on matrix size)
2025-06-06 17:05:16 +02:00
Blaž Kristan
23a51e0982 Merge pull request #4658 from wled/layers
Segment layers and better effect transitions (blending)
2025-06-01 12:28:11 +02:00
Will Miles
4a3af814bf Merge pull request #4669 from willmmiles/4597-usermods-not-building
Correct issues with usermods not being linked.
- Explicitly set libArchive: false in usermod library.json files
- Fix up symlink path generation on Windows
- Add validation script to report usermod linkage in resulting binary
2025-05-26 22:41:45 -04:00
netmindz
db22936153 Merge pull request #4698 from zuckschwerdt/fix-initmqtttwice
Fix running initMqtt twice on bootup
2025-05-26 20:42:02 +00:00
Blaž Kristan
a147f4120c Compile fix 2025-05-26 18:19:54 +02:00
Blaž Kristan
dcd3e07273 Securing OTA update
- prevent settings change if not using private IP address or same subnet
- prevent OTA from differnet subnet if PIN is not set
- ability to revert firmware
2025-05-26 18:00:45 +02:00
netmindz
f26733cd8c Merge pull request #4697 from zuckschwerdt/fix-mqttlwtonce
Change to set LWT only once
2025-05-26 12:00:15 +00:00
Blaž Kristan
aa28769e71 Merge pull request #4652 from wled/disable-ota
Only disable Arduino OTA when using -D WLED_DISABLE_OTA
2025-05-24 21:27:08 +02:00
Christian W. Zuckschwerdt
c693f63244 Fix running initMqtt twice on bootup 2025-05-22 14:14:39 +02:00
Christian W. Zuckschwerdt
817157bbc1 Change to set LWT only once 2025-05-22 11:19:52 +02:00
Will Miles
24ab2952ee Add unambiguous usermod list to info
Neither the info panel nor the settings dialog can be trusted to
accurately report the usermod list:
- Not all usermods necessarily add to the info panel
- Not all usermods necessarily add to the config page
- #4609 is required for the config page to be correct

Add a short list to the info object that lists the loaded usermod IDs.
This is not displayed via the UI, but can be queried with curl or web
debug tools.

To be removed when usermod loading is working well.
2025-05-19 17:30:40 -04:00
Damian Schneider
25223c446f fixed bouncing bug (#4694) 2025-05-19 20:48:00 +02:00
Damian Schneider
66ad27ad3a add support for up to 10 ESPNow remotes (#4654)
* add support for up to 10 ESPNow remotes

* removed debug line

* changed todo comment

* fixed some issues, shortened html/java code

- reverting name to `linked_remote`
- ESPNow remote list is now hidden if unchecked
- shortened java script function names and variables to save flash
- removed now obsolete settings in xml.cpp
- correct checking of valid hex string for remote list in java script

* fixed indentation, using emplace_back instead of push_back, using JsonVariant, replaced buttons with +/-

* shortened java code

* updated java code, fixed bug

- element is now properly removed
- `+` button is hidden if list is full
- user needs to remove a remote, then reload the page to add it (workaround for edge case that needs more code to handle otherwise)

* add limit

* clearer usage description
2025-05-19 20:34:27 +02:00
Damian Schneider
d9ad4ec743 improved & refactored Android FX (#4522)
- returns FRAMETIME -> no more flickering in transitions and overlay
- no more double-painting of pixels
2025-05-19 19:50:48 +02:00
Damian Schneider
608aff1e17 slight speed improvement, fixed indentation 2025-05-10 09:11:07 +02:00