Commit Graph

4877 Commits

Author SHA1 Message Date
Troy
a01cc49152 Merge pull request #95 from troyhacks/mdev
Fixes for animated staircase usermod
2023-12-11 16:36:50 -05:00
Troy
6f07958e90 Merge branch 'MoonModules:mdev' into mdev 2023-12-11 16:32:55 -05:00
TroyHacks
5ee930cff0 Merge branch 'mdev' of https://github.com/troyhacks/WLED into mdev 2023-12-11 16:32:17 -05:00
TroyHacks
cc0563dd45 Fixes for Animated_Staircase 2023-12-11 16:32:04 -05:00
Frank
d63b716cd0 Slightly reduce json buffer size on boards with PSRAM
Found out that the main JSON 'doc' is still living in normal RAM, even when PSRAM is available... 
This results is very low RAM especially on -S2.

This change tries to find a balance between "need large json buffer" and "other features become unstable when free RAM is low".
2023-12-11 11:22:39 +01:00
Frank
d2c9c9ee71 fix small typo 2023-12-10 16:50:49 +01:00
Frank
e4cb0929c3 PartyJerk: minor code style improvements
* fix some too-long tabs
*author info added
* shrunk number of blank lines
* removed unused audio variables
* colorIndex : better accuracy by first doing multiply, then divide
2023-12-10 16:49:13 +01:00
Frank
281d9b5eb1 Merge branch 'pr/67' into mdev 2023-12-10 16:01:30 +01:00
Frank
90b52b3a0d Changed some usermods to be "disabled" by default
Some usermods may cause unexpected behaviour if not configured properly.
* Battery: can cause unexpected shutdowns if no voltage measurement circuit connected
* RTC: can cause unexpected time &date changes if no RTC connected to I2C
* mcu temp: can cause hight CPU load, and may cause instabilities due to use of an "unsupported" API from espressif
2023-12-10 14:54:35 +01:00
Frank
782628b6aa UM battery: changed default for auto-off feature to "disabled"
Especially on 8266, the usermod can cause unexpected shut-downs in default configuration, when A0 is not connected to a battery voltage measurement circuit.
2023-12-10 14:40:36 +01:00
Frank
6cd9d80dbe small fixie for audioreactive (info page)
info page was not showing "AGC gain" when local mic was in use during "receive or local" mode.
2023-12-06 12:32:57 +01:00
Frank
d2fc1f7bf9 experimental: Souns Sync "receive or local" mode
new "Receive or Local" mode:
if UDP sound is missing or interrupted for too long, switch back to local audio input.
UDP sound resumes when a fresh packet is received again.

--> still needs testing, and even more regression testing.
2023-12-05 23:46:01 +01:00
Frank
e14d5e6975 sound sync: replace magic numbers with constants 2023-12-05 21:30:29 +01:00
Ewoud
09ea9110c1 Add abc_wled_controller_v43_S from MyHome-Control.de
Including line in and ethernet
2023-12-01 21:02:22 +01:00
Frank
7c68c14e63 FASTPATH: minimize UDP sound latency
The standard build is sending packets each 20ms, which means there are double packets (no new FFT results yet) and the max. delay between sampling and sending is up to 50ms.

* (FASTPATH only): FFT Task directly notifies UDP send when it has new data, reducing delays to the absolute minimum. this also optimizes UDP packets throughput, by avoiding duplicates.

