Commit Graph

330 Commits

Author SHA1 Message Date
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
Blaz Kristan
4ddc422cfa More bugfixes. 2021-11-20 19:31:28 +01:00
Blaz Kristan
be8db602b8 New endpoint for UI slider control (WLED-SR ext.)
Minor UX optimizations.
2021-11-20 12:26:04 +01:00
Blaz Kristan
5fd4ed91d8 Fix for unselected effect on UI load. 2021-11-15 18:40:17 +01:00
Blaz Kristan
312cbc86e9 Bugfix.
Debugging info added.
2021-11-14 16:56:34 +01:00
Blaz Kristan
ce5a81d83c Minor UI fix. 2021-11-11 22:48:50 +01:00
Blaz Kristan
f8da8f6929 Added conditional compile for dynamic JSON buffer.
- WLED_USE_DYNAMIC_JSON
Minor fixes.
2021-11-07 11:58:16 +01:00
Blaz Kristan
f7de055f67 Minor tweaks. 2021-11-06 10:35:00 +01:00
Blaz Kristan
07d09aea85 Make WS onLoad(). 2021-11-05 23:25:11 +01:00
Blaz Kristan
f63ceed1ae LoadInfo WS. 2021-11-05 23:01:23 +01:00
Blaz Kristan
73c75635b1 Update simple page.
Code simplification.
2021-10-31 22:23:26 +01:00
Blaz Kristan
cc7d745ce6 Adopted WLED-SR slider, color & palette control.
Added "freeze" toggle to a stopwatch icon.
2021-10-31 15:52:41 +01:00
Blaz Kristan
044d830b64 Removing palettes on Solid effect.
Bubbling bugfix for effect selection.
Re-introduced 'tt'.
2021-10-29 23:55:42 +02:00
Blaz Kristan
0d77027f60 Bugfix for white value. 2021-10-22 07:21:47 +02:00
Blaz Kristan
bbf46358fa Fix for simple page. 2021-10-21 22:59:47 +02:00
Blaz Kristan
1cf793233f Removed experimental v2 segment API.
Bugfix for white value.
2021-10-21 21:33:26 +02:00
Blaz Kristan
39b7b3ad53 CCT (color white balance support) 2021-10-20 20:29:13 +02:00
Blaz Kristan
95827c3ada White slider bugfix.
Increased multi-relay update frequency.
2021-10-17 19:18:56 +02:00
Blaz Kristan
1d4d5f0c93 Minor fixes & optimizations. 2021-10-17 14:38:19 +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
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
53237c297f "Preset 0" bugfix. 2021-10-09 10:42:49 +02:00
Blaž Kristan
bddd22cfab Merge branch 'master' into dev 2021-10-07 13:47:36 +02:00
Blaz Kristan
02fcccc8c7 Allow playlist as end preset in playlist.
Playlist chaining.
2021-10-06 19:12:30 +02:00
Blaz Kristan
fb2e556726 Allow playlist as end preset in playlist.
Playlist chaining.
2021-10-06 19:01:56 +02:00
Phil Bolduc
8cc2ba4770 use classList add/remove instead of edit className with string functions 2021-10-03 15:41:50 -07:00
Blaz Kristan
f40398bf42 Removed double function definition in index.js. 2021-10-03 20:05:32 +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
Blaž Kristan
51a4f61a8f Add "on":true to playlist JSON 2021-09-24 12:20:20 +02:00
Blaž Kristan
7d05236514 Add "on":true to playlist JSON. 2021-09-24 12:15:03 +02:00
Blaž Kristan
6db2240f8a Merge branch 'master' into dev
(mostly ignored index.js)
2021-09-22 06:58:49 +02:00
cschwinne
96422de031 0.13.0-b3 2021-09-21 23:37:35 +02:00
Blaz Kristan
bc6652f443 Segment names fixes.
Minor UI changes:
 - new font
 - removed transition
