Blaz Kristan
b6e53b1a0c
Minor bugfix and for loop optimization.
2022-07-19 22:14:46 +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
ewowi
d5523615ef
Merge branch 'refactor-ws2812fx' into mapping12soundsim
2022-07-11 11:05:49 +02:00
Blaz Kristan
d9f2c2b968
Segment API
...
- moved all drawing logic to segment
- moved transitions to segment
Conditional 2D compile.
Rearranged effect IDs.
Implemented dynamic effect arrays.
2022-07-10 22:23:25 +02:00
ewowi
2f6adbd07c
Add Mapping 1D to 2D. Mapping12 and sound simulation effect independent
...
- add to segment: mapping 1D2D and Sound Simulation (WIP!)
- Add sound simulation WeWillRockYou
- All audio effects use segment soundSim
- Redefine SEGLEN: strip.getMappingLength (depending on mapping12)
- make setPixelColor aware of mapping12
2022-07-10 14:30:10 +02:00
Blaz Kristan
64fd207533
Refactoring WS2812FX class.
...
- effect functions no longer part of class
- methods to access private members
- separate Segment, Segment_runtime, ColorTransition from WS2812FX
2022-07-06 13:13:54 +02:00
Blaz Kristan
a75b3a53aa
Use getModeCount() instead of MODE_COUNT
...
Clear strip if spacing changes.
Rewrite 2DGEQ.
2022-06-26 23:01:22 +02:00
Blaz Kristan
4c759083be
Multiple changes.
...
Added:
- introduced addEffect() and setupEffectData()
- conditional compile for audio effects
- introduced getModeData() and getModeDataSrc() instead of public var
- changed _modeData[] to private non-static
Fixes:
- DMTYPE use
- add reboot info to DMTYPE
- transpose & reverse with mirroring
2022-06-21 22:49:45 +02:00
Blaz Kristan
9db872db56
Fixes:
...
- mirroring
- FX memory allocations
- preset loading if WS request too big
Changes:
- remove "pt" in favor of "ps" in JSON
- fading in Ghost rider
2022-06-05 10:16:56 +02:00
Blaz Kristan
f1a1b89d13
Fixes.
...
- correct preset cycling
- updated rotary encoder preset selection
2022-06-03 22:22:18 +02:00
Blaz Kristan
14e0e96596
Send complet preset API from UI.
...
Cycling value correction (optimisation and preset hack removal).
2022-06-03 18:38:46 +02:00
Blaz Kristan
d7e1dc1f95
Revert speed for Fire.
...
Segment brightnes +/- fix.
2022-05-29 18:20:30 +02:00
Blaz Kristan
9920424a31
Polar Lights fix.
...
Cleanup.
2022-05-24 16:43:21 +02:00
Blaz Kristan
6e342983f9
It did not like PROGMEM.
2022-05-22 00:41:45 +02:00
Blaz Kristan
a6d7ed3824
Moved mode names (& slider data) to a static array
...
-- may break some things --
2022-05-21 18:37:09 +02:00
Blaz Kristan
e003ec39fb
Transpose fix for XY()
...
Slight internal API change.
Renamed c1x,c2x,c3x to custom1, custom2, custom3 to be in line with SR.
2022-05-21 13:19:11 +02:00
Blaz Kristan
adb7726974
Bugfixes.
...
- removed IS_ macors
- replaced .options with getOptions()
- Fire2012 matrix fix
2022-05-09 16:15:07 +02:00
Blaz Kristan
f0d36fd769
WLED 2D matrix support.
...
- Added 2 sample effects to UI.
- 2D segment details.
- 1D effect upscaling to 2D.
- 2D setPixelColorXY() and other utility functions
- Arbitrary panel position & oritentation.
- 2D settings with physical to logical mapping.
- Bump version.
2022-05-08 10:50:48 +02:00
Blaz Kristan
1494bfe855
Fix for non-websockets build.
...
Cleanup.
2022-04-24 19:30:14 +02:00
Blaz Kristan
0f6b1e4ae1
Synchronus applyPreset() from HTTP JSON API call.
...
Bugfix for HTTP API preset.
WS multiple broadcast fix.
Turning segment on/off will not reset currentPreset/cause stateChanged.
2022-04-16 16:28:43 +02:00
Blaz Kristan
f915201a27
Cleanup.
2022-04-12 16:08:17 +02:00
Blaz Kristan
eda6f134a9
Moved effect sliders to bottom.
...
Implemented custom effect parameters.
2022-04-10 11:02:57 +02:00
Blaz Kristan
f247139f1c
Bugfixes.
...
- prevent changing main segment during live
- PIN code entry validation
- UI CSS fixes
2022-04-07 21:54:55 +02:00
Blaz Kristan
081f211231
Merge branch 'master' into merge-master
2022-04-04 20:52:42 +02:00
cschwinne
958cd35e21
Live mainseg improvements
...
Make override work in mainseg mode
Move unfreeze on turn on from UI to JSON parser
Fix mainseg not unfreezing on timeout
2022-04-01 00:59:19 +02:00
Blaz Kristan
955bb51f11
Freeze/unfreeze for mainseg UDP.
2022-03-28 22:36:58 +02:00
Blaz Kristan
b583def913
Using freeze instead of power for segment.
...
Fix for missing udp.cpp
2022-03-28 20:44:49 +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
Blaž Kristan
0234017ca1
Merge branch 'master' into master-merge
2022-03-15 09:55:23 +01:00
cschwinne
9552784e72
Remove persistent argument from savePreset()
...
(fixes temp preset not applicable by APIs)
Default to 5Mhz hardware SPI driving (#2558 )
2022-03-14 20:53:00 +01:00
Blaž Kristan
e0fcaa6103
Merge branch 'master' into master-merge
2022-03-11 11:28:02 +01:00
cschwinne
4865ddb377
Fix realtime mode disabled by brightness change
...
Fix realtime mode not working immediately at turn on
Fix individual segment control not working immediately at turn on
2022-03-10 20:40:48 +01:00
Blaz Kristan
ddadaa828a
Merge branch 'master' into master-merge
2022-03-08 22:46:50 +01:00
Blaz Kristan
a3cd10d83b
Reverse proxy WSS support.
2022-03-08 16:16:07 +01:00
cschwinne
b626c7620e
Disabled auto white mode in segments with no RGB bus
2022-03-08 02:16:33 +01:00
Blaž Kristan
e561304645
Merge branch 'master' into master-merge
2022-03-07 09:44:35 +01:00
cschwinne
a2c8796e04
Replaced native Cronixie support with usermod
2022-03-06 23:47:36 +01:00
Blaz Kristan
f1dd1bd6bd
Relative value wrapping and operator fix.
...
Slot selector changes.
2022-03-04 21:49:07 +01:00
cschwinne
85b1c309d1
Relative value wrapping and operator fix ( fixes #2566 )
2022-03-04 14:42:35 +01:00
Blaz Kristan
61a01cb163
JS/CSS optimisations
2022-02-28 23:32:24 +01:00
Blaž Kristan
23d7c3d0fe
Merge branch 'master' into merge-master
2022-02-24 13:43:12 +01:00
cschwinne
c03d4f115f
Fixed presets not triggering interface update
2022-02-23 19:42:34 +01:00
cschwinne
ed90b638a9
Main seg replaced by first selected in internal interfaces
...
Version bump to 0.13.0-b7
Various small improvements
2022-02-23 19:20:07 +01:00
Blaz Kristan
c5252e06a7
Main segment UI identification.
2022-02-22 22:10:26 +01:00
Blaž Kristan
8af445e72b
Merge branch 'master' into merge-master
2022-02-22 10:42:00 +01:00
cschwinne
44739c5198
Merge effectChanged and colorChanged to stateChanged
2022-02-21 22:12:13 +01:00
Blaz Kristan
41b6f3ffa7
Merge branch 'master' into merge-master
2022-02-20 22:24:11 +01:00
Christian Schwinne
7138e891be
Add per-segment light capability info ( #2552 )
...
* Add per-segment light capability info
* Fix duplication
* Change to more lightweight seglc array
* Added segment capabilities.
* Differs and capabilities refactoring
* Add back selection differs option
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2022-02-20 00:20:22 +01:00
Blaz Kristan
d7dac57a07
Save a bit of RAM and flash.
2022-02-19 20:34:37 +01:00
cschwinne
613809c2af
Do not turn rpt segments off
2022-02-16 23:54:14 +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
cd1765a0f3
Added permanent ledmap 0.
2022-02-11 14:43:15 +01:00
Blaz Kristan
5c744ad9aa
Ledamp dropdown.
2022-02-10 23:14:48 +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
cschwinne
04d5932252
Un-F()-ed some strings
...
(that were either occuring at least 4 times, or were F()-ed in some places and not in others)
2022-02-04 10:10:37 +01:00
Blaz Kristan
52f0ae9350
Merge branch 'master' into master-merge
...
Few UI fixes.
2022-02-03 17:40:44 +01:00
Blaz Kristan
09bcf34050
Non-effect preset should not unload playlist.
2022-02-02 20:53:16 +01:00
Christian Schwinne
795c515999
Merge pull request #2517 from ChuckMash/serial+
...
Extend Serial functions. Baudrate changeable during runtime and fast LED data retrieval
2022-02-01 20:07:30 +01:00
cschwinne
32286888e5
PinManager, cleanup and tmp2 out
2022-02-01 18:21:30 +01:00
Christian Schwinne
565d8d8f04
Binary Websockets for Peek ( #2516 )
...
* Binary Websockets for Peek
* No IRAM_ATTR here
* Use builtin LittleFS for all ESP32 builds
* Attempt LittleFS compilation fix
* Use tasmota zip for all ESP32 builds
* Revert to Arduino Core 1 for the time being
2022-02-01 12:02:04 +01:00
Blaz Kristan
d31271fee3
Minor fixes:
...
- optimized setPixelSegment()
- moved extractModeName() to util.cpp
- optimized extractModeName()
- removed SR extensions from /json/effects endpoint (compatibility estabished)
2022-01-31 20:35:11 +01:00
Blaz Kristan
be8a9ae73b
setPixelSegment() optimization
2022-01-31 17:56:21 +01:00
Blaz Kristan
599c7919ce
Merge branch 'master' into dev
2022-01-27 21:15:35 +01:00
Blaz Kristan
778b601cd5
Playlist bugfix.
2022-01-27 21:01:03 +01:00
Blaz Kristan
3170fa2208
Playlist bugfix.
2022-01-27 21:00:43 +01:00
cschwinne
2c5eba335f
Added white channel to Peek ( closes #1716 )
2022-01-26 13:26:57 +01:00
Blaz Kristan
86092541ed
Merge branch 'master' into dev
2022-01-25 17:53:22 +01:00
Blaž Kristan
7f6adfa331
Converted indentation tabs to spaces.
2022-01-25 12:47:14 +01:00
cschwinne
5f0b102671
Send segment ID, start, stop, and cct
2022-01-24 18:31:05 +01:00
cschwinne
d28eb6ae21
Repeat other seg than 0 bugfix
2022-01-24 16:44:47 +01:00
Blaz Kristan
b0c40e1e37
Color change tracking. Minor fixes.
2022-01-15 21:15:37 +01:00
Blaz Kristan
e54819e7e5
Merge branch 'master' into sync-seg
2022-01-15 14:08:08 +01:00
Blaz Kristan
7eb029dcb6
Complete segment syncing.
...
Reduced complexity of colorUpdated regarding effect/color change.
Minor optimizations.
2022-01-15 14:04:16 +01:00
Blaž Kristan
1ab555b590
Cleaning colorUpdated() & UDP segment syncing.
...
Added selected segments only save.
2022-01-14 14:27:11 +01:00
cschwinne
7fb46cf982
WIP: Segment loop size byte
2022-01-09 14:16:07 +01:00
Blaz Kristan
e8b2d80037
Minor code optimizations.
2022-01-02 14:27:24 +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
Christian Schwinne
754682577c
Configurable framerate ( #2444 )
...
Updated arduino core versions
Better performance on esp32 core 3.x due to IRAM_ATTR
Fixed analog busses init to full white/on
2021-12-30 01:48:27 +01:00
Blaz Kristan
eac5340b03
Merge branch 'configurable-fps' of https://github.com/aircoookie/WLED into dev
2021-12-26 11:59:22 +01:00
cschwinne
549dcd32ca
Configurable framerate
...
Updated arduino core versions
Better performance on esp32 core 3.x due to IRAM_ATTR
Fixed analog busses init to full white/on
2021-12-25 01:30:27 +01:00
Blaž Kristan
b890b5f0dc
millis() rollover fix for effects
2021-12-20 11:29:03 +01:00
Blaz Kristan
1270f2d577
Sync segment options.
...
Freeze effect.
Repeat last segment until end.
2021-12-17 20:33:48 +01:00
Blaz Kristan
80a067806d
Spacing & grouping notification.
2021-12-17 17:36:12 +01:00
Blaz Kristan
f20065f546
Notification & UI fix
2021-12-17 17:29:39 +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
cschwinne
cadda12371
Fixed spacing LEDs not blanked if offset is changed
2021-12-02 00:52:36 +01:00
cschwinne
a643b56555
Fixed no color updated on full JSON state request
2021-12-01 23:03:30 +01:00
Blaž Kristan
aa34df7a4c
Merge branch 'master' of https://github.com/Aircoookie/WLED into new-CCT
2021-12-01 14:51:45 +01:00
cschwinne
11c7ffad4e
Alexa and UDP sync CCT support
2021-11-28 04:01:58 +01:00
cschwinne
1973424e05
Remove JSON ledmap
...
(to be implemented in #2336 )
2021-11-28 01:27:51 +01:00
Christian Schwinne
16d97d3c63
Merge branch 'master' into CCT-support
2021-11-28 01:21:57 +01:00
cschwinne
3e6728fedb
Only do auto white calc for busses with white channel
...
Revert auto white to global setting
Rounded /settings buttons by blazoncek
Removed obsolete script from /settings
2021-11-28 01:21:17 +01:00
Blaz Kristan
fcfb73c755
Merge branch 'master' into dev
2021-11-27 15:05:32 +01:00
cschwinne
624993fc89
CCT transitions
2021-11-27 01:33:48 +01:00
cschwinne
ba8a00764a
cctFromRgb option
2021-11-26 20:18:38 +01:00
Blaž Kristan
49f79a331c
Allow different 1st segment.
2021-11-26 09:39:49 +01:00