Damian Schneider
aba736cb96
moved modulo
2025-02-10 20:26:34 +01:00
Damian Schneider
bdec873fed
removed slider default
2025-02-10 08:42:22 +01:00
Damian Schneider
2cc73660bf
bugfix (XY needs the modulo for zF/zD), updated amplitude for better range
2025-02-10 08:30:36 +01:00
Blaž Kristan
f3de45c6ad
Remove reference to custom allocators
2025-02-09 21:43:35 +01:00
Blaž Kristan
386e2c6306
Merge pull request #4528 from blazoncek/ir-bugfix
...
Fix for "Send notifications on button press or IR" does not work when using "JSON remote" #4519
2025-02-09 20:36:44 +01:00
Blaž Kristan
2473065b98
Soap gap bugfix & aditional size tuning
2025-02-09 19:08:42 +01:00
Blaž Kristan
ed91c54654
Uninitialised _data bugfix
2025-02-09 18:24:10 +01:00
Damian Schneider
4d53e0adde
Fixes first pixel not being set in Stream FX ( #4542 )
...
* Fixes first pixel not being set
* added fix to Stream 2 as well
2025-02-08 16:45:33 +01:00
yangminglong
35f87365c9
Brightness follow sun ( #4485 )
...
* add usermod : Brightness Follow Sun
2025-02-08 10:11:14 +01:00
Damian Schneider
8e7d6d5dad
cleanup and added Density slider
...
- moved local variables into function
- made coordinates an array
- amplitude can now be changed by user (default setting is a slight increase to original which cannot be avoided without complicated logic or default slider setting)
2025-02-08 10:06:29 +01:00
scourge411
95a10c692c
constexpr is invalid on is2D() ( #4540 )
...
* constexpr is invalid on is2D() (it does work on _V4 builds though)
2025-02-08 08:44:46 +01:00
Blaž Kristan
77d7082ffc
Bugfix
...
- correct string length in strlcpy()
2025-02-07 16:56:16 +01:00
Blaž Kristan
c43d09c8b1
Move _data and allocation to derived class
...
- as suggested by @TripleWhy
- minimum length guard
Conflicts:
wled00/bus_manager.cpp
wled00/bus_manager.h
2025-02-07 16:18:53 +01:00
Damian Schneider
d92e60ee5f
adding XY() lambda function back in
...
- slight increase in code size, speed is the same but better readability.
2025-02-07 15:23:44 +01:00
Damian Schneider
b9ceacb43d
more optimizations and better readability
2025-02-07 11:14:13 +01:00
Damian Schneider
2fe809f15a
consolidated double loops into function
...
- saves ~500 bytes of flash
- slight speed improvement
2025-02-07 09:46:06 +01:00
Will Miles
078a054dbd
usermods/pixels_dice_tray: Fix BLE dependency
2025-02-07 04:12:07 +00:00
Will Miles
c57be77039
Fix sensor usermod globals
...
These can be static locals instead; allows these usermods to build and
link together.
2025-02-06 22:26:45 -05:00
Will Miles
e6910f732f
Disable EleksTube_IPS usermod
...
For some reason, building it seems to consume 300kb of SRAM??
Probably there's still something wrong with the configuration.
2025-02-06 22:25:39 -05:00
Will Miles
d0b599781d
Fix up BME280_v2 usermod
...
Minor compile correctness tweak
2025-02-06 22:24:53 -05:00
Will Miles
2431f2058b
load_usermods: Split on any whitespace
...
This allows the common newline syntax in platformio
2025-02-06 22:23:12 -05:00
Blaž Kristan
8c717537c4
Lambda XY()
2025-02-06 15:12:04 +01:00
Damian Schneider
e088f4654a
removed unnecessary changes
2025-02-06 11:32:33 +01:00
Damian Schneider
b363b6151c
revert using color_fade() as it is slower
...
- ran a few more tests, it is 30% faster like it was originally so reverting. The conversion to 32bit color appears to be wasteful in resources.
2025-02-06 11:32:33 +01:00
Damian Schneider
3baa4f8223
improved speed and fixed issue
...
- fixed issue: blending was also done when color was on a key-index-color which is now skipped
- speed improvement: conversion is skipped if color is key-color
2025-02-06 11:32:33 +01:00
Damian Schneider
373f4cfefd
removed unnecessary lambda function
...
performance is the same, the function just makes it a bit confusing.
2025-02-06 06:44:26 +01:00
Blaž Kristan
64a02b705a
Blending style bugfix (wrong limit)
...
SoundSim bugfix (missing options)
2025-02-04 18:42:38 +01:00
Will Miles
f72b5d04e8
usermod/pixels_dice_try: Add missing dep
...
The "arduino-pixels-dice" library needs the ESP32 BLE subsystem, but
doesn't explicitly depend on it.
2025-02-03 19:35:12 +00:00
Will Miles
1688546519
Fix RTC usermod
2025-02-03 18:48:07 +00:00
Will Miles
2eff6b7a3a
usermod/sensors_to_mqtt: Add explicit dep
...
This mod includes a header from the Adafruit Unified Sensor library
inherited by its target sensor libraries. This isn't reliably
picked up by PlatformIO's dependency finder. Add an explicit dep to
ensure build stability.
2025-02-03 17:57:09 +00:00
Woody
58962f8470
npm update
2025-02-01 22:56:06 +01:00
Woody
dfd7ff5b39
Merge branch 'cdata' of https://github.com/w00000dy/WLED into cdata
2025-02-01 22:54:20 +01:00
Woody
d56ded8c18
npm update
2025-02-01 22:52:31 +01:00
Woody
af3ebbb3c2
Merge branch 'main' into cdata
2025-02-01 22:51:02 +01:00
Blaž Kristan
1db3359b84
Replace unsigned with size_t
2025-02-01 12:07:31 +01:00
Will Miles
7a40ef74c6
Fix up PWM_fan
...
Use a custom setup script to check for the dependencies and pass along
the required compile flags to the module; also split the object
definitions for the target modules from their source so as to allow
#including them.
2025-01-31 23:59:37 +00:00
Damian Schneider
b64cd36468
fixes trail flickering randomly. thx @blazoncek for discovering
2025-01-31 14:14:23 +01:00
Will Miles
b3f9983f44
First half of usermod readme updates
...
Describe the new usermod enable process, and update sample
platformio_override.ini stubs.
2025-01-31 03:57:23 +00:00
Will Miles
070b08a9e6
Rename usermod EXAMPLE_v2 to EXAMPLE
...
It'd be better to not propagate the 'v2' suffix any further. This is
the standard flavor of usermods now.
2025-01-31 03:54:17 +00:00
Will Miles
851e9ece03
Remove deprecated mqtt_switch_v2 usermod
...
...it's been 3 years, and it's easier than cleaning up the readme.
2025-01-31 03:52:59 +00:00
Will Miles
51db63dff7
load_usermods: Also search for mod_v2
2025-01-31 03:39:05 +00:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Will Miles
4bc3408410
load_usermods: Don't cross usermod includes
...
Only include paths for the base system deps, not those of other
usermods.
2025-01-31 01:35:58 +00:00
Will Miles
5d392d89ce
load_usermods: Improve include path assembly
...
Don't blast the path of any mentioned library - parse only the tree of
the actual build deps.
2025-01-31 01:33:34 +00:00
Will Miles
86f97614b0
platformio.ini: Fix esp32dev_V4 usermods
2025-01-31 01:32:34 +00:00
Blaž Kristan
5b7bab6752
Compile fixes
2025-01-30 20:46:26 +01:00
Blaž Kristan
70042db2de
Allow "unlimited" virtual buses
...
- added config upload options
- number of buses it limited to 36 (0-9+A-Z identifiers)
- WRNING web server may not support that many variables
2025-01-30 19:41:44 +01:00
Blaž Kristan
bf69d37cbe
Revert getBus() changes
2025-01-30 19:35:36 +01:00
Blaž Kristan
ee7ec20f29
Convert BusManager class to namespace
...
- use unique_ptr/make_unique for busses
2025-01-30 19:31:09 +01:00
Blaž Kristan
1e1ba9afa3
Fix for aircoookie/WLED#4519
...
- added JSON handling for irApplyToAllSelected
2025-01-30 19:19:27 +01:00