Blaz Kristan
6cd0da821a
Reduce heap fragmentation when switching ledmaps
2023-12-28 23:32:47 +01:00
Blaz Kristan
08d9f7d967
Fix for #2922
2023-12-23 21:05:01 +01:00
Blaz Kristan
cf3f6ede72
Suspend strip during operations
2023-12-22 15:39:07 +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
2944b2a8f6
Merge branch '0_15' into temporary-AP
2023-12-16 13:07:40 +01:00
Blaz Kristan
6f3b5fc559
Add JSON API for AP toggle
2023-12-10 09:59:36 +01:00
TripleWhy
25c5e823d9
Seed FastLED's random functions during startup
...
This allows effects or color palettes that use FastLED's RNG to be
different each time the device is powered on.
2023-11-27 18:44:09 +01:00
Blaz Kristan
27532a4237
Add new AP type to prevent user frustration.
2023-11-22 15:30:04 +01:00
Blaz Kristan
467f69f50e
Switch off AP after 5min
...
- when no clients are connected in "No connection after boot" mode
2023-11-21 17:23:51 +01:00
Blaz Kristan
db881ee011
Small optimisations.
...
2D liveView (non-WS) core
soundSim fix
2023-10-25 20:27:01 +02:00
Blaz Kristan
cc68e6b6e6
Squashed commit of the following:
...
Remove sync receive
Disallow 2D effects on non-2D segments
Optimisations
Sync clarification
AR palettes
Return of 2 audio simulations
Bugfix in sync #3344
- remove excessive segments
- ignore inactive segments if not syncing bounds
- send UDP/WS on segment change
- pop_back() when removing last segment
Add pairing support for ESP-NOW sync
Reduce string RAM footprint
UDP parse optimisation
Make WizMote work with sync.
ESP-NOW wireless sync POC.
- caveat: devices have to be on the same channel
- clashes with WizMote handling ATM
2023-09-10 18:52:14 +02:00
Blaz Kristan
d1b00ba95d
Bugfix.
...
- feed WDT even if strip is updating
- provide custom palette names
- handle interface cooldown properly
- rotary encoder ALT fix for custom palettes
2023-08-28 17:58:30 +02:00
Frank
1ed817932b
esp-now remote: reduce number of exported functions
...
too many global variables and functions ... this makes stuff 'static' that can remain at file scope
2023-07-30 21:47:18 +02:00
Frank
050489dd80
allow Lolin Wifi Fix on -S3
2023-07-20 22:09:48 +02:00
Blaz Kristan
fa6070c680
Multiple updates:
...
- additional debug timings
- removed local leds[] buffer
- async segment bounds change (crashes seen otherwise)
- added isActive() check to Segment drawing methods
- ABL simplification
- palette option for Black hole (FX)
- (possible) crash mitigation is Segment handling (rapid preset changes)
2023-07-12 20:52:34 +02:00
Christian Schwinne
822298ab66
Merge branch 'main' into alt-buffer
2023-07-09 11:31:02 +02:00
Blaz Kristan
f437fd6cd6
Code readability.
...
Fix for peek.
Loop timing.
2023-07-06 21:16:29 +02:00
Blaz Kristan
59a144baed
Disable global buffer on ESP8266 by default
...
Remove global dependency from Bus class and subclasses
Remove timings
2023-07-05 23:57:46 +02:00
Blaz Kristan
ad825b80b0
Added a few debug timings.
2023-07-05 17:16:54 +02:00
Blaz Kristan
272f96b405
Double buffering at bus level.
2023-06-30 21:12:59 +02:00
Christian Schwinne
481bd6f57a
Add WiFi network scan RPC command to Improv Serial ( #3271 )
2023-06-27 01:51:44 +02:00
Christian Schwinne
61ba16b779
Global buffer and ABL fixes
2023-06-27 00:38:30 +02:00
Clayton Sims
e4ee392c27
Support for ESP-NOW Wireless Remote Control ( #3237 )
...
* Initial checkin for ESP-NOW remote feature
* cleanup irrelevant comment
* don't bring in espnow package includes when feature disabled
* Formatting and removing inaccurate call mode hardcoding
* Fork ESP Now code by platform (8266 v. esp32)
* compiled html update
* Disable ESP-NOW remote by default on ESP32 until tested
* Enable ESP-NOW remote for ESP32
* Rename ESP NOW define
---------
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-06-22 10:06:19 +02:00
Aircoookie
dd9da2853a
Support settings pin unlock via JSON
...
Also supports locking by providing any incorrect pin
2023-06-14 11:53:39 +02:00
Blaz Kristan
82e448de7c
Beta-3 changes
...
- remove I2C init from usermods
- PCF8574 (&co) port expander support
- refactor PIR & Rotary encoder & 4LD
- reboot race condition
- optimisations
2023-05-30 19:36:14 +02:00
Blaz Kristan
9f3520cba5
Update comments.
2023-05-30 16:09:51 +02:00
Blaz Kristan
5a8a8dc292
Feature implementation
...
- #2236
- #1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
2023-05-28 22:50:19 +02:00
Blaž Kristan
8e79bd8785
Merge pull request #3162 from wled-install/main
...
Add LAN8720 reset and new ethernet board
2023-05-05 21:32:06 +02:00
Blaz Kristan
432c5837f0
Bugfix
...
- WiFi power for Lolin S2 & C3 (use -DLOLIN_WIFI_FIX)
- web response buffer size (corruption when websockets not used)
2023-04-30 17:30:36 +02:00
wled-install
599ff66522
Add files via upload
2023-04-28 17:15:31 +02:00
Christian Schwinne
fb1999c474
Merge pull request #3107 from Aircoookie/onepx-segment
...
Tweaks & bugfixes.
2023-03-20 23:42:30 +01:00
Frank
cded92662f
workaround for issue #3128
2023-03-16 13:08:34 +01:00
Blaz Kristan
763b64cc57
Combat low memory condition on ESP8266.
2023-03-10 15:20:50 +01:00
Christian Schwinne
220718cb58
Remove Blynk support ( #3102 )
...
Change default palette for Railway to Colors 1 and 2
2023-02-21 17:07:32 +01:00
Blaz Kristan
eee9274098
Bugfix.
...
- compiler warnings
- loading nonexistent default ledmap in 2D will revert to built ledmap
- making autosements after 2D set up change
2023-02-11 18:41:30 +01:00
Blaz Kristan
d78bef72ea
Disable MQTT more.
...
Disable Alexa more.
2023-01-12 20:35:34 +01:00
Blaž Kristan
506b6b51ce
whitespace cleanup
2023-01-06 09:24:29 +01:00
Blaz Kristan
95869eeb70
Allow more virtual buses.
2022-12-31 17:06:18 +01:00
Blaz Kristan
6f67132f4b
PROGMEM string optimisation.
2022-12-26 10:20:45 +01:00
Frank
d7b5719dfd
add mandatory build flags for -S2 and -C3 (virtual USB)
...
I was wondering why sometimes the new MCUs still work better in Arduino IDE, so compared our build flags to what is used in Arduino IDE:
-S2 always has -DARDUINO_USB_MODE=0
-C3 always has -DARDUINO_USB_MODE=1
-S3 supports all possible modes
2022-12-21 22:07:15 +01:00
Frank
7ac8f6dd19
improvements for new MCU support (-S3/-S2/-C3)
...
- switch off debug messages to USBCDC, if WLED_DEBUG is not set
- ensure that analogread pins are valid - invalid pins cause lots of error messages and finally lead to watchdog reset on some MCUs.
2022-12-10 19:16:02 +01:00
Frank
c3545ef060
build env update for -S3 without serial-to-USB chip
...
small -S3 like Adafruit "QT Py ESP32-C3" seems to need USBCDC.
2022-12-08 12:47:34 +01:00
Blaz Kristan
1b351b7743
Broadcast presence on WiFi (re)connect immediately
2022-11-20 18:12:01 +01:00
Jason Kölker
e409bd298a
feat(wifi): add compile time configurtation ( #2889 )
...
* feat(wifi): add compile time configurtation
Add `WLED_AP_SSID` and `WLED_AP_PASS` defines to allow configuring the
SoftAP SSID and Password at compile time. Default to existing values.
Add `WLED_AP_SSID_UNIQUE` flag to append the device portion of the mac
address to `WLED_AP_SSID`.
Exampleof all flags (note the quoting to preserve
"stringification"):
```
build_flags =
-D WLED_AP_SSID='"MyAP"'
-D WLED_AP_PASS='"MyPassword"'
-D WLED_AP_SSID_UNIQUE
```
* Removed two error defines
Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2022-11-20 15:55:38 +01:00
Blaz Kristan
c47d6cffa8
Missing presets.json on factory reset bugfix.
...
Clarification on loading ledmaps in UI.
Added manual ledmap loading.
2022-11-16 20:55:21 +01:00
Blaz Kristan
6403d18d15
Revert NetworkDebugPrinter changes.
2022-11-11 18:17:12 +01:00
Blaž Kristan
77f04d913a
NetworkDebugPrinter packet optimization.
2022-11-11 14:39:47 +01:00
Blaz Kristan
af3ee35c50
Merge branch 'dev' into audioreactive-prototype
2022-10-21 23:47:31 +02:00
Blaz Kristan
426635871b
Bus corrections for C3, S2 & S3.
...
Minor hostname tweak.
2022-10-10 16:46:23 +02:00
Frank
7d5ce994ab
WLED_DEBUG: fix for crash after LittleFS formating
...
This fixes a "division by zero" in WLED_DEBUG code.
LittleFS init seems to take some time, so we can arrive at "Loops/sec" with 0 loops executed --> crash.
2022-10-04 13:50:01 +02:00
Blaz Kristan
7824f9ee63
Remove sync preset loading (ugly core check)
...
WS buffer check for ESP32-S2
Delay for Serial init on CDC USB
2022-09-20 21:17:44 +02:00
Frank
023c259034
show version of arduino-esp32 in WLED_DEBUG
2022-09-16 16:37:07 +02:00
Blaz Kristan
799d4f9465
Playlist load bugfix.
...
serializeConfig() in loop() (prevent crash/hang in web server callback)
2022-09-14 22:28:06 +02:00
Blaz Kristan
6ba3e25d33
Meteor palette bugfix.
...
Fire2012 cooling adjustment.
Akemi optimisation.
2022-09-12 22:33:30 +02:00
Frank
382bf1e94c
reserved Pins for S3
...
- adding USB-OTG to reserved GPIO
- no read-only GPI
- if PSRAM found, add pins for "octal" PSRAM to unusable list (octal PSRAM seems to common on S3)
- ESP32: 37 and 38 are read-only
2022-09-11 13:17:08 +02:00
Frank
6771bd84c6
introduce hardwareTX / hardwareRX
...
RX/TX is not defined on all boards.
Fall-back to previous behavior on "classic" ESP32 and 8266.
2022-09-11 00:16:48 +02:00
Blaz Kristan
2cd40c7552
ESP32-S2 support.
2022-09-09 23:21:47 +02:00
Blaz Kristan
fb6dfcd3fc
Index under- shooting.
...
Fix for arc 1D to 2D mapping.
UI segment 2D mapping fix.
Watchdog reposition & flicker reduction.
2022-08-22 16:47:25 +02:00
Blaz Kristan
d0a08a55d1
Memory management!
2022-08-03 21:36:47 +02:00
Blaz Kristan
1abf0fc134
Deprecate EEPROM support (compile time option).
2022-07-30 11:04:04 +02:00
Blaz Kristan
df534d30bf
Custom palettes.
2022-07-28 23:19:58 +02:00
Blaz Kristan
a46894f395
Bugfixes.
2022-07-19 16:16:43 +02:00
Blaz Kristan
6c6849d8d7
Vectors & dynamic loadJS.
...
- Segments
- Modes
NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
Blaz Kristan
84106d6282
Merge branch 'dev' into audioreactive-prototype
2022-06-22 18:04:40 +02:00
Blaz Kristan
366006273d
Watchdog timer (@poelzi).
...
Transpose optimisations.
Rain effect updated.
2022-05-30 22:21:13 +02:00
Blaz Kristan
e9cd4d95a7
Merge branch 'master' into master-merge
2022-05-29 18:22:33 +02:00
Blaz Kristan
17be0a2c12
Enhance rotary encoder with custom sliders.
...
Soft watchdog timer (by poelzi)
2022-05-24 13:45:35 +02:00
Blaz Kristan
9f71a6ab18
Arduino OTA lock fix.
2022-05-01 22:09:40 +02:00
Blaz Kristan
2e6ce0481c
Allow swapping of W channel for RGBW LEDs.
...
Backporting fix.
2022-04-30 12:45:38 +02:00
Thomas
1a513c7bbf
wled.cpp: Wrap Serial calls in `#ifdef WLED_ENABLE_ADALIGHT`. ( #2630 )
...
handleImprovPacket() unconditionally gobbles serial data which a problem
if we want another feature to consume it. This patch uses the same guard
as the existing call in `handleSerial()`.
Co-authored-by: Thomas Fubar <FUB4R@users.noreply.github.com>
2022-04-17 00:08:27 +02:00
Blaz Kristan
6079effae3
UDP on main segment only.
2022-03-25 17:20:41 +01:00
Blaz Kristan
41aa1ee318
Use UDP live/realtime data on main segment only.
...
Includes Adalight revert, CSS optimizations and setPixelColor() refactoring.
2022-03-25 16:36:05 +01:00
Blaz Kristan
c14f16bdf1
Merge branch 'master' into master-merge
2022-03-19 21:05:28 +01:00
cschwinne
d280e16723
Fixed `/json/cfg` unable to set busses ( fixes #2589 )
2022-03-19 14:21:14 +01:00
cschwinne
5d90d8930e
Fix non-0 terminated hostname str
2022-03-07 20:37:48 +01:00
Blaz Kristan
9fd26fa574
Settings PIN protection.
2022-03-01 23:37:28 +01:00
Blaz Kristan
41b6f3ffa7
Merge branch 'master' into merge-master
2022-02-20 22:24:11 +01:00
cschwinne
7b969bb8c2
Various state changed logic simplifications
...
Changed main segment, must be selected
2022-02-16 21:12:33 +01:00
Blaz Kristan
2da14e5b2a
Merge branch 'master' into merge-master
2022-02-04 16:29:39 +01:00
cschwinne
97f8eea302
Refactored isRgbw to hasWhiteChannel()
2022-02-04 13:28:00 +01:00
Blaz Kristan
86092541ed
Merge branch 'master' into dev
2022-01-25 17:53:22 +01:00
André Klitzing
eca980dfca
Add initial support for ESP32-C3 ( #2454 )
...
* WIP Add support for ESP32-C3
* Add esp32c3 to default_envs
* Use new platform from tasmota
* Switch back to 2.8.1 as it seems by fixed
2022-01-24 11:34:02 +01:00
Blaž Kristan
04f5bdb843
Fix for NTP sync on millis() rollover.
...
AP mode delay on boot (#2242 ).
2022-01-10 13:53:11 +01:00
Blaz Kristan
8386b9a0b4
Removed dynamic JSON buffer entirely.
...
Temporary presets in RAM (ESP32)
Async loading of presets (stability).
Other minor fixes.
Bumped version to 0.13.1-bl6
2022-01-01 12:52:50 +01:00
Blaz Kristan
a9a06a1e4e
Fix for NTP sync on millis() rollover.
2021-12-29 15:09:33 +01:00
Blaz Kristan
8bd716c056
Prevent undefind FX behaviour on millis() rollover
2021-12-20 16:43:47 +01:00
Blaž Kristan
b890b5f0dc
millis() rollover fix for effects
2021-12-20 11:29:03 +01:00
Blaž Kristan
fed16fd14e
Fix for disconnects on ESP8266 with static JSON buffer
2021-12-10 17:30:57 +01:00
Blaž Kristan
e1cd45c57e
Bugfix for heap low disconnect.
2021-12-10 12:51:44 +01:00
Blaz Kristan
156b499f93
Merge branch 'master' of https://github.com/aircoookie/WLED into dev
2021-12-07 17:18:38 +01:00
Christian Schwinne
66bad2b6f8
Single json buffer ( #2336 )
...
* Single/static JSON buffer for all requests.
* Missing json.cpp changes.
* Async fix.
* Added conditional compile (WLED_USE_DYNAMIC_JSON).
* Advanced locking with time-out.
* Missing releaseJSONBufferLock() on error response.
* Fix for config saving.
* Fixes and optimisations.
Dadded debugging information.
* Fix for ledmaps.
* No unsolicited serial sending if GPIO1 allocated
* Stray semicolons
* Fix JSON ledmap
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2021-12-04 01:05:01 +01:00
Blaz Kristan
0f8d464706
Use sacrificial pixel as a STATUSLED
2021-11-30 16:28:26 +01:00
Blaz Kristan
4292e26135
More lehible links.
...
Fixed AP xreation on boot with wifi enabled.
2021-11-25 06:41:37 +01:00
Blaz Kristan
65ac8d4b2b
Merge branch 'master' into dev
2021-11-17 21:42:27 +01:00
Christian Schwinne
38d8dfe5ab
Improv support ( #2334 )
...
* Working Improv device identification
* Improv functional
* Cast fix
* Minor fix for two back-to-back Improv packets
* Improv checksum update and logic simplification
* Improved improv failed connection behavior
2021-11-16 23:20:26 +01:00
Christian Schwinne
5784092c1b
Fix settings JS buffer too small ( #2323 )
2021-11-09 09:56:02 +01:00
Blaz Kristan
89ff8b3fcb
Merge branch 'single-doc' into dev
2021-11-08 21:51:26 +01:00
Blaz Kristan
5773f141b8
Minor changes.
...
Added compile-time WS2801 bus speed option WLED_WS2801_SPEED_KHZ.
2021-11-08 21:51:15 +01:00
yoeywire
446b4b084c
Changed WLED_USE_DMX to WLED_ENABLE_DMX
2021-11-08 17:05:47 +01:00