Wykres commitów

3633 Commity (secure-api)

Autor SHA1 Wiadomość Data
Suxsem fa32faf759 feat(new): relay open drain output 2024-04-21 13:37:07 +02:00
Blaz Kristan 6f3d7e76c9 Fix for #3919 2024-04-19 22:54:25 +02:00
Blaz Kristan 6d1410741d Fix 8266 compile 2024-04-17 19:00:16 +02:00
Blaz Kristan 3e20724058 ArduinoFFT update
shadow variables
2024-04-17 18:52:35 +02:00
Blaž Kristan 1b75be5710
Update FX_2Dfcn.cpp
Undo indent
2024-04-16 17:37:48 +02:00
Damian Schneider 084fc2fcd1 bugfix & code formatting, removed color_scale
also replaced scale8_video with 32bit calculation in color_fade for consistency and speed.
2024-04-16 10:43:06 +02:00
Damian Schneider 459156fe57 added improvements to color scaling and blurring
-changes save roughly 600bytes of flash
-made blurring faster by not writing the color and then reading it back but keeping it as a variable: on a C3, FX black hole goes from 55FPS to 71FPS
-added optional parameter to blur (smear) that can be used in combination with SEGMENT.clear(), blurring the frame without dimming the current frame (repeated calls without clearing will result in white). this is useful to blur without 'motion blurring' being added
-scale8 is inlined and repeated calls uses flash, plus it is slower than native 32bit, so I added 'color_scale' function which is native 32bit and scales 32bit colors (RGBW).
2024-04-15 21:20:45 +02:00
Blaz Kristan 7abfe68458 Add support for TM1914 chip 2024-04-15 16:13:13 +02:00
Blaz Kristan 94cdd88474 Version bump B3
- fix for #3896
- fix WS2815 current
- conditional AA setPixelColor()
2024-04-13 18:25:25 +02:00
Blaz Kristan 30435e6406 2D compile fix 2024-04-11 20:11:29 +02:00
Blaz Kristan bd1c06a7a7 Changelog update 2024-04-10 20:06:46 +02:00
Andreas Kling c3787af29d Send ArtnetPollReply for Art-Net proxy universe 2024-04-09 20:00:00 +02:00
Blaz Kristan 38539aac74 Merge branch '0_15' into new-KITT 2024-04-09 16:36:18 +02:00
Blaz Kristan 58e8346209 Fix for #3889 2024-04-09 08:25:07 +02:00
Blaž Kristan bd60fe5a13
Merge pull request #3798 from DedeHai/ESP32_S3_TouchFix
Esp32 s3 touch fix
2024-04-07 22:24:32 +02:00
Blaž Kristan b72f3baab7
Update set.cpp
Compile fix
2024-04-07 22:21:41 +02:00
Blaž Kristan d1d54ce9c8
Update cfg.cpp
Indentation fix
2024-04-07 22:15:58 +02:00
Blaž Kristan 954f26308b
Update button.cpp
Indentation fix
2024-04-07 22:12:01 +02:00
Blaž Kristan 1cafa0b33f
Merge pull request #3880 from DedeHai/harmonic-random-palette-generator
Added fix for #3870
2024-04-07 22:03:59 +02:00
Damian Schneider 18c17168e1 replaced &0xFFFF with explicit casts 2024-04-07 16:07:37 +02:00
Damian Schneider d3a97f1062 removed detachinterrupt from pin manager, added it to set.cpp instead 2024-04-07 13:49:17 +02:00
gaaat98 9ffcde878a
fix for #3884 2024-04-06 15:40:32 +02:00
Blaz Kristan aa970d6ca5 Extend JSON API info object
- add "clock" - CPU clock in MHz
- add "flash" - flash size in MB
Fix for #3879
2024-04-05 19:26:09 +02:00
Damian Schneider 503c68320a Bugfix: millis rollover (fix for #3870)
millis()/1000 rollover after 18h was not handled, truncating to 16bits after division fixes it.
2024-04-05 07:23:28 +02:00
Blaz Kristan a106342439 PICO & WROVER runtime support
return of GPIO16
2024-04-04 23:09:59 +02:00
Blaz Kristan 00f5471270 Build bump, changelog udate 2024-04-04 21:59:41 +02:00
Carlos Cruz fa5d60ca26
Merge branch '0_15' into main 2024-04-01 11:02:02 -04:00
Blaz Kristan 20ed81cd86 Prefer I2S1 over RMT on ESP32
- remove Audioreactive limitation
2024-03-30 11:02:28 +01:00
Blaz Kristan 6d278994ec WLED 0.14.3 release
- Fix for transition 0 (#3854, #3832, #3720)
- copyright year update
- updated AsyncWebServer to v2.2.0
2024-03-29 20:05:56 +01:00
Blaz Kristan f21ab3588d Individual color channel control for JSON API
- fixes #3860
- debug verbose
- PSRAM detection
2024-03-29 16:43:37 +01:00
Blaz Kristan 5f37c19d42 PSRAM fix & CCT IC
- prevent PSRAM use on ESP32 rev.1 without compile fix
- add runtime selection for CCT IC (Athom 15W bulb)
2024-03-28 16:03:06 +01:00
Blaz Kristan fd149b3f46 fileDoc removal (optimisation) 2024-03-26 17:18:52 +01:00
Blaz Kristan 47f44680a3 Multi-update
- 0.15.0-b2
- WS2805 support (NeoPixelBus 2.7.9)
- generic PSRAM support (ESP32 rev.1 still needs compile fix)
- BREAKING: default LEDPIN 2 (due to PSRAM)
- PinManager optimisations
2024-03-24 17:37:11 +01:00
Blaz Kristan ecfdc6f0a8 Bugfixes:
- #3843
- #3844
- network scan on new install
- misc optimization
2024-03-22 20:49:13 +01:00
Blaž Kristan 3c23672347
Merge pull request #3836 from THATDONFC/0_15
Add SSD1309_64 I2C Support for FLD Usermod
2024-03-21 05:48:42 +01:00
Blaz Kristan b031fa1531 Palette cycling fix.
Updated getPaletteCount() to return count of all available palettes, including custom ones.
2024-03-20 20:12:21 +01:00
Blaž Kristan 78096803ea
Merge branch '0_15' into fw1906_0_15 2024-03-20 19:51:32 +01:00
Blaž Kristan f1987b9544
Merge pull request #3828 from willmmiles/0_15-asyncwebserver-2.2.0-features
ESPAsyncWebServer 2.2.0 + features
2024-03-20 19:50:06 +01:00
Will Miles 8b6bf08a23 serveLiveLeds: Use variable buffer size
Allocate the serialization buffer size at the required length, rather
than always allocating the maximum size.
2024-03-19 23:50:32 -04:00
Will Miles 2640203c88 wled_server: Remove local content type variables
Use the CONTENT_TYPEs exported by AsyncWebServer directly.
2024-03-19 23:46:55 -04:00
thatdonfc ecee073e08
Fix palette names when palette ID > 58 and not custom 2024-03-19 14:04:24 -07:00
Blaz Kristan 5d3f22e06a Changelog update and build bump. 2024-03-19 15:18:17 +01:00
Blaž Kristan c77f6c5f7b
Merge pull request #3711 from muebau/tetris-ai
Tetris AI usermod
2024-03-19 14:44:51 +01:00
Blaž Kristan 6d03c3a54c
Merge pull request #3834 from willmmiles/ddp-no-push
Support DDP sources that don't PUSH
2024-03-19 07:30:58 +01:00
Will Miles 505d319e01 Fix avgLoopMillis 2024-03-18 19:50:54 -04:00
Will Miles 62f845a94e DDP: Support sources that don't push
If the source never sends the push flag, WLED buffers the update but
never publishes it to the LEDs.  This causes the confusing case where
the peek display shows one thing but the LEDs themselves something else.

Add a static flag that tracks if we've seen a push from the source;
until we do, apply every update as soon as it's received, per the DDP
specification.
2024-03-18 19:49:26 -04:00
Blaz Kristan 7a9eff7f35 Fix. 2024-03-18 20:23:30 +01:00
Blaz Kristan b849ea8eaa Fix for #3827 2024-03-18 20:01:32 +01:00
muebau f1635fa302
Merge branch '0_15' into tetris-ai 2024-03-18 13:21:35 +01:00
Will Miles 6de617ecd5 getSettingsJS: Fix missing DISABLE_INFRARED guard 2024-03-17 16:28:09 -04:00
Blaz Kristan 7c8df97968 Merge branch 'main' into 0_15 2024-03-17 12:21:35 +01:00
Blaz Kristan acf6736afd WLED 0.14.2 release 2024-03-17 11:52:09 +01:00
Will Miles 5f2480c3d9 serveLiveLeds: Use dynamic buffer
There were three problems here:
- AsyncWebServer is going to copy to a heap buffer anyways, so we might
   as well just pass it one it can use
- The buffer size estimate was wrong -- we need 9 bytes per pixel
   ("RRGGBB",), so the buffer could overflow, and it was not
   considering the extra 2D requirements
- On ESP8266, the stack allocation was overflowing the stack, causing
  corruption and crashes.
2024-03-16 12:16:36 -04:00
Will Miles 0593a078c6 handleFileRead: Leverage AWS code
No need to filter or look up content type, just pitch it over the wall.
Also fixes .gz'd content processing.
2024-03-16 12:12:48 -04:00
Will Miles 323c70dcdf Update for new AsyncWebSocketBuffer
Eliminate the extra indirection and allocate shared buffers directly.
2024-03-16 12:12:48 -04:00
Will Miles a1b0f84444 Pass PROGMEM type to server.on()
Rather than relying on the exception handler, indicate the
__FlashStringHelper type so the correct String constructor is
used.
2024-03-16 12:12:48 -04:00
Will Miles df6c271830 Use web server ContentType symbols
These were mostly PROGMEM already, but every little bit helps.
2024-03-16 12:12:48 -04:00
Blaz Kristan 52a1b0453c MQTT cleanup & reduction 2024-03-16 15:26:52 +01:00
Blaz Kristan 0dcb56eab5 Modify Bus & BusManager to accommodate digital CCT
- additional fix in hasWhite() & setCCT() & hasCCT()
2024-03-16 12:36:05 +01:00
Blaž Kristan 505768db04 Some fixes & implement recommendation from @Aircoookie
https://github.com/Aircoookie/WLED/pull/3298#issuecomment-1651910418
2024-03-13 20:44:34 +11:00
Robert c74db95c14 Add FW1906 support 2024-03-13 20:44:33 +11:00
Robert af3f27feae Move CTT calculation from BusPwm to Bus class.
This enable it to other bus types.
2024-03-13 20:26:58 +11:00
Blaz Kristan 7b366d49d2 Effect: 2D Drift gets original twin option 2024-03-12 21:23:09 +01:00
BaptisteHudyma 05c0febd04 fix the 2d drift animation 2024-03-12 12:01:25 +01:00
Blaz Kristan 0398ec40b7 Merge branch 'main' into v0142-beta2 2024-03-11 23:00:17 +01:00
Blaz Kristan a4384bd340 Simpler boot preset save
- fixes #3806
2024-03-11 17:59:13 +01:00
Christian Schwinne 68e5e74882 Fix expanded preset low width
Fix spaces missing in HTML somehow
Update copyright year
2024-03-10 21:52:54 +01:00
Damian Schneider 0637c1c9d4 bugfixes
-added minimum threshold, had some crashes when setting threshold to zero before
-moved interrupt detach to GPIO deallocation where it belongs
-added check for touchbutton before detaching interrupt
-moved thochThreshold readout up so it gets updated before passing it to the system call
2024-03-10 19:44:27 +01:00
Damian Schneider 0453a5fb3d added interrupt detach to cfg.cpp 2024-03-10 16:54:25 +01:00
Christian Schwinne 51b9e81c3d Fix missing spaces in info page 2024-03-09 21:48:48 +01:00
Christian Schwinne 7e17011ebc Revert "Merge branch 'gif' into 0_15"
This reverts commit cb5eb9edc7, reversing
changes made to da5c12f466.
2024-03-09 20:00:41 +01:00
Carlos Cruz ab13db73e7
Added files to usermod directory and changes to platform.ini to support Adafruit MAX17048 module. (#2)
Co-authored-by: Azots <78281612+Azots@users.noreply.github.com>
2024-03-09 13:06:30 -05:00
Christian Schwinne cb5eb9edc7
Merge branch 'gif' into 0_15 2024-03-09 18:23:59 +01:00
Damian Schneider 509675fe66 added touch interrupt activation to set.cpp for S2/S3 2024-03-09 16:03:01 +01:00
Blaz Kristan da5c12f466 Segment UI bugfix. 2024-03-09 12:37:35 +01:00
Blaz Kristan f2ad10bbce Limit max frequency to 64k 2024-03-08 18:11:40 +01:00
Blaz Kristan 99a7bece2e Build bump & changlog update 2024-03-07 21:43:41 +01:00
Blaz Kristan c0beb621e2 Better low brightness level PWM handling
Additional string optimisation
2024-03-07 20:21:56 +01:00
Blaz Kristan da6d64e581 Multiple fixes
- compile time button configuration #3792
- remove IR config if not compiled
- additional string optimisations
2024-03-05 16:27:28 +01:00
Woody 2a480ab7db
Revert "fix preset sorting reordering bug"
This reverts commit f25fadafd8.
2024-03-05 11:30:11 +01:00
Damian Schneider 5c09ee29db removed notes 2024-03-04 14:42:50 +01:00
Damian Schneider 15526bd6e8 some tuning for touch buttons on S2/S3
now better fits the default threshold value of 32
2024-03-04 14:38:51 +01:00
Damian Schneider c8f48168b4 fixed touch buttons for ESP32 S2 and S3
touch is implemented differently on S2 and S3, these changes make touch buttons work on S2 and S3
2024-03-04 14:38:37 +01:00
Woody 66f14c6343
restore default preset sorting if no search term is entered 2024-03-03 15:58:30 +01:00
Woody f25fadafd8
fix preset sorting reordering bug 2024-03-03 15:16:10 +01:00
Will Miles d9b0df94e2 LockedJsonResponse: Release early if possible
Release the json buffer lock as soon as we've finished serializing.
This should slightly reduce the number of lock collisions as the
response class isn't destructed until after the last packet is ack'd.
2024-03-03 10:58:40 +01:00
Woody 200d11ca99
Revert "Fix preset sorting"
This reverts commit 00038453e1.
2024-03-02 21:56:25 +01:00
Blaž Kristan f8c48ef60a
Merge pull request #3760 from willmmiles/json-response-early-unlock
LockedJsonResponse: Release early if possible
2024-03-02 14:29:34 +01:00
Blaz Kristan 1fc0680c71 160MHz clock & alternate AWS 2024-03-02 14:12:57 +01:00
Blaž Kristan ec4afb2cbc
Merge pull request #3616 from demophoon/dmx-segment-options-expanded
Add additional segment options when controlling over e1.31
2024-03-01 16:28:19 +01:00
Blaz Kristan a2a632c415 Variable PWM duty cycle resolution 2024-03-01 14:36:17 +01:00
Blaz Kristan 962e64106c A few more PROGMEM optimisations 2024-03-01 14:36:07 +01:00
shammy642 0d1a254ca8 Changed values to 89 2024-02-29 12:47:45 +00:00
shammy642 fdbcb61a12 Rebased to 0.15 2024-02-29 08:27:11 +00:00
Blaz Kristan 6435cb1466 Fix for missing string in OTA 2024-02-28 20:25:59 +01:00
Blaz Kristan 4739cfab9a JS ABL optimisation 2024-02-28 18:14:42 +01:00
Blaz Kristan 00a73e9cc8 ABL display bugfix 2024-02-27 21:21:53 +01:00
Blaz Kristan 0ff5dec004 Reposition upload warning message.
Fixes #3778
2024-02-27 15:59:41 +01:00
Blaz Kristan 41129cf379 Sqeeze every byte 2024-02-25 17:08:01 +01:00
Will Miles c8c394b4e9 TZ_TABLE: Add missing const 2024-02-20 18:33:18 +01:00
Will Miles 59886a1528 Move timezone table to PROGMEM 2024-02-20 18:33:09 +01:00
Frank a28d2c869f
Merge pull request #3766 from willmmiles/tztable-progmem
Move timezone table to PROGMEM, saving ~200 bytes of RAM on 8266.
2024-02-20 17:09:47 +01:00
Will Miles 6f1fff44fa TZ_TABLE: Add missing const 2024-02-19 09:48:34 -05:00
Will Miles 108978d1a5 Move timezone table to PROGMEM 2024-02-18 21:23:53 -05:00
Blaz Kristan a4733b4d91 Move strings into flash 2024-02-18 14:25:07 +01:00
Blaz Kristan 66f4671ec0 Move strings into flash 2024-02-18 14:09:38 +01:00
Blaz Kristan c932621b5d string fix 2024-02-17 15:00:47 +01:00
Frank 21173dc907 Fixing a potential array bounds violation in ESPDMX
DMXESPSerial::write and DMXESPSerial::read could access DMXDataStore[512] -   one more than the allocated number of elements (i.e. 0...511].
2024-02-17 13:05:04 +01:00
Blaz Kristan f2c30ba3f7 Effect: modified KITT (Scanner)
- add delay
- add dual checkmark
- rename Fade rate to Trail (inverse)
- makes Scanner Dual obsolete
2024-02-17 12:58:04 +01:00
Blaz Kristan 989bdfb0d5 Reduce string RAM usage for ESP8266 debug builds 2024-02-17 11:33:42 +01:00
Blaz Kristan 5761dce957 JSON buffer lock error messages
Reduce wait time for lock to 100ms
2024-02-17 11:30:29 +01:00
Blaz Kristan 95e2e574b8 ESP-NOW packet modification
- include up to 5 segments in 1st packet
- header contains total number of packets (instead of segments)

web server code reorganise
2024-02-15 20:40:55 +01:00
Will Miles c789d80ce5 LockedJsonResponse: Release early if possible
Release the json buffer lock as soon as we've finished serializing.
This should slightly reduce the number of lock collisions as the
response class isn't destructed until after the last packet is ack'd.
2024-02-14 19:37:34 -05:00
Frank 8422ffcd19
Fixing a potential array bounds violation in ESPDMX
DMXESPSerial::write and DMXESPSerial::read could access DMXDataStore[512] -   one more than the allocated number of elements (i.e. 0...511].
2024-02-15 00:53:00 +01:00
lost-hope 2d30535b69 Fixing stairway usermod and adding buildflags 2024-02-14 09:56:57 +01:00
Blaz Kristan aa24e5d284 Preset caching on chips with PSRAM
- credit @akaricchi
2024-02-13 11:12:04 +01:00
lost-hope 23aad24027
Fixing stairway usermod and adding buildflags
Fixing Stairway:
missing setup function

Adding builflags:
USERMOD_STAIRCASE_WIPE to install the usermod
2024-02-12 22:41:13 +01:00
Blaz Kristan 7ae5459fe7 0.14.2-b1 2024-02-12 13:29:08 +01:00
Blaz Kristan 0a8a88421e Possible fix for #3589 & partial fix for #3605 2024-02-12 13:20:47 +01:00
Blaz Kristan 4f42a176ef Prevent JSON buffer clear after failed lock attempt
(alternative to #3743)
2024-02-11 20:12:54 +01:00
Blaz Kristan 4457067045 Multiple analog button fix for #3549 2024-02-10 11:47:40 +01:00
Blaz Kristan e7dc2048ad Multiple analog button fix for #3549 2024-02-10 11:45:33 +01:00
Blaz Kristan af6094bb06 Bump 2024-02-09 22:58:11 +01:00
Blaz Kristan 500a7301f2 Fix merge error 2024-02-09 22:37:52 +01:00
Blaz Kristan c92cef1780 Merge branch '0_15' into usermod_v2_HttpPullLightControl_0.0.5 2024-02-09 22:34:38 +01:00
Blaz Kristan 49ceac1ac7 Add "RGB2Go Tetra" Ethernet 2024-02-09 22:21:14 +01:00
Blaz Kristan 276a93605d Multiupdate
- allow DMX for S2 & C3 (ESPDMX, needs testing)
- (debug) string cleanup & optimisation
- WLED_BRAND for AP SSID
2024-02-09 22:15:29 +01:00
Blaz Kristan 0150c3fe23 Undo flash string in DMX 2024-02-08 23:35:00 +01:00
Blaz Kristan 34674501c3 Remove throttling from UI 2024-02-08 19:33:08 +01:00
Blaz Kristan f6206d4c30 Web server string optimisation
(saves 140B of RAM on ESP8266)
ETag bugfix
2024-02-08 19:32:23 +01:00
Blaz Kristan 6dcd9596a2 Prevent JSON buffer clear after failed lock attempt
(alternative to #3743)
2024-02-07 18:58:56 +01:00
Christophe Gagnier ed2950f73b Allow product information to be specified at build time 2024-02-07 02:09:03 -05:00
Blaz Kristan 7eae8f68d8 Merge branch 'main' into 0_15 2024-02-06 14:47:20 +01:00
Blaž Kristan 0ab2d18b52
Merge pull request #3729 from DedeHai/harmonic-random-palette-generator
added function to generate random palette based on harmonic color theory
2024-02-06 13:16:05 +01:00
Blaz Kristan 8ab621bc91 Another unsigned 2024-02-06 11:43:57 +01:00
Blaz Kristan 41e51bbeb5 Configuration item for harmonic palettes
Comment cleanup
2024-02-06 11:06:23 +01:00
Blaz Kristan 66d9e8c038 Merge branch '0_15' into harmonic-random-palette-generator 2024-02-06 10:53:44 +01:00
Blaz Kristan 246746a82e Multi PIR usermod 2024-02-05 22:13:32 +01:00
Blaz Kristan 00038453e1 Fix preset sorting 2024-02-03 19:24:08 +01:00
Blaz Kristan 9ce485eade Ignore missing remote.json 2024-02-03 14:40:45 +01:00
Blaz Kristan 8a6ff5a42b UI fixes and refinements 2024-02-03 14:40:28 +01:00
Damian Schneider e0f89beebb slight change to color parameters
added more white, changed function return value of fully random palette function
2024-02-01 20:06:48 +01:00
Blaz Kristan b8bf2a707c Remove obsolete usermods
- mode sort
- 4LD (non ALT)
- Rotary encoder (non ALT)
2024-02-01 18:53:55 +01:00
Blaz Kristan 0a7e9f9f8f Build bump and ghanglog update 2024-02-01 18:36:10 +01:00
Blaž Kristan 7dd79edc52
Merge pull request #3734 from WoodyLetsCode/tooltip
Improvements for tooltips
2024-02-01 17:07:52 +01:00
Blaž Kristan fe54fadbf8
Merge pull request #3709 from Aircoookie/multiwifi
Implement multiple WiFi
2024-02-01 17:04:18 +01:00
Blaž Kristan caa0722d49
Merge pull request #3715 from WoodyLetsCode/nodelist
Allow nodes buttons to be opened in new target or copy ip address
2024-02-01 17:00:21 +01:00
Blaž Kristan fee32622f1
Merge pull request #3489 from WoodyLetsCode/clock-overlay
Show clock overlay only if all LEDs are solid black
2024-02-01 16:54:26 +01:00
Blaz Kristan d1910e4274 Merge branch '0_15' into multiwifi 2024-02-01 16:49:55 +01:00
Blaž Kristan 45eb11d7f4
Merge pull request #3721 from Aircoookie/temporary-AP
Temporary AP
2024-02-01 16:44:41 +01:00
Blaž Kristan 874179fa75
Merge pull request #3625 from m-wachter/ESP32-POE-WROVER
Add support for Olimex ESP32-POE-WROVER.
2024-02-01 16:41:40 +01:00
Woody 777ed55c21
Add tooltip for toggle freeze & label 2024-01-31 22:36:09 +01:00
Woody fcafd8b05e
Improved tooltips 2024-01-31 22:35:10 +01:00
Blaz Kristan 5f1cadfea4 Merge branch '0_15' into feature/add-APA106-led 2024-01-31 17:21:55 +01:00
Damian Schneider ca05aa84ff changed randomness and added optimizations
-added fully random palette function ('the old way', currently just used for initialization)
-changed randomness values to make it a little less random
-added 10% chance for pastel color palette
-now using swap() from std library for shuffeling
-changed function name
-moved update check from loadPalette() to handleRandomPalette() saving CPU cycles
2024-01-30 22:28:40 +01:00
Damian Schneider ef6fe43251 random palette transitions with set transition time 2024-01-29 22:14:26 +01:00
Damian Schneider 2659055c31 fixed typos 2024-01-29 20:47:09 +01:00
Damian Schneider f5ed757780 added some minor fixes
-fastled flags
-gamma correction
-pass by reference instead of pointer
2024-01-29 20:47:09 +01:00
Damian Schneider e114b842ba fixed initialisation or random palette 2024-01-29 20:47:08 +01:00
Damian Schneider 12e2116acb bugfix, need to initialize the random palette to something useful 2024-01-29 20:47:08 +01:00
Damian Schneider bccc97d25f fixed include, bugfix in random palette handling 2024-01-29 20:47:08 +01:00
Damian Schneider a9bcc75733 added function to generate random palette based on harmonic color theory 2024-01-29 20:47:08 +01:00
Blaz Kristan 7b87475af8 Fix random palette transitions. 2024-01-29 19:06:41 +01:00
Michael Wachter 2ac218886a Add support for Olimex ESP32-POE-WROVER.
There is a version of the Olimex ESP32-POE board with an ESP32-WROVER
module which has a the ethernet clock connected to a different IO than
the version with an ESP32-WROOM module.

This commit adds a new runtime selectable variant for the WROVER version.
2024-01-28 17:54:19 +01:00
Blaz Kristan 97503897f0 New effect: 2D Rotozoomer 2024-01-28 15:09:40 +01:00
lost-hope 7e06e32cb6 Usermod Klipper Percentage: fix error with slashes on non windows devices 2024-01-27 23:26:30 +01:00
Blaz Kristan 15b813c6af Build bump & changelog update 2024-01-27 21:22:25 +01:00
Blaž Kristan a71c9107bd
Merge pull request #3683 from TripleWhy/rotatingPalletteEffect
Rotating 2D Palette effect
2024-01-27 20:04:36 +01:00
Blaž Kristan 4c2110189b
Merge pull request #3682 from Aircoookie/supersync
Use strip.now instead of millis() in effects
2024-01-27 14:06:26 +01:00
Blaz Kristan df750c2a71 Fix for single wifi 2024-01-27 08:39:54 +01:00
Blaz Kristan 3eb412b750 Add rescan & selection on disconnect 2024-01-26 18:38:56 +01:00
Blaz Kristan 5c7b7e4182 Constant & override 2024-01-26 15:31:09 +01:00
Blaz Kristan 8817d41275 Wrong return value 2024-01-25 19:57:04 +01:00
Blaz Kristan fbe26e13ae Remove erroneous wifi selection 2024-01-25 19:46:47 +01:00
Blaz Kristan 4408dffa87 Better invalid password handling
Changed function return value
2024-01-25 19:42:23 +01:00
Derek4aty1 546192865c DNA Spiral Effect Speed Fix 2024-01-25 11:21:16 -06:00
lost-hope 7afa550ba4
Usermod Klipper Percentage: fix error with slashes on non windows devices 2024-01-25 17:55:41 +01:00
Woody 21a9372320
fix clock overlay display 2024-01-25 12:14:44 +01:00
Woody f4a2eec984
Use a reference instead of segment object copy 2024-01-25 11:33:40 +01:00
Woody 94b9455c9c
closes Aircoookie/WLED#984
Implements option to show clock overlay only if all LEDs are solid black
2024-01-25 11:33:36 +01:00
Blaz Kristan dde647c570 Required fix 2024-01-24 20:53:17 +01:00
Blaz Kristan 445a89ba6e Try hard to release memory 2024-01-24 20:49:22 +01:00
Blaz Kristan 07495f6621 Merge branch '0_15' into temporary-AP 2024-01-24 20:22:50 +01:00
Blaz Kristan 5952edc550 Some fixes 2024-01-24 19:52:41 +01:00
Blaz Kristan 3e2aebcd10 Remove regression
Init wifi for scan
Always save WiFi name
2024-01-24 15:43:59 +01:00
TripleWhy 0d279cb4dd Add some comments 2024-01-24 15:38:50 +01:00
Woody 3942a76d15
Fix #3708 2024-01-23 21:00:44 +01:00
Blaz Kristan 1bebf3d3d6 Optimise wifi scan
- prioritize strongest signal
- prune removed networks
- fill present networks
2024-01-23 20:44:43 +01:00
Blaz Kristan d5f54c240a Debug pin fix 2024-01-22 21:01:57 +01:00
Blaz Kristan 8868ecd11a Cleanup 2 2024-01-22 20:48:03 +01:00
Blaz Kristan 8a31c57bfa Fix getActiveSegmentsNum
Limit rotation to +-90 deg (swapping sin/cos & limit angle)
Shift palette shift
2024-01-22 19:38:13 +01:00
muebau 7e2cce4a8d Tetris AI usermod 2024-01-21 17:28:10 +01:00
Blaz Kristan bfb217c203 Implement multiple WiFi
- similar to #3705
- solves #2845, #2974, #852, #1228
2024-01-21 00:30:15 +01:00
Blaz Kristan 593e55af95 Cleanup. 2024-01-20 23:29:45 +01:00
Blaz Kristan 29af62f956 Fix for 1D & remove segment ID 2024-01-20 14:55:22 +01:00
Blaz Kristan 5dd8f0a0b7 typo 2024-01-17 23:39:33 +01:00
Christian Schwinne 9378fc7276 Merge remote-tracking branch 'origin/0_15' into gif 2024-01-16 21:53:08 +01:00
Blaz Kristan 3a0d8069b6 Bus type clarifications
- expansion of digital types
- updated macros
- mem calc function
2024-01-16 21:02:08 +01:00
Blaz Kristan bab42014a4 Fix for #3693 2024-01-16 19:35:18 +01:00
Blaz Kristan 74fed5695f Fix for #3693 2024-01-16 19:34:23 +01:00
Blaz Kristan 3be368c333 A few more overrides 2024-01-14 21:04:18 +01:00
Blaz Kristan a4a8e2614e Release WLED 0.14.1 2024-01-14 18:33:27 +01:00
Blaz Kristan 58eb151ba1 Use strip.now instead of millis() in effects
AKA "supersync" from WLED MM fork
2024-01-14 17:51:48 +01:00
Blaz Kristan 21d21ea7f0 Orange flash fix (#3196) for transitions 2024-01-14 17:40:04 +01:00
Blaz Kristan 45dc5e236d Override identifier 2024-01-14 17:38:29 +01:00
Christian Schwinne 0a66fe196a Merge remote-tracking branch 'origin/0_15' into pr/3580 2024-01-14 15:08:13 +01:00
Woody 3f21b4aa7d
Add own background image upload (#3596)
* Add own bg image upload

* Fix undefined issue in settings UI
2024-01-14 14:16:32 +01:00
TripleWhy b97186c5bf Rotating palette effect 2024-01-13 18:49:17 +01:00
Blaz Kristan 874b24fb32 WLED time overrides 2024-01-13 13:06:00 +01:00
Blaz Kristan 97889b5e55 Fix for audio palettes 2024-01-12 20:45:04 +01:00
Woody 4b134194cf Better sorting and naming of static palettes 2024-01-12 19:44:25 +01:00
Blaž Kristan 24b60a25d5
Merge pull request #3674 from WoodyLetsCode/cpal
Better sorting and naming of static palettes in the Custom Palette Editor
2024-01-12 18:57:01 +01:00
Woody 186c40801a
Delete html_*.h files 2024-01-12 00:02:52 +01:00
Woody 27035a8e1d
Better sorting and naming of static palettes 2024-01-11 23:13:26 +01:00
Will Tatam 46337ca554 Add ANIMartRIX usermod 2024-01-11 20:20:53 +00:00
Blaž Kristan 4f0f288000
Merge pull request #3621 from zanhecht/patch-2
Use canvas instead of CSS gradient for liveview
2024-01-11 20:41:35 +01:00
Blaz Kristan 8060bae1b8 Width fix 2024-01-11 20:37:51 +01:00
Blaz Kristan ea32c97b82 Fix for #3672 2024-01-11 20:24:59 +01:00
Blaz Kristan 99efbd30f1 ColoOrderMap W channel swap
& cleanup
2024-01-11 20:22:42 +01:00
Frank a9eb7cb4fd
udp realtime - improve robustness against short packets (fix for #3672)
when only two bytes were received in a packet, the "for" condition `packetsize -3` would underflow, leading to an infinite loop.
2024-01-11 18:07:23 +01:00
Blaz Kristan a11cab0f88 Fix for #3665 2024-01-10 19:41:51 +01:00
Blaz Kristan 447324b59f Fix for #3665 2024-01-10 19:40:59 +01:00
ezcGman ff59dcd66e Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime 2024-01-10 05:11:44 +01:00
zanhecht 0a1d82de2a
Remove legacy CSS gradient code from liveview.htm
Reduce file size by removing legacy CSS gradient code and moving drawing operations to a separate function
2024-01-09 19:27:45 -05:00
Blaz Kristan 26837645ac Add PWM frequency selection in settings 2024-01-09 21:54:21 +01:00
Janos Stefan e5caab635a Remove compiled html headers. 2024-01-09 21:31:25 +01:00
Janos Stefan d5f96295ff Add APA106 support 2024-01-09 21:30:41 +01:00
Blaz Kristan 4a6c78aaf3 npm 2024-01-09 19:11:45 +01:00
Blaz Kristan 6b7f80f24a Merge branch '0_15' into suspend 2024-01-09 18:30:27 +01:00
Blaz Kristan 220217561a Possible fix for #3589 & partial fix for #3605 2024-01-09 18:20:20 +01:00
Frank 75e857a510 npm run build 2024-01-09 11:57:34 +01:00
Frank 052bdd8eb0 fix for #3655
make WS2814 explicit in LED driver drop-down menu
2024-01-09 11:54:46 +01:00
Britt Gresham 9e54de8a8a Set 2 values between each segment option
Due to the midi interface being difficult/impossible to increment on
values of 1 because it has 7-bits of granularity, this commit moves all
the bitfields for configuring segment options left by one which
guarantees that every option has 2 values next to each other.

This allows midi controllers to more easily select an individual segment
option for 2D arrays.
2024-01-08 11:16:55 -08:00
Britt Gresham fd2809e367 Replace bitshifts with masks and division 2024-01-08 11:16:55 -08:00
Britt Gresham 18874c2069 Remove unneeded floor call on segment option channel 2024-01-08 11:16:55 -08:00
Britt Gresham 115eb0ddef Add additional segment options when controlling over e1.31
Before this commit it was only possible to control mirror and reverse on
a 1d segment. All of the other options for 2d effects could not be set
and thus they would be kept disabled.

This commit replaces the Effect Option dmx channel with a bitfield which
allows for each segment option to be individually toggled depending on
which bit is set in the field. Backwards compatibility has been
maintained with existing 1d segment options.
2024-01-08 11:16:55 -08:00
Blaž Kristan 9940258725
Merge pull request #3654 from willmmiles/mpu6050-upgrade
Upgrade the MPU6050 usermod
2024-01-08 19:32:36 +01:00
Blaž Kristan 74e14a4fc3
Merge pull request #3656 from WoodyLetsCode/documentation
Make loadBg() more readable
2024-01-08 19:28:18 +01:00
Woody a5b132dfd7
Fix that color picker is not centered
Color Picker was not centerd on screens with width between 1024px and 1249px
2024-01-08 14:20:02 +01:00
Woody 157debf8e4
Make loadBg() more readable 2024-01-07 23:51:38 +01:00
Will Miles 0616d184e0 Add GyroSurge usermod
This usermod applies the IMU data to create a "surge" effect when
the device is moved.
2024-01-07 15:44:11 -05:00
Will Miles 6f8b3a6242 usermod_list: Add IMU usermod 2024-01-07 15:44:11 -05:00
Will Miles 9a006dc84a usermod_mpu6050: Add options and outputs
Upgrade the MPU6050 usermod to provide configuration settings for
interrupt pin selection and calibration, a polled mode, and data
output for consumption by other usermods.
2024-01-07 15:44:11 -05:00
Blaz Kristan 8fb5f0ef3c Changelog update v0.14.1-b3 2024-01-06 20:34:31 +01:00
Blaz Kristan 43f5e4360d Changelog update
Remove obsolete semaphore
2024-01-06 20:28:05 +01:00
Blaž Kristan cdc8640218 Merge pull request #3648 from willmmiles/json-response-locking
Expand JSON buffer lock scope to entire web reply
2024-01-06 17:16:33 +01:00
Blaz Kristan 21f8d7a967 Bump 2024-01-06 17:04:56 +01:00
Will Miles 77116172e4 serveJson: Fix possible memory leak
Ensure we delete the response if it's not locked
2024-01-06 10:24:05 -05:00
Will Miles 9d3c0f4ff0 serveJson: Ensure semaphore scope lasts until reply is done
Extend the JSON response class to hold the global JSON buffer lock
until the transaction is completed.

Fixes #3641
2024-01-06 10:09:07 -05:00
Will Miles 6382d2b730 Add C++-style guard class for JSON Buffer lock
Add JSONBufferGuard, an RAII lock guard class for JSONBufferLock
analogous to std::lock_guard.  This permits binding the guard to a scope,
such as an object life cycle or function body, guaranteeing that the
lock will be released when the scope exits.
2024-01-06 10:05:18 -05:00
Blaz Kristan f070dc5527 Cosmetic & needsUpdate() 2024-01-04 17:40:23 +01:00
Blaz Kristan fc6e7c81d3 Merge branch '0_15' into suspend 2024-01-04 17:33:07 +01:00
Woody 59a725c52c
Use uint16_t eTagSuffix instead of String 2024-01-03 23:39:45 +01:00
Woody fd6ce57003
Improve ETag Caching
This also adds support for ETag caching for the settings pages
Also fixed some issues with the previous caching not being RFC 7232 compliant.
2024-01-03 18:53:54 +01:00
Blaz Kristan 4f55be4f19 Bugfix #3632 2024-01-01 23:21:22 +01:00
Blaz Kristan bd20c83919 Bugfix #3632 2024-01-01 23:14:45 +01:00
Blaz Kristan 48f8a45031 Last minute adjustments & fixes 2023-12-31 18:05:21 +01:00
Istvan Meszaros 680cec5abb Make palette editor mobile friendly. 2023-12-30 19:49:08 +01:00
Blaž Kristan e8b3c66c21
Merge pull request #3617 from imeszaros/cpal-mobile
Make palette editor more mobile friendly
2023-12-30 18:43:49 +01:00
Blaž Kristan 301bdf2186
Merge pull request #3610 from Aircoookie/psram-4-json
Allow PSRAM (SPI RAM) to be used for JSON buffer
2023-12-30 11:00:53 +01:00
Blaz Kristan 1c1b67e000 Full per-port ABL implementation and bugfix.
Update of BusManager class (static)
2023-12-29 23:07:29 +01:00
Blaz Kristan 662870baf4 Changlog update, b2 release 2023-12-29 10:35:44 +01:00
Blaz Kristan bc85520f5e Merge branch '0_15' into suspend 2023-12-28 23:38:42 +01:00
Blaz Kristan d3be7a3edf Merge branch '0_15' into psram-4-json 2023-12-28 23:38:27 +01:00
Blaz Kristan 6cd0da821a Reduce heap fragmentation when switching ledmaps 2023-12-28 23:32:47 +01:00
Blaz Kristan 1333c41811 Slight tweak to reduce footprint 2023-12-28 20:05:02 +01:00
zanhecht 55eceb4080
Fix Firefox loading order, more resilient fallback to gradient method 2023-12-28 13:06:13 -05:00
Blaz Kristan e95629f827 Remote preset cancles playlist 2023-12-27 20:14:51 +01:00
Blaz Kristan 6332ee6edb Effect buffer optimisations
setMode() fix for selecting gap
UI error messages
2023-12-27 19:36:25 +01:00
zanhecht 901d56f898
Use canvas instead of CSS gradient for liveview
Allows for "pixel perfect" liveview instead of diffused view, to better match what's shown at https://kno.wled.ge/features/effects/. This will make it easier to see what the LEDs are doing, although it may not be as accurate a representation for installations with diffused LEDs. Includes fallback to CSS gradient method for browsers that don't support canvas.
2023-12-27 13:20:22 -05:00
Istvan Meszaros 010c3494fd Make palette editor mobile friendly. 2023-12-26 11:09:20 +01:00
Blaz Kristan 5ebc345e95 Possible bugfix for #3609 #3616 2023-12-25 17:47:39 +01:00
Blaz Kristan b3a768a04b Remove check for strip 2023-12-25 12:29:12 +01:00
Blaz Kristan f414af4d82 Fix incorrect compare 2023-12-25 12:27:27 +01:00
Blaz Kristan 7971f3cbd8 Fix for saving config. 2023-12-23 22:56:07 +01:00
Blaz Kristan d1b80aa4d4 Beta2 2023-12-23 21:13:01 +01:00
Blaz Kristan 08d9f7d967 Fix for #2922 2023-12-23 21:05:01 +01:00
Blaz Kristan 5f62b4a89d Fix for #2922 2023-12-23 20:58:55 +01:00
Blaž Kristan 776502e6db
Merge pull request #3606 from WoodyLetsCode/welcome
Fix bug that welcome page was not shown
2023-12-23 20:27:20 +01:00
Broersma 5ed02d2f0d Merge branch 'upstream/0_14_2' into usermod_v2_HttpPullLightControl_0.0.5 2023-12-23 13:47:42 +01:00
Frank 72e864b013 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-23 13:13:10 +01:00
Frank 5ab012163e workaround for #3601
if case of invalid or impossible sunset/sunrise results, retry with the previous day. max 3 days back, to prevent infinite loops and far-away results.
2023-12-22 23:28:58 +01:00
Blaz Kristan 1900686bc4 Bump 2023-12-22 15:49:51 +01:00
Blaz Kristan 809a294f9d Fix Pixel Magic button. 2023-12-22 15:43:31 +01:00
Blaz Kristan cf3f6ede72 Suspend strip during operations 2023-12-22 15:39:07 +01:00
ezcGman b76a90304d Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime 2023-12-22 13:19:44 +01:00
Woody 7af5b24b03
Fix bug that welcome page was not shown 2023-12-21 22:17:43 +01:00
Blaz Kristan 1f81fb9284 Implement JSON buffer in PSRAM to free up DRAM. 2023-12-21 21:30:17 +01:00
Blaz Kristan 4e105492ca Retry on failed JSON load.
Throttle for ESP8266
This is a band-aid for ESP8266 JSON corruption and not a proper fix.
2023-12-21 21:02:53 +01:00
Blaž Kristan abf7dd5fa8
Merge pull request #3587 from WoodyLetsCode/search-scroll-top
Scroll to first search result on search
2023-12-21 20:49:44 +01:00
Xaver 86d2998dc0
Add reference to old loading of iro.js and rangetouch.js 2023-12-20 11:30:28 +01:00
Woody 201daf8ff3
Remove /iro.js and /rangetouch.js 2023-12-19 22:40:24 +01:00
Woody 1140f5f6cb
Update version to 2312190 2023-12-19 21:18:33 +01:00
Woody 0a91d60677
add onload event to body 2023-12-19 21:12:07 +01:00
Woody 5cd8f5681e
Remove unused feedback function
This was probably forgotten to remove in commit d6c0642a02
2023-12-19 20:41:56 +01:00
Xaver b2babd9502
inline iro.js and rangetouch.js 2023-12-19 16:52:15 +01:00
Blaz Kristan 10faaaf531 Build bump & changelog 2023-12-18 21:52:22 +01:00
Blaž Kristan 5bc2282ac5
Merge branch '0_15' into caching 2023-12-16 13:27:50 +01:00
Blaz Kristan 2944b2a8f6 Merge branch '0_15' into temporary-AP 2023-12-16 13:07:40 +01:00
Blaž Kristan 264480b9bc
Merge pull request #3586 from WoodyLetsCode/aircoookie-link
Add link to Aircoookie in Info
2023-12-16 13:04:54 +01:00