Wykres commitów

401 Commity (69ab2ce402a6b48a455a6b272e8097fefbbc4863)

Autor SHA1 Wiadomość Data
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 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 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 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 9667365d9e Optional HSV sliders instead of color wheel.
PIN code optimizations & fixes.
2022-04-27 12:31:47 +02:00
Blaz Kristan d4ef26e0f3 HSV sliders option instead of color picker. 2022-04-26 22:16:08 +02:00
Blaz Kristan a053e81797 Minor fixes. 2022-04-24 19:47:55 +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 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 39720a11dc Fix empty space at the bottom. 2022-04-10 20:58:41 +02:00
Blaz Kristan eda6f134a9 Moved effect sliders to bottom.
Implemented custom effect parameters.
2022-04-10 11:02:57 +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 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
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
PLCHome b01309c3bf
Mixed content exception in web browser in websocket communication on peek behind an https backproxy. (#2571)
"ws://" must be the change to the "wss://" for encryption
2022-03-07 18:26:53 +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 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 5b84acebbc Minor JS optimisation. 2022-02-27 11:31:30 +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
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
cschwinne d28eb6ae21 Repeat other seg than 0 bugfix 2022-01-24 16:44:47 +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 65bb7fd533 Delay for ESP8266 to keep up. 2022-01-16 22:08:57 +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
Blaz Kristan ec37085e39 Bugfix for nodes button. 2022-01-08 00:04:56 +01:00
Blaž Kristan 10e216da6b Fix for missing middle segment. 2022-01-07 17:48:46 +01:00
Blaž Kristan 6491353a57 Missing rptSeg() 2022-01-07 17:31:28 +01:00
Blaz Kristan 816823b115 Simple UI update. 2022-01-03 22:37:21 +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 603dee7661 Apply FX defaults fix.
ALT 4LD optimizations.
2021-12-29 19:12:30 +01:00
Blaz Kristan 5f73725b8f Yet naother fix. 2021-12-28 22:14:47 +01:00
Blaz Kristan 7cb63b1da0 Fix for default values loaded even with preset. 2021-12-28 21:38:28 +01:00
Blaz Kristan 31603380c1 Bugfix autosegments & solid pattern 2021-12-28 18:53:30 +01:00
Blaz Kristan 5a3d3b0324 Default values for effects.
Moved mode names to FX_fcn.cpp
2021-12-28 18:09:52 +01:00
Blaz Kristan c2b9e06a4a Color slot selection glitch fix. 2021-12-22 23:04:58 +01:00
Blaz Kristan cb4c736fab Bugfix galore. 2021-12-21 20:43:49 +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 f20065f546 Notification & UI fix 2021-12-17 17:29:39 +01:00
Blaz Kristan 5b88ba6d1d fix when hiding color slots 2021-12-13 17:57:18 +01:00
Blaz Kristan 974dd8ce57 Recusive palette update fix. 2021-12-07 19:17:26 +01:00
Blaz Kristan 957d08f4c6 Merge branch 'dev' into gzip
Minor fixes.
Enhanced SR UI handling for palettes.
2021-12-07 18:53:38 +01:00
Blaz Kristan f31100326b Fixes. 2021-12-07 16:31:45 +01:00
Blaž Kristan 9b7b1d6a61 Minor cleaning. 2021-12-07 13:49:36 +01:00
Blaz Kristan f45b5da71a GZIPped UI & settings pages.
settings.js for pasting data into HTML.
Reduced simple & classic flash footprint.
Split iro.js and rangetouch.js into separate requests (instead of embedding)
2021-12-06 20:53:09 +01:00
Blaz Kristan 44f9bc5f0e Revert hiding UI elements. 2021-12-03 21:17:59 +01:00
Blaz Kristan 5c7e3c6bab Bugfixes. 2021-12-03 21:09:53 +01:00
cschwinne 46ec504743 Various fixes
Fixed ESP32 crash on Colortwinkles brightness change
Fixed setting picker to black resetting hue and saturation
Fixed auto white mode not saved to config
2021-12-03 20:36:37 +01:00
Blaž Kristan 737151ba09 UI optimization. 2021-12-03 14:26:26 +01:00
Blaz Kristan 2eef39d64a UI fix. 2021-12-02 22:57:32 +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 33036e7599 Fix sliders on page load if black is set 2021-12-01 00:16:43 +01:00
Blaz Kristan 12ce3282ff Dynamic position of repeat button. 2021-11-27 14:31:23 +01:00
Blaz Kristan 9f3e66fff0 Cleaning up indentations (sorry but my OCD is strong). 2021-11-27 11:50:18 +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
cschwinne 3dec4a6651 UI slider and CCT adjustments 2021-11-26 02:06:05 +01:00
Blaz Kristan c73b098f30 Autocreate identical segments. 2021-11-25 22:04:05 +01:00
Blaz Kristan d09d7521d6 Collapsing expanded dialogs in UI. 2021-11-23 20:21:22 +01:00
Blaz Kristan 295663f6a6 Removed loadInfo().
Fixed UI when no WS available.
2021-11-21 14:14:39 +01:00