Commit Graph

1071 Commits

Author SHA1 Message Date
Frank
8a4792b4c4 version bump 0.14.0-b29.35
release prep
2024-01-03 17:10:08 +01:00
Blaz Kristan
aa9e8bbe4d Bugfix #3632 2024-01-02 17:31:55 +01:00
Frank
4b89016c2d audio-enhanced standard effects
backported from WLED-SR
2023-12-31 00:01:29 +01:00
Blaz Kristan
738df1847a Fix for #2922 2023-12-29 17:21:43 +01:00
Frank
5e5233ce0c version bump -b28.35 2023-12-29 17:04:42 +01:00
Frank
cde3298c54 MM experimental - build flag to move ALL json into PSRAM
-DALL_JSON_TO_PSRAM -DBOARD_HAS_PSRAM -D WLED_USE_PSRAM_JSON

on -S2, this *doubles* the PSRAM utilization!

before: heap used 85%, PSRAM used 13kb / 21kb
after:   heap used 60%, PSRAM used 41kb / 65kb !!
2023-12-18 20:41:11 +01:00
Frank
ca9644f04e removing my nasty debug probes; version number of today
enough of this shit ;-) no more stiff upper lips.
2023-12-18 18:33:29 +01:00
Frank
cf20c80098 #define _MoonModules_WLED_
very useful to create "runs anywhere" usermods.
2023-12-16 23:20:31 +01:00
Frank
7624b76186 version bump 0.14.0-b28.34 2023-12-16 22:58:14 +01:00
Frank
d25835ceae experimental: trying to get the main JSON doc into PSRAM
Its not enough to declare "doc" as DynamicJsonPSRAMDocument - PSRAM is not yet initialized when "doc" is created. So we need a trick to get the main doc into PSRAM later, during WLED::setup().

Code is very experimental, may or may not work, and need more testing
-> disabled with "#if 0"
2023-12-16 22:50:05 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
ced03f1f08 code spell checking - part1 (core)
I've found a code spellchecker, so this is what can be corrected easily. Changes are only affecting comments, readme and a few user-visible strings. So no functional impact expected.
2023-12-14 22:05:55 +01:00
Frank
176158c5ba chores
npm run  build
2023-12-13 23:33:58 +01:00
Frank
2beed4627c Merge branch 'mdev' into Platform_upgrade 2023-12-12 01:09:40 +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
Frank
2d54393c2d start of 0.14.0-b27.33 2023-12-10 17:53:07 +01:00
Frank
bc6716fe0d Merge branch 'mdev' into Platform_upgrade 2023-12-10 17:36:43 +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
9cbb731e3a Merge branch 'mdev' into mudroom 2023-12-04 10:37:31 +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
Frank
fd95f80052 increase build number 2023-11-27 15:59:36 +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
cc8d4e3969 Merge pull request #3536 from Aircoookie/ntp_errorchecking
NTP validation, and rejecting malformed responses (related to #3515)
2023-11-22 20:31:49 +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
e6513fef88 (WIP) align platformio build env with upstream
*  espressif32@5.2.0 --> espressif32@5.3.0
* pxmagic.htm added in cdata.js
* minor updates in style.css
* align some constants and definitions (wled.h, const.h)
* npm run build
2023-11-15 22:51:03 +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
Ewoud
7f5ddc79da PopulateNodes stability improvements 2023-10-24 15:34:07 +02:00
Ewoud
294a872462 json/info: brand and product configurable by compile variables
For MM builds brand = WLEDMM
Will be used in WLED-Native - by Moustachauve

Changed in bh1750, bme280, pir, json.cpp and wled.h
2023-10-15 21:43:55 +02:00
Ewoud
71abd117b5 PolarLights and Octopus: deterministic + SuperSync control
FX.cpp
- SuperSync control on Polar lights and Octopus:  only calculate pixels for the first panel
2023-10-08 19:02:32 +02:00
Ewoud
b07562659f SuperSync small updates 2023-10-08 17:09:57 +02:00
Frank
2a7767dda8 Merge branch 'buildcache' into mdev 2023-10-07 20:42:27 +02:00
Ewoud
fea47b5965 Add Ethernet type: Olimex ESP32 Gateway
index.js:
- add leds instead of matrix to extendedNodes array
- split V and P ledcount
2023-10-07 15:25:27 +02:00
Frank
6fdd1823e0 build number of today 2023-10-06 17:33:21 +02:00
Ewoud
ffb0ad760d Solve gamma reset bug + super sync nodes compare and update (WIP)
cfg.cpp: update "light" only if value set (gamma correction bug)

index.js
- implement SuperSync function (WIP)
- ddpAll: refactor extendedNodes
- populateNodes: make things more straightforwared
- add panelX and Equal column to compare current and desired values
- add matrix to extendednodes and set the right values (WIP)
2023-10-05 15:36:28 +02:00
Ewoud
cea994c282 Deterministic mode of effects only when SuperSync is on
Temporary - to compare both modes

Octopus
Soap
CrazyBees
2023-10-04 11:56:00 +02:00
Ewoud
06220946c0 Refactor Nodes popup for SuperSync
(WIP)
2023-10-03 17:57:57 +02:00
Ewoud
76aa3072b6 Octopus and Crazy Bees Super Sync compatible 2023-10-02 12:45:56 +02:00
Ewoud
37e1624729 Make Soap effect Super Sync compatible 2023-10-01 21:13:16 +02:00
Ewoud
342f99ca27 Effects to Instances: effects non-deterministic: now instead of millis
index.js
- genPresets: Temporary for deterministic effects test: Set to 11/Raibow instead of 1/Random smooth palette

FX.cpp
- replace all millis() by strip.now
2023-09-30 12:23:53 +02:00
Frank
0808335565 npm run build
yo'man
2023-09-17 19:31:23 +02:00
Frank
523893be02 8266 audioreactive: fix crash during OTA
* fix crash when starting OTA: `Panic core_esp8266_main.cpp:191 __yield `
* prevent sound sync reconnect during OTA
2023-08-25 16:18:37 +02:00
Frank
31badb0e66 8266 onUpdateBegin, and minor cleanup
* 8266 audioreactive: added minimal `onUpdateBegin()`
* small cleanups
2023-08-24 22:50:50 +02:00
Frank
087de86127 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 13:18:48 +02:00
Frank
92e64b797a 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 22:55:05 +02:00
Frank
28ca62a055 build number up
some minor updates from upstream
- JSON API : fix (de)allocations of pins for buttons/IR/RELAY
- JSON API: added sync groups
2023-08-16 10:03:14 +02:00
Will Tatam
a399ec8c99 Rebuild test 2023-08-14 21:52:13 +01:00
Will Tatam
ca2106ad1d Rebuild test 2023-08-14 21:39:14 +01:00
Will Tatam
e3b796913d Rebuild test 2023-08-14 21:24:58 +01:00