Commit Graph

498 Commits

Author SHA1 Message Date
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
cschwinne
844bef9fda Explicit JSON flag for loading FX defaults
Disable watchdog by default
2022-08-22 01:17:10 +02:00
Blaz Kristan
e6f74751d4 Missing presets bugfix. 2022-08-14 22:16:42 +02:00
Blaz Kristan
74b6a78a9b Effect fixes. 2022-08-13 00:58:27 +02:00
Blaz Kristan
32fc6d4b7f Binary effect parameters. 2022-08-12 17:58:20 +02:00
Blaz Kristan
957948f906 Code optimisations in effects.
Remove Wire initialisation from RTC.
Peek fix.
2022-08-09 21:14:37 +02:00
Blaz Kristan
f58ff68f3c Center liveview2D, code size reduction. 2022-08-02 22:50:01 +02:00
Blaz Kristan
8f5d2a7f00 Merge branch 'mapping12soundsim' into segment-api 2022-08-02 21:47:24 +02:00
Blaz Kristan
0ba8bace0d 2D optimisations. 2022-08-02 18:27:32 +02:00
Blaz Kristan
7ca1d99412 Multiple additions:
- transparent leds[] for getPixelColor()
- sample 2D Black Hole for trnasparent leds[]
- conditional audio compile (WLED_NO_AUDIO)

Bugfix:
- effect filtering
2022-08-01 22:01:24 +02:00
Blaz Kristan
118bcbd6a6 Effect filter patterns. 2022-08-01 17:32:40 +02:00
Blaz Kristan
f02616acd1 Some fixes. 2022-07-31 19:52:07 +02:00
Blaz Kristan
d328db543e Bugfixes.
- gamma on *Color palettes
- gamma moved out of WS2812FX
- palette fade (JSON) fix
2022-07-30 23:58:29 +02:00
Blaz Kristan
96da48ae82 1D mapping bugfix. 2022-07-30 15:03:06 +02:00
Blaz Kristan
df534d30bf Custom palettes. 2022-07-28 23:19:58 +02:00
ewowi
ce99dbe40c liveview2D: only if isMatrix 2022-07-28 16:35:57 +02:00
ewowi
affcca8034 Improve liveview2D: add width and height > 256 leds 2022-07-28 16:13:31 +02:00
Blaz Kristan
9b814f4ed8 Shadows and hides. 2022-07-27 21:12:27 +02:00
Blaz Kristan
3b2573afed More filtering options.
Palette loading bugfix.
2022-07-27 17:00:55 +02:00
Blaz Kristan
1b64747c2b Quick effect filter. 2022-07-27 00:11:24 +02:00
ewowi
863212915c Revert "Merge branch 'segment-api' into origin/mapping12soundsim"
This reverts commit 8ef82ebdd7.
2022-07-26 11:23:51 +02:00
Blaz Kristan
78aad924c5 Bugfixes.
- moved simulateSound() to util
- effect fixes (name changes)
- mapping fixes
- default values fixes
- UI fixes
2022-07-25 21:31:50 +02:00
Blaž Kristan
59cb9ba344 Revert 2D peek 2022-07-25 11:47:19 +02:00
ewowi
d511eb19ef Update with latest html_ui.h 2022-07-24 17:20:38 +02:00
ewowi
d3e9f51d6b Merge remote-tracking branch 'origin/segment-api' into segment-api 2022-07-24 17:13:13 +02:00
ewowi
e3499e5a70 Add 2D liveview (Peek 2D) - Beta version 2022-07-24 17:10:29 +02:00
Blaz Kristan
026425407e Adde more default options.
UI bugfix.
2022-07-24 16:21:29 +02:00
Blaz Kristan
8e9637f6d4 Default effect values. 2022-07-23 22:00:19 +02:00
Blaz Kristan
1f3a1a0a95 Stuck effect fix. 2022-07-21 20:18:48 +02:00
Blaz Kristan
1e4f8be74b Merge branch 'mapping12soundsim' into segment-api 2022-07-20 21:22:23 +02:00
Blaz Kristan
a46894f395 Bugfixes. 2022-07-19 16:16:43 +02:00
ewowi
12f6ed621e Tuning of soundsim and mapping12 2022-07-17 17:17:51 +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
615f807909 Regenerate html_ui.h 2022-07-13 12:45:23 +02:00
ewowi
985255afed Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim 2022-07-13 12:44:43 +02:00
ewowi
9bec394d7f Add mapping12 and soundsim defaults to effects and apply in segment ui
index.js: rename setSliderAndColorControl to setEffectParameters, rename extras to effectPars, add segment variable update code
FX.cpp: add map12 and ssim defaults to data_FX_MODE variables (WIP)
FX_fcn.cpp: add return in setPixelColor for 2D
2022-07-13 12:41:33 +02:00
Blaz Kristan
8f72e0ab83 Reload presets on save. 2022-07-12 21:09:10 +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
f0992d56c1 Added global I2C & SPI HW pin defines
Fixed default values fo custom sliders.
Fix for color selector.
Changed fading for 2D GEQ
Audioreactive fix send/receive option
2022-07-07 23:07:20 +02:00
Blaz Kristan
febd7cbca8 Enable Peek for 2D. 2022-07-04 11:12:55 +02:00
Blaz Kristan
0a2e01a616 Multiple changes:
- change arduinoFFT to float (custom)
- update audioreactive to use float
- update effects to use float
- info slider (usermod)
- hide Peek in 2D
- minor bugfixes
2022-07-03 22:55:37 +02:00
Blaz Kristan
cd46d84dcb Shuffle tooltips. 2022-06-28 12:36:23 +02:00
Blaz Kristan
4c60a70c6f Slider div change.
Effect data bugfix.
2022-06-27 22:46:36 +02:00
Blaz Kristan
94a79b57e9 Tooltips for effect sliders. 2022-06-26 22:47:16 +02:00
Blaz Kristan
dbe90eb3f5 Minor UI fixes. 2022-06-23 21:00:12 +02:00
Blaz Kristan
3891348c26 Multiple fixes.
- anti-aliasing fix
- minor UI CSS fix
- dynamic JS loading (2D & UM)
- 2D Lissajous fix
2022-06-23 17:42:02 +02:00
Blaz Kristan
d3bb079be4 Muliple enhancements:
- Smarter on/off buttons in Info panel (usermods)
- On/Off bus in bus_manager
- 2D GEQ fix (2D CenterBars obsolete)
- hide unused palettes & modes
2022-06-20 22:17:01 +02:00
Blaz Kristan
0daddf9896 Some fixes.
Remove (*) palettes if not all 3 color selectors shown
Updated comments
2022-06-17 16:18:35 +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
14887d5e88 Multiple fixes.
- non matrix bugs in legacy effects
- preset loading (cycling)
- segment length in UI
- possible WS heap corruption prevention
2022-06-01 22:11:25 +02:00
Blaz Kristan
461cc1d5a8 Fix for stalled scrolling text.
Minor other fixes.
2022-05-27 15:29:34 +02:00
Blaz Kristan
3d6df07335 Bugfixes in 2D.
PIR stops countdown if preset changed.
2022-05-27 13:39:22 +02:00
Blaz Kristan
7689587879 New 2D Drift Rose effect.
Fix for segment name.
Updated blurRow & blurCol to work on non-leds[].
Updated several legacy effects to be 2D aware.
Code cleanup.
2022-05-26 21:36:48 +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
ba3555a66f 2D Game of Life update.
Added crc16().
Reduced errorToast popup time.
Fixed drawLine() incorrect uint16_t use and added leds[] support.
2022-05-20 14:48:40 +02:00
Blaz Kristan
4e8030bd81 Bugfix.
- centered Settings buttons
- disallow preset ID >250
2022-05-18 14:38:22 +02:00
Blaz Kristan
879fd5a13d Hide 2D modes in UI if not a matrix set up. 2022-05-11 12:29:46 +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
d4ef26e0f3 HSV sliders option instead of color picker. 2022-04-26 22:16:08 +02:00
Blaz Kristan
1494bfe855 Fix for non-websockets build.
Cleanup.
2022-04-24 19:30:14 +02:00
Blaz Kristan
f1a4ba4e76 Restore preset upon playlist end option. 2022-04-20 18:05:59 +02:00
Blaz Kristan
385c526414 Added new holidays. 2022-04-19 17:16:07 +02:00
Blaz Kristan
5e95e02429 Missing segpwr configuration. 2022-04-18 22:59:32 +02:00
Blaz Kristan
3081802b1c Minor UI fix.
- keep .staytop/.staybot sticky
- .fnd inheritance
2022-04-17 12:01:44 +02:00
Blaz Kristan
1663601dcb UI fixes.
- correct load sequence
- incorrect power on repeated segments
- update button
- fix for find icon
- connection icon colors
2022-04-17 11:13:13 +02:00
Blaz Kristan
f915201a27 Cleanup. 2022-04-12 16:08:17 +02:00
Blaz Kristan
845aa733b7 Bugfixes.
- auto segments selected
- slider data aded to data-opt
2022-04-11 22:18:44 +02:00
Blaz Kristan
a0e318827d Hide custom sliders by default. 2022-04-11 15:14:47 +02:00
Blaz Kristan
39720a11dc Fix empty space at the bottom. 2022-04-10 20:58:41 +02:00
Blaz Kristan
da33bf3438 Revert namelabel. 2022-04-10 20:05:14 +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
566985cf72 Add preset (name) UI bugfix.
Close modal button.
2022-04-06 05:45:39 +02:00
Blaz Kristan
081f211231 Merge branch 'master' into merge-master 2022-04-04 20:52:42 +02:00
Blaz Kristan
969acbd47f UI & CSS bugfix. 2022-04-02 19:18:54 +02:00
Blaz Kristan
31012671c5 UI sliding bugfix. 2022-04-02 07:42:04 +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
557a2f08f7 Power off. 2022-03-28 23:08:29 +02:00
Blaz Kristan
ae90aa4ccc Power off. 2022-03-28 23:07:37 +02:00
Blaz Kristan
6eff2e6e74 Missing .h 2022-03-28 22:43:51 +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
ba6a01408d UI tweaks & optimizations. 2022-03-26 23:22:18 +01:00
Blaz Kristan
bdbce67473 Movable segment power.
UI CSS fixes.
2022-03-25 20:30:29 +01: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
7882519c0e Bugfix.
- expand preset
- button factory reset
- PIO library
2022-03-15 22:16:48 +01:00
Blaz Kristan
ac20d7f302 UI updates.
- optional show/hide segment power
- skinnable sliders
- changed some CSS to be more to @aircoookie's liking
2022-03-14 20:22:20 +01:00
cschwinne
1bc698ae78 Button 0 long press factory reset
JS simplification
2022-03-14 12:26:45 +01:00
Blaz Kristan
3f6691dcd5 Easter egg added. 2022-03-13 14:04:29 +01:00
Blaz Kristan
167d29c39f RGB selector bugfix. 2022-03-12 21:25:39 +01:00
Blaz Kristan
28b78c2b27 Select/unselect all segments chekmark.
CSS fixes.
2022-03-12 18:03:00 +01:00
Blaz Kristan
b3d691fff6 Select/deselect all segments.
CSS optimisations & fixes.
2022-03-11 23:38:50 +01:00
Blaz Kristan
841a9f8082 Searchable presets.
Inline sin_gap().
Prevent live timeout.
2022-03-10 22:36:09 +01:00
cschwinne
0ea31cb088 Fix indefinite realtime terminated by new packet (fixes #2356 )
Add custom Aircoookie fork of ESP32 core (reduces bin size by >100kB)
2022-03-10 11:20:39 +01:00
Blaz Kristan
06fe7323eb Fix for palettes. 2022-03-09 19:03:39 +01:00
Blaz Kristan
d8d9259c36 Comment fix. 2022-03-09 18:21:52 +01:00
Blaz Kristan
261260b232 Fix for non-W segment. 2022-03-09 15:31:31 +01:00
Blaž Kristan
5b88894638 Reintroduction of per bus auto white calculation.
JS/CSS UI optimizations.
2022-03-09 13:39:51 +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
Blaž Kristan
2d1511b5dd Fix incorrect isRgbw use 2022-03-07 09:50:33 +01:00
Blaž Kristan
e561304645 Merge branch 'master' into master-merge 2022-03-07 09:44:35 +01:00
Christian Schwinne
9c864c9759
UI: show color controls based on segment light capabilities (#2567)
* Dynamic hiding of unused color controls in UI

(e.g. a PWM white bus with no auto white mode will not display the color wheel or palette list)

* Store segment capabilities

Don't use palettes if no RGB supported
Make it safe to update busses using `/json/cfg`
2022-03-05 01:05:26 +01:00
Blaz Kristan
f1dd1bd6bd Relative value wrapping and operator fix.
Slot selector changes.
2022-03-04 21:49:07 +01:00
cschwinne
6fe43b7b5c Separate color memory from slot selectors
Slot selector dynamic text color black/white
Selected slot selector JS simplification
2022-03-03 20:54:54 +01:00
Blaz Kristan
62fc986d96 Segment corner fix. 2022-03-03 20:19:26 +01:00
Blaz Kristan
2283c7a926 Fix for dark buttons in info. 2022-03-03 11:24:21 +01:00
Blaz Kristan
c8eefbaa2e CSS/JS fixes. 2022-03-03 01:02:23 +01:00
cschwinne
be90bf0188 Minor CSS simplifications 2022-03-01 18:22:54 +01:00
cschwinne
adcdaba199 Indentation: Consistent use of Tab
Added style guide
Updated changelog
2022-03-01 12:14:41 +01:00
cschwinne
f333df181f Small CSS alignment adjustments
mainseg is not highlighted by default, but can be enabled by CSS only
Simplify some CSS (new segment box, segment brightness slider)
Started labeling CSS classes
2022-03-01 11:13:56 +01:00
Blaz Kristan
61a01cb163 JS/CSS optimisations 2022-02-28 23:32:24 +01:00
Blaz Kristan
4ce557a829 Multiple fixes:
- ability so select mainseg (UI)
- changed preset sort (UI)
- IR40 white +/- fix
- IR repeatable actions fix
- minor UI CSS change
- removed unnecessary color functions
2022-02-27 22:19:05 +01:00
Blaz Kristan
053a1d34e5 Fix for main segment. 2022-02-24 20:49:53 +01:00
Blaz Kristan
826a31e57d UI fixes and optimizations. 2022-02-24 16:52:16 +01:00
cschwinne
4d4a20e05e 0.13.0-b7
Mitigate Pixel 6 UI issue
2022-02-24 01:16:24 +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
694466a196 Apply segment by Enter key on input field 2022-02-21 17:58:18 +01:00
Blaz Kristan
41b6f3ffa7 Merge branch 'master' into merge-master 2022-02-20 22:24:11 +01:00
Blaz Kristan
c895b76864 unneeded WS request 2022-02-20 09:41:56 +01:00
cschwinne
efbb7a034c Slight websocket reconnection tweaks 2022-02-19 22:47:17 +01:00
Blaž Kristan
7f92607b85 Added WS reconnect on error toast. 2022-02-17 12:51:37 +01:00
Blaž Kristan
3be4b69b44 WS reconnect logic & WS memory leak protection 2022-02-17 12:45:50 +01:00
cschwinne
613809c2af Do not turn rpt segments off 2022-02-16 23:54:14 +01:00
Blaž Kristan
31e33e0a8b Fix for creating segments if config set to length. 2022-02-14 08:15:35 +01:00
Blaz Kristan
4f83325e3c Fix for expanding saved preset. 2022-02-12 11:32:49 +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
52f0ae9350 Merge branch 'master' into master-merge
Few UI fixes.
2022-02-03 17:40:44 +01:00
Blaz Kristan
fa0936da3c Fix for ESP8266 bootloop.
Reordered preset sorting.
2022-02-02 22:00:31 +01:00
Blaz Kristan
8a30c6347e Remove error Toast after 10s. 2022-02-02 21:03:26 +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
91dd03ba67 Merge fix.
Increased JSON buffer for ESP32
2022-01-25 21:24:17 +01:00
Blaz Kristan
86092541ed Merge branch 'master' into dev 2022-01-25 17:53:22 +01:00
Blaz Kristan
70a59daa6f Fix for incorrect repeatable segment. 2022-01-24 17:18:57 +01:00
Blaz Kristan
6f7f67df5a Merge branch '4ld-font' into color-order-mapping 2022-01-22 23:20:47 +01:00
Blaz Kristan
beb539abaf Resizing window fix. 2022-01-22 21:45:47 +01:00
Blaz Kristan
90ea01aa46 Possible fix for UI not loading on returning from Settings. 2022-01-22 13:54:17 +01:00
Blaz Kristan
3332375d7c A few fixes.
Added HA autodiscovery to Multi relay usermod.
2022-01-21 17:30:52 +01:00
Blaz Kristan
65bb7fd533 Delay for ESP8266 to keep up. 2022-01-16 22:08:57 +01:00
Blaz Kristan
e54819e7e5 Merge branch 'master' into sync-seg 2022-01-15 14:08:08 +01:00
Blaz Kristan
3da70c3e8b Full segment syncing.
- removed setEffectConfig()
- rate limit handleNightlight()
- fixes in colorUpdated()
- segment color fix in UDP routine
2022-01-15 00:06:06 +01:00
Blaž Kristan
1ab555b590 Cleaning colorUpdated() & UDP segment syncing.
Added selected segments only save.
2022-01-14 14:27:11 +01:00
Blaz Kristan
06ded0098c Aurora speed change.
Fix for Palette title.
2022-01-10 19:00:44 +01:00
Blaz Kristan
f66d847032 Fix for missing character in slider name. 2022-01-09 21:03:57 +01:00
Blaz Kristan
7a4ed5a337 UI bugfix. 2022-01-08 12:45:32 +01:00