Wykres commitów

143 Commity (a59f56d85254e482442e0b2dd8a66de5d034c20d)

Autor SHA1 Wiadomość Data
Blaž Kristan b890b5f0dc millis() rollover fix for effects 2021-12-20 11:29:03 +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
Blaž Kristan 5cf26af9f0 Merge branch 'dev' into single-doc 2021-11-04 10:05:02 +01:00
Blaž Kristan 04c9646e05 Merge branch 'master' into dev 2021-11-04 10:04:21 +01:00
Blaž Kristan bd521f858e Single JSON buffer. 2021-11-03 14:52:22 +01:00
Christian Schwinne 7e1920dc4b
Remove ledCount (#2300)
Bus initialization on reading from eeprom
2021-10-31 11:57:41 +01:00
Blaz Kristan b50e066dee Reintroduction of STATUSLED 2021-10-27 17:49:35 +02:00
Blaz Kristan c2e6d1c6bf Squashed commit of the white-balance branch.
Updated simple UI.
Minor change in ST7789 display.
2021-10-16 15:13:30 +02:00
Blaž Kristan 5714578783 Refactoring & code clean-up.
- utility functions
- network functions
- math functions
2021-10-11 14:13:34 +02:00
Blaž Kristan 539125ff47 Merge branch 'master' into dev 2021-10-11 10:56:25 +02:00
Blaž Kristan 8b2145bd88
Add strip off refresh option in LED settings. (#2259)
* Add strip off refresh option in LED settings.
New strip initialization logic.
Minor code clen-up.

* Dev code removal.

* Missing ethernet include

* Renamed mainseg to selseg

* Fix for preset cycling bounds.

* "Preset 0" bugfix.

* Auto segments only if segments were not modified

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2021-10-11 02:19:33 +02:00
Blaz Kristan 4fdf85bbdb Add off override. 2021-10-07 22:57:07 +02:00
Blaz Kristan c1b0877956 Bus implementation.
Added separate DDP listener.
LED settings overhaul.
Minor fixes:
- reduced LED memory
- boot brightness fix
- reduced debug frequency
- added usermod time spent debug
- mDNS glitch fix
2021-10-02 15:07:02 +02:00
Blaz Kristan e17e2a636b Added permanent DDP UDP listener. 2021-10-01 21:56:54 +02:00
Blaz Kristan dc9d48850f Added PIR sensor night time presets.
Added PIR sensor Disable/Enable button.
UI refinements.
Added colorUpdated() on HTTP API in IR JSON.
2021-09-28 23:27:40 +02:00
Blaz Kristan 350caee808 Revert platform update.
Minor code optimisation.
2021-09-26 12:13:18 +02:00
Blaž Kristan 08925a72c6 Renamed BusVirtual to BusNetwork
- added options for E1.31 and ArtNet
- added check for initialised network
2021-09-22 13:20:36 +02:00
Blaž Kristan 6db2240f8a Merge branch 'master' into dev
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
Phil Bolduc 3577da05ac
Avoid redundant localIP calls, each call takes 0.700 us on ESP32 240Mhz (#2206)
* Avoid redundant localIP calls, each call takes 0.700 us on ESP32 240Mhz

* Fall through to check Wifi local ip if not connected to ETH

* Changed local var from ipAddress to localIP to better reflect content
2021-09-19 19:51:54 +02:00
Blaz Kristan 9be995bb08 4LD & AutoSave usermod fixes.
Debugging usermod time.
2021-09-11 23:32:36 +02:00
Blaz Kristan 849bdc52f6 Ethernet modifications.
Added fixed Ethernet pins to cfg.json and settings page
2021-08-27 19:48:55 +02:00
Blaž Kristan 916ad0a58e Merge branch 'master' into dev 2021-08-26 09:09:41 +02:00
Henry Gabryjelski 1d4487b6cd
Ethernet configuration fix, improve PinManager (#2123)
* Improved pin manager, ethernet config

* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
   now take an "ownership" tag parameter, helping
   avoid accidentally free'ing pins that were allocated
   by other code
* Pin Manager now has ability to allocate multiple
  pins at once; Simplifies error handling

* Fix operator precedence error

Bitwise AND has lower precedence than the
relational "greater than" operator.

* PinManager update for some user modules

* don't build everything...

* Final step to reduce RAM overhead

* update comment

* remove macros

* Remove leftover allocated

* Init ethernet after settings saved

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-23 14:14:48 +02:00
Blaz Kristan 7cf16766c4 Clear local storage button.
Removed skin.css from settings pages.
2021-08-20 19:38:24 +02:00
Blaz Kristan b0cfcb1999 Merge branch 'master' into dev 2021-07-10 17:01:20 +02:00
Henry Gabryjelski 3ad336a1eb
Bug 2064, 2063 - PinManager usage (#2066)
* Fix 2063 - Do not free pins unless allocated

* Fix 2064: Allocate pins used for Ethernet

* Fix obvious compilation errors.

* Fix multiple bugs...

* pinsAllocated[2] set twice due to copy/paste bug.
* wrong pin allocated for ETH_CLOCK_GPIO17_OUT due to copy/paste bug

* Stylistic change per PR review

* Stylistic change per PR review

* attempt to allocate pin for "default" button

* remove extra local variable

* check return value from ETH.begin()

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-09 20:06:48 +02:00
cschwinne a17f83cedd Renamed `NOTIFIER_CALL_MODE_` to `CALL_MODE_` 2021-07-09 18:54:28 +02:00
cschwinne 2c6850f6e4 Fixed presets using wrong call mode (e.g. causing buttons to send UDP under direct change type)
Increased hue buffer
2021-07-09 18:42:52 +02:00
cschwinne 5da47636cf Busses extend total configured LEDs if required (closes #2056 )
Fixed extra button pins defaulting to 0 on first boot
2021-07-09 16:25:23 +02:00
Blaž Kristan b58efa3df0 Merge branch 'master' into dev 2021-07-01 13:41:23 +02:00
cschwinne 8b6cc708e7 Fixed a problem with disabled buttons reverting to pin 0 causing conflict 2021-06-30 12:33:51 +02:00
Blaz Kristan cd8d2c141e Merge branch 'master' into dev
Added pin reservation for Ethernet.
Added SSD1305 I2C display type.
2021-06-20 15:13:38 +02:00
cschwinne c831d62bc3 Added 2 Ethernet boards and split Ethernet configs into separate file 2021-06-20 00:14:09 +02:00
Blaz Kristan 75bf758042 Incerased max segments.
Removed v2 JSON API.
Replaced col[] array handling.
Settings UI optimisations.
Increased DEBUG output period to 60s.
2021-06-19 18:06:30 +02:00
Blaz Kristan 1a80439825 Merge branch 'master' into dev 2021-06-15 23:36:12 +02:00
Blaž Kristan 7ec09c80a5 Changed boot preset apply logic. 2021-06-04 06:54:27 +02:00
Christian Schwinne 9f13763637
Merge branch 'master' into toki 2021-05-30 13:22:42 +02:00
cschwinne 85489458d8 Small improvements
Settings cosmetic changes (spaces, smaller pin inputs, moved analog legend to wiki)
Uncommented STATUSPIN code (still defined out by default)
Removed adalight pin 3 lock
Added define for PSRAM
2021-05-30 01:31:04 +02:00
cschwinne 6c8bf090fe Small optimizations 2021-05-27 00:09:52 +02:00
cschwinne 8431d0bd5c Replace Time with Toki 2021-05-25 09:59:19 +02:00