diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index 7f8aee8f8..63a1fd4be 100644 Binary files a/wled00/data/settings_sync.htm and b/wled00/data/settings_sync.htm differ diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 4879b26b5..b6ee13c54 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -53,9 +53,9 @@ http:// .local
Try connecting before opening AP for: s
Client IP: Not connected

Configure Access Point

-AP SSID (leave empty for no AP):

+AP SSID (leave empty for no AP):

Hide AP name:
-AP password (leave empty for open):

+AP password (leave empty for open):

Access Point WiFi channel:
AP IP: Not active
@@ -215,7 +215,7 @@ On/Off button enabled:
Infrared receiver enabled:
IR info

WLED Broadcast

-UDP Port:
+UDP Port:
Receive Brightness, Color, and Effects
Send notifications on direct change:
Send notifications on button press:
diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 6c6470cbf..c5a27320a 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -37,7 +37,6 @@ #include #include #include - #include #endif #include @@ -373,10 +372,12 @@ long lastInterfaceUpdate = 0; byte interfaceUpdateCallMode = 0; uint32_t mqttFailedConAttempts = 0; +#if AUXPIN >= 0 //auxiliary debug pin byte auxTime = 0; unsigned long auxStartTime = 0; bool auxActive = false, auxActiveBefore = false; +#endif //alexa udp String escapedMac; diff --git a/wled00/wled03_set.ino b/wled00/wled03_set.ino index 88d4c96dd..f92d9ae2c 100644 --- a/wled00/wled03_set.ino +++ b/wled00/wled03_set.ino @@ -561,7 +561,8 @@ bool handleSet(AsyncWebServerRequest *request, String req) nightlightFade = (req.charAt(pos+3) != '0'); nightlightActiveOld = false; //re-init } - + + #if AUXPIN >= 0 //toggle general purpose output pos = req.indexOf("AX="); if (pos > 0) { @@ -569,6 +570,7 @@ bool handleSet(AsyncWebServerRequest *request, String req) auxActive = true; if (auxTime == 0) auxActive = false; } + #endif pos = req.indexOf("TT="); if (pos > 0) transitionDelay = getNumVal(&req, pos); @@ -635,7 +637,7 @@ bool handleSet(AsyncWebServerRequest *request, String req) //apply preset if (updateVal(&req, "PL=", &presetCycCurr, presetCycleMin, presetCycleMax)) { - applyPreset(getNumVal(&req, pos), presetApplyBri, presetApplyCol, presetApplyFx); + applyPreset(presetCycCurr, presetApplyBri, presetApplyCol, presetApplyFx); } //cronixie diff --git a/wled00/wled05_init.ino b/wled00/wled05_init.ino index dde34eed3..856aeeac5 100644 --- a/wled00/wled05_init.ino +++ b/wled00/wled05_init.ino @@ -286,7 +286,7 @@ void getJsonInfo() #else oappend("\"no-ota\"]"); #endif - oappend(",\r\n\"brand\":\"wled\",\r\n\"btype\":\"dev\",\r\n\"mac\":\""); + oappend(",\r\n\"brand\":\"wled\",\r\n\"product\":\"DIY light\",\r\n\"btype\":\"dev\",\r\n\"mac\":\""); oappend((char*)escapedMac.c_str()); oappend("\"\r\n}"); } diff --git a/wled00/wled08_led.ino b/wled00/wled08_led.ino index 81ad90e3f..36ff04655 100644 --- a/wled00/wled08_led.ino +++ b/wled00/wled08_led.ino @@ -30,11 +30,10 @@ void setAllLeds() { } if (!enableSecTransition) { - for (byte i = 0; i<3; i++) + for (byte i = 0; i<4; i++) { colSecT[i] = colSec[i]; } - colSecT[3] = colSec[3]; } if (useRGBW && autoRGBtoRGBW) {