From 50875d57599097c0aa164e6241ac61fe33ce67d5 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 11 Nov 2022 20:20:11 +0100 Subject: [PATCH] Sync Interfaces settings: hide sections for disabled features (#2865) * Add network debug printer * hide settings for disabled features If not enabled at compile time, this change hides "Sync interfaces" settings for Alexa, MQTT, Blynk, HueSync. The html sections are just hidden by a
with style display:none. * Update Animated Staircas for 0.14 * Faster strip updates. * Add ESP32 variant display in update page. * Net debug optimizations Fix ESP8266 (unaligned progmem flash string reads) Do not send an extra package for \n in println Only resolve IP/hostname once * Compile time option for PIR sensor off timer * Fix Gitpod compiling (#2875) * Install Platformio not in Gitpod Image * Install platformio at runtime remove outdated extensions * Bugfix for color transitioning. Return palette option for Candle. Fix for "* Color..." palette hiding. Comment out debug output. * Optimization & bugfix for net debug. - Inherited from Print class. - Added UI option to disable net debug output. * Reduce fxdata size by about 200 bytes Removed redundant commas before semicolon delimiter (`,;` -> `;`) No need to transmit `@` in /json/fxdata * NetworkDebugPrinter packet optimization. * Revert NetworkDebugPrinter changes. * Remove flush() in bus manager. * Optimizations. Co-authored-by: Shaheen Gandhi Co-authored-by: Blaz Kristan Co-authored-by: cschwinne Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com> --- wled00/data/settings_2D.htm | 6 +- wled00/data/settings_leds.htm | 18 +- wled00/data/settings_sync.htm | 48 +- wled00/data/settings_um.htm | 4 +- wled00/data/style.css | 6 + wled00/html_settings.h | 2012 +++++++++++++++++---------------- wled00/xml.cpp | 9 + 7 files changed, 1076 insertions(+), 1027 deletions(-) diff --git a/wled00/data/settings_2D.htm b/wled00/data/settings_2D.htm index 236bf03a9..94246a85b 100644 --- a/wled00/data/settings_2D.htm +++ b/wled00/data/settings_2D.htm @@ -70,7 +70,7 @@ function addPanel(i=0) { let p = gId("panels"); if (p.children.length >= maxPanels) return; - let b = `
${i===0?"":'
'}Panel ${i}
1st LED:
`;
Serpentine: -
+
A matrix is made of 1 or more physical LED panels of the same dimensions.
Panels should be arranged from top-left to bottom-right order, starting with lower panel number on the left (or top if transposed).
Each panel can have different LED orientation and/or starting point and/or layout.

-
+

LED panel layout

diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index c8372d15d..6f1dc59b2 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -322,7 +322,7 @@ if (n==1) { // npm run build has trouble minimizing spaces inside string var cn = `
-
+
${i+1}:   Length:
Color Order: @@ -594,7 +594,7 @@ Length: LED outputs:
-
+

LED Memory Usage: 0 / ? B
@@ -603,19 +603,19 @@ Length: 800 LEDs per output for the best experience!
-
+
Make a segment for each output:
Custom bus start indices:
Use global LED buffer:
-
+
Color Order Override:
-
+

-
+
Touch threshold:
IR GPIO: JSON file:
IR info
Relay GPIO: Invert  ✕
-
+

Defaults

Turn LEDs on after power up/reset:
Default brightness: (0-255)

@@ -679,7 +679,7 @@ Length: None (not recommended)
Target refresh rate: FPS -
+
Config template:

diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index f1246747c..b7f4f2ef1 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -7,10 +7,8 @@ Sync Settings