* (FASTPATH only): receiver polling frequency is increased, to process new packets earlier (may increase CPU load)
2023-11-29 13:08:14 +01:00
Frank
38352c9d20 Sound Sync: prevent GEQ hickups and stalls
UDP transfers have some delays (measured between 2ms and 400ms). As consequence, FFT results sometimes "freeze" for a short time as no new data is arriving.
To hide these freezes, we apply the same "dynamics limiter" method as for volumeSmth.
2023-11-29 12:25:22 +01:00
Frank
e7c34e9e47 chores
* npm run build
* build number ++
2023-11-27 18:19:31 +01:00
Blaz Kristan
96ed378541 Fix (#3522) 2023-11-27 17:52:28 +01:00
Blaž Kristan
c3a442f1fc Merge pull request #3522 from martinez20m/fix_ir_repeat
Fix repeatable action for ir json
2023-11-27 17:52:28 +01:00
Blaz Kristan
79319d4a20 Bugfix (#3533) 2023-11-27 17:52:27 +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
Blaz Kristan
ca3708ec60 Bugfix (#3526) 2023-11-27 17:50:11 +01:00
Frank
fd95f80052 increase build number 2023-11-27 15:59:36 +01:00
Frank
1ac24439d4 AR: fastpath optimizations
Some optimizations in FASTPATH mode, to ensure that audio processing takes places as soon as new samples are arriving:
* raise fftTask prio to 4 (above async_tcp) - to ensure that other gimmicks (MQTT, IR, alexa, live preview (ws), json API, or web UI) cannot cause delays by preempting audio.
* changed the "be nice" condition in AR::loop
2023-11-27 15:56:38 +01:00
Ewoud
8645e5e520 Bugfix: disables for _S but not for _M and _XL (build_unflag) 2023-11-23 16:15:13 +01:00
Ewoud
c5841269e9 Platformio.ini: build_flags_S: minimal + fastpath, add wemos_shield_S
build_flags_S
- add WLEDMM_FASTPATH
- uncomment disable directives
- not enable DMX
- add disable adalight and espnow

Add wemos_shield_esp32_4MB_S_base, wemos_shield_esp32_4MB_S and wemos_shield_esp32_16MB_S
2023-11-23 15:38:25 +01:00
Ewoud
587e6766c1 Bugfix: uxTaskGetStackHighWaterMark only works in esp32 2023-11-23 13:56:02 +01:00
Ewoud
43a5a290c0 Presets default name incl icons and checkbox defaults, info free stack
index.js
- add checked default values for preset brightness and segment bounds
- show free stack
- preset default name including icons

json.cpp
- serializeInfo: add freestack
2023-11-23 13:23:44 +01:00
Frank
ab309b39d2 Merge pull request #3536 from Aircoookie/ntp_errorchecking
NTP validation, and rejecting malformed responses (related to #3515)
2023-11-22 20:20:52 +01:00
Frank
d3d08f813b sound sync: prevent sequence "roll-back" due to late packets (1->254)
this is to prevent that an "old" packet with high sequence number (before counter roll-over) gets accepted wrongly.
2023-11-16 10:55:43 +01:00
Frank
ec4bdf90af sound sync: better handling of framecounter roll-over 2023-11-15 16:21:03 +01:00
tonyxforce
21f925eab2 Merge branch 'MoonModules:mdev' into mdev 2023-11-14 23:07:39 +01:00
Frank
c2fd50d18b 32bytes added to SETTINGS_STACK_BUF_SIZE
stack buffer was (again) a few bytes too small.
2023-11-14 19:01:19 +01:00
Frank
adc723c72c increment version, npm run build
added a few fixes and minor improvements from upstream (0_14_1 and 0_15_0 branch)
2023-11-11 23:58:02 +01:00
Frank
848708d962 minor tweak for Safari
based on 6570062e61
2023-11-11 23:52:30 +01:00
Blaž Kristan
86a8a30566 Merge pull request #3490 from JeffWDH/main
Add LDR sensor dusk/dawn preset control Usermod
2023-11-11 23:31:35 +01:00
JeffWDH
63b1f6384c Add LDR sensor dusk/dawn preset control Usermod 2023-11-11 23:29:20 +01:00
Woody
ffa9551846 fixed wrong power supply info 2023-11-11 23:22:03 +01:00
Blaz Kristan
7debd508c8 Twinklefox & Twinklecat fix 2023-11-11 23:15:38 +01:00
Blaz Kristan
b14f7f74ce Fix for udp sync (#3487) 2023-11-11 23:11:45 +01:00
knarfd
3f945753c2 Update FX.cpp 2023-11-11 23:02:32 +01:00
Blaž Kristan
614a434036 Merge pull request #3460 from mountainash/fix/broken-asset-links
Fixed broken Alphacoders hosted assest asset links
2023-11-11 22:36:17 +01:00
Ewoud
b88e7825b8 Populate nodes stability improvements and preview efficiency imprvements 2023-10-25 16:01:50 +02:00
Will Tatam
77e5793237 Shorten job name - easier to see the actual Environment name 2023-10-24 22:07:59 +01:00
Ewoud
0092e49eb3 GFX/Preview done right if > 4096 pixels + unlimited virtual pixels in 2d 2023-10-24 16:58:35 +02:00
Ewoud
7f5ddc79da PopulateNodes stability improvements 2023-10-24 15:34:07 +02:00
netmindz
2246436928 Update platformio.ini
Update to Animatrix with the fix for rgb_sanity_check
2023-10-21 22:15:47 +01:00
Ewoud
5672405a88 Merge pull request #84 from troyhacks/WM8978
WM8978 support for Ohmic Pico DSP, etc.
2023-10-20 20:15:20 +02:00
TroyHacks
3ba2fe4ee0 WM8978 support for PicoDSP, etc. 2023-10-20 01:23:10 -04:00
netmindz
b2344ad219 Merge pull request #83 from MoonModules/animatrix-update
Version of library with all rgb data set for every effect
2023-10-17 19:03:41 +01:00