Commit Graph

4946 Commits

Author SHA1 Message Date
Frank
1f65843e6d upstream changelog update
upstream bugfixes which were added into mdev
2023-12-29 17:28:52 +01:00
Blaz Kristan
dadafdab06 Remote preset cancles playlist 2023-12-29 17:23:46 +01:00
Frank
c74592032e Merge pull request #3615 from srg74/patch-2
Update readme.md
2023-12-29 17:22:54 +01:00
Blaz Kristan
738df1847a Fix for #2922 2023-12-29 17:21:43 +01:00
Frank
4bbf1ba584 sunrise/sunset: fix for ambiguous error value
sunset = 0 is a valid result, as the function result is in UTC and not local time .
Example: local time is UTC-8, local sunrise = 08:00am => getSunriseUTC()  = 0.

So we cannot use "0" for "invalid". Using UINT16_MAX resolves the problem, and even allows to simplify calculateSunriseAndSunset() a bit.
2023-12-29 17:19:53 +01:00
Frank
5e5233ce0c version bump -b28.35 2023-12-29 17:04:42 +01:00
MoonModules
35032df916 Merge pull request #100 from MoonModules/revert-99-feature/yandex-weather
Revert "Add YandexWeather Usermod"
2023-12-23 23:47:24 +01:00
MoonModules
7e8d570e81 Revert "Add YandexWeather Usermod" 2023-12-23 23:37:37 +01:00
Ewoud
feb77a4110 Merge pull request #99 from 2Grey/feature/yandex-weather 2023-12-22 14:35:56 +01:00
Sergey Ryazanov
0a51b973cb Remove support of Four-line display
Four line Display support removed because the Display font cannot draw the Celsius symbol and wind direction
2023-12-21 12:11:21 +04:00
Sergey Ryazanov
3c0158ad7d Add _MoonModules_WLED_ compatibility 2023-12-21 08:23:51 +04:00
Sergey Ryazanov
f04507b703 Add YandexWeather Usermod 2023-12-20 23:27:27 +04:00
Frank
67be1e8527 Update CHANGELOG.md - bugfixes back-ported to WLEDMM 2023-12-19 20:27:36 +01:00
Frank
58fe146a70 the experiment evolves
trying to find all the conditions when _doc[]_ should _not_ be touched ...
2023-12-19 11:28:46 +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
bfee1a82eb -S2: back to platform 5.2.0
- massive connectivity problems with 5.3.0
- almost 10% more free heap with 5.2.0
2023-12-18 16:58:44 +01:00
Frank
c574f68e3b trying to fix horribly broken build envs for -S2 and -C3
Flags for -S3 and "classic esp32" were mixed into specific flags for S2/C3, leading to subtly chaotic results.

WHODUNIT?
2023-12-18 16:35:31 +01:00
Frank
36eb520592 reduce RAM needs for -S2, user message on heap emergency actions 2023-12-18 15:39:12 +01:00
Frank
c8cee6cb51 -S2/-C3: removing stupid double protection of PSRAM pins
these pins are already forbidden in isPinOK.
In MM, trying to allocate them produces a buch of false warnings.
2023-12-18 11:34:42 +01:00
Frank
04136791b5 sound sync: shown "v2+" when framecounter is used
v2+ = improved format (MM fork only) including sequence frameCounter.
2023-12-18 10:44:05 +01:00
Blaz Kristan
cf2f378f93 Fix for #3593 2023-12-17 22:46:02 +01:00
Frank
cf20c80098 #define _MoonModules_WLED_
very useful to create "runs anywhere" usermods.
2023-12-16 23:20:31 +01:00
Frank
3b6c253825 npm run build
Let's Do It
2023-12-16 23:01:25 +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
c68890992c mcuTemp improvements
* allow users to en/disable usermod
* limit rate of reading the sensor (once in 8 seconds)
* add slight filtering
* skip invalid readings
2023-12-16 18:49:50 +01:00
Frank
684bf0bd8b random palette bugfix
if random palette was used in the startup preset, all LEDs were orange until the first palette cycling happened.
This fix ensures that there is no all-orange palette initially.
2023-12-16 18:44:54 +01:00
Frank
c8b7ad749a new pin owner 2023-12-15 22:09:48 +01:00
Frank
52ceabb505 LDR_Dusk_Dawn: use pinManager, check ldrPin before use (quick-fix for #3490) 2023-12-15 22:05:01 +01:00
Frank
075cc2d76c PSRAM update
In MM we can have PSRAM without defining WLED_USE_PSRAM
2023-12-15 00:34:05 +01:00
Frank
245c0c078d npm run build
yo-man
2023-12-15 00:18:11 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
9024872f63 code spell checking - part3 (usermods)
if you can spell Fahrenheit, you can't spell Celsius. And vice versa :-)
2023-12-14 22:22:46 +01:00
Frank
d00b32e6de bugfix - unusable pins on pico32 boards (#3573)
According to the technical manual, GPIO 16 + 17 are used for onboard flash, so cannot be used by WLED.

example buildenv:

[env:esp32_pico]
extends = env:esp32dev_qio80
board = pico32
2023-12-14 22:16:50 +01:00
Frank
627e00236a Manila Time is the same as CST (solves #3517)
PHST abbreviation added for clarity.
2023-12-14 22:15:30 +01:00
Frank
9f71f47e6f oappend robustness improvement
obuf is reset to nullptr in some cases
2023-12-14 22:15:30 +01:00
Frank
47448b8d00 comment clean-up (cosmetic) 2023-12-14 22:10:30 +01:00
Frank
4995faf594 code spell checking - part2 (dependencies) 2023-12-14 22:09:28 +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
3b623eeda0 Merge pull request #93 from MoonModules/Platform_upgrade
Platform upgrade - align with upstream platformio.ini
2023-12-13 22:28:00 +01:00
Frank
0a70f97780 random seed bugfix (compile errors on older platforms) 2023-12-12 15:36:31 +01:00
Blaz Kristan
88f67cbd24 FX:
- Matrix bugfix
- Lissajous metadata fix
2023-12-12 15:28:39 +01:00
Blaz Kristan
fa6e2175fe Remove re-seeding FastLED random8/random16 in FX 2023-12-12 15:21:34 +01:00
Blaž Kristan
451243c78d Merge pull request #3552 from TripleWhy/seedRandom16
Seed FastLED's RNG
2023-12-12 15:21:00 +01:00
Blaz Kristan
68dc4d11a9 Autowhite cleanup
Fix for UCS8904 hasWhite().
2023-12-12 14:48:51 +01:00
Blaz Kristan
1ac02bcd53 Bugfix #3561 2023-12-12 14:47:59 +01:00
Blaž Kristan
45dc9aa62d Merge pull request #3555 from srg74/patch-1
Update readme.md
2023-12-12 14:47:59 +01:00
Blaz Kristan
cc760e98a0 Fix for #3514 2023-12-12 14:46:40 +01:00