2021-09-18 13:15:19 +02:00
cschwinne
bc18eda336 Segment name UI changes
Text field accessible by edit icon
Replaced magnifier with iconfont
Use woff2 font format
Fix scaled checkboxes visible in UI settings header
2021-09-18 00:31:39 +02:00
cschwinne
d7e3765efe Fix segment creation 2021-09-14 23:35:04 +02:00
Blaz Kristan
4d89ed701d FX optimisations.
Added segment names.
2021-09-08 23:10:54 +02:00
Blaz Kristan
4e8c94fd2d Fix for unknown IR codes in IR JSON.
Fix for T=2 not updating lights in IR JSON.
Correct handling of missing ir.json file.
2021-09-03 22:00:47 +02:00
Blaz Kristan
81bafa00ac Minor tweaks. 2021-08-24 23:33:41 +02:00
Blaz Kristan
84d0c17c4b Compile warnings eliminated.
Minor typo.
DEBUG_PRINTF fix for 8266
2021-08-24 21:35:47 +02:00
Blaž Kristan
771a544d0f Removed reference to tdd. 2021-08-20 09:54:54 +02:00
Blaz Kristan
4e28e2cb59 Merge branch 'master' into dev 2021-08-19 21:57:04 +02:00
Blaž Kristan
6a52a1dc63 Add option to load custom CSS and custom holidays.json 2021-08-18 13:41:54 +02:00
cschwinne
441416b241 Fixed edge case with transition 0 2021-08-18 01:59:01 +02:00
cschwinne
4b817208aa Added application level pong websockets reply (#2139) 2021-08-17 12:47:01 +02:00
Blaz Kristan
b3dd368920 JS optimisation.
Namelabel clarity.
2021-08-16 18:24:06 +02:00
Blaz Kristan
7ed65529df Minor button CSS optimisations. 2021-08-15 22:05:36 +02:00
Blaz Kristan
a8b59f5f59 Replaced fixed color values in CSS & JS w/ --c-?. 2021-08-13 11:43:17 +02:00
Blaz Kristan
3640f977c8 Simple CSS bugfix. 2021-08-12 12:12:45 +02:00
Blaz Kristan
28f12a4874 More CSS & JS optimisations. 2021-08-12 11:14:53 +02:00
Blaz Kristan
93378406c3 Additional CSS optimisations. 2021-08-11 21:28:31 +02:00
Blaz Kristan
dcfbf2b154 Simplified UI and general UI polishing (CSS, HTML & JS).
Boot transition fix.
Local storage invalidation when uploading presets.json.
2021-08-10 17:11:17 +02:00
cschwinne
bd13336256 Fixed undesirable boot color transition 2021-08-06 02:08:36 +02:00
Blaz Kristan
5c6d755750 Added title to node button. 2021-08-01 12:19:44 +02:00
Blaz Kristan
bd0f84605f UI JS optimisations/code reduction. 2021-07-29 22:55:20 +02:00
Blaz Kristan
6e9a69be5c Fix for missing off-only MQTT messages.
Automatic WS reconnect.
2021-07-28 22:45:11 +02:00
Blaž Kristan
2e9bd477d9
Upload files & skinning (#2084)
* Skinning WLED & uploading files.
Backup & restore configuration & presets.
External holidays.json

* Option for segment count instead of stop.

* Small fixes and improvements

* Further improvements

* Enable custom CSS by default

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-07-26 00:10:36 +02:00
Blaz Kristan
392df6ba72 Added missing ir.json error type.
Hopefully fix for WS virtual disconnects.
WS debugging info.
2021-07-25 22:44:26 +02:00
Blaz Kristan
c66cffd6a6 Playlist implicitly turns WLED on. 2021-07-23 23:40:38 +02:00
Blaz Kristan
067a88b3e7 UI maintaining playlist preset selected. 2021-07-23 18:39:00 +02:00
Blaz Kristan
e1527fcbb9 White slider fix. 2021-07-22 15:36:33 +02:00
Blaz Kristan
9e583f9ff0 Minor UI optimisations. 2021-07-22 15:34:43 +02:00
Blaz Kristan
0511a62ca1 Optimised requestJson()
CSS fix.
2021-07-19 19:00:21 +02:00
Blaz Kristan
5360fe49d4 Minor holiday background image loading tweak. 2021-07-15 20:08:00 +02:00
Blaž Kristan
dbd3bd50df Attempt at forcing Save dialog on preset backup.
Random BG image replaced by holiday BG.
2021-07-15 09:24:10 +02:00
Blaz Kristan
c1a1fb8d87 Backup/restore presets & holiday array upload.
Reduced number of segments on 8266.
2021-07-14 23:10:19 +02:00
Blaz Kristan
b10568e917 Merge branch 'dev' of github.com:blazoncek/WLED into dev 2021-07-14 16:20:16 +02:00
Blaž Kristan
0e1ad39ede Merge branch 'master' into dev 2021-07-14 13:43:42 +02:00
Blaz Kristan
c8ce06d110 Minor UI fix. 2021-07-11 00:26:21 +02:00
cschwinne
6a8ed1192f Accept hex color strings in individual LED API
Version bump to 0.13.0-b2 "Toki"
Fixed transition property not applying unless power/bri/color changed next
Moved transition field below segments (temporarily)
2021-07-10 16:14:17 +02:00
Blaž Kristan
944b857825 Merge branch 'master' into dev 2021-07-08 13:39:22 +02:00
cschwinne
e04b965659 Peek uses the main websocket connection 2021-07-08 02:01:17 +02:00
Aircoookie
17d2fb80f2 More robust initial resource loading in UI 2021-07-07 23:45:53 +02:00