Command Output "));
}
addFormSubHeader(F("System"));
addWideButtonPlusDescription(F("/?cmd=reboot"), F("Reboot"), F("Reboots ESP"));
# ifdef WEBSERVER_LOG
addWideButtonPlusDescription(F("log"), F("Log"), F("Open log output"));
# endif // ifdef WEBSERVER_LOG
#ifdef WEBSERVER_SYSINFO
addWideButtonPlusDescription(F("sysinfo"), F("Info"), F("Open system info page"));
#endif
#ifdef WEBSERVER_ADVANCED
addWideButtonPlusDescription(F("advanced"), F("Advanced"), F("Open advanced settings"));
#endif
addWideButtonPlusDescription(F("json"), F("Show JSON"), F("Open JSON output"));
# ifdef WEBSERVER_TIMINGSTATS
addWideButtonPlusDescription(F("timingstats"), F("Timing stats"), F("Open timing statistics of system"));
# endif // WEBSERVER_TIMINGSTATS
#ifdef WEBSERVER_PINSTATES
addWideButtonPlusDescription(F("pinstates"), F("Pin state buffer"), F("Show Pin state buffer"));
#endif
# ifdef WEBSERVER_SYSVARS
addWideButtonPlusDescription(F("sysvars"), F("System Variables"), F("Show all system variables and conversions"));
# endif // ifdef WEBSERVER_SYSVARS
addFormSubHeader(F("Wifi"));
addWideButtonPlusDescription(F("/?cmd=wificonnect"), F("Connect"), F("Connects to known Wifi network"));
addWideButtonPlusDescription(F("/?cmd=wifidisconnect"), F("Disconnect"), F("Disconnect from wifi network"));
#ifdef WEBSERVER_WIFI_SCANNER
addWideButtonPlusDescription(F("wifiscanner"), F("Scan"), F("Scan for wifi networks"));
#endif // ifdef WEBSERVER_WIFI_SCANNER
#ifdef WEBSERVER_I2C_SCANNER
addFormSubHeader(F("Interfaces"));
addWideButtonPlusDescription(F("i2cscanner"), F("I2C Scan"), F("Scan for I2C devices"));
#endif // ifdef WEBSERVER_I2C_SCANNER
addFormSubHeader(F("Settings"));
addWideButtonPlusDescription(F("upload"), F("Load"), F("Loads a settings file"));
addFormNote(F("(File MUST be renamed to \"config.dat\" before upload!)"));
addWideButtonPlusDescription(F("download"), F("Save"), F("Saves a settings file"));
#ifdef WEBSERVER_NEW_UI
# if defined(ESP8266)
if ((SpiffsFreeSpace() / 1024) > 50) {
html_TR_TD();
addHtml(F(
""));
addHtml(F("Download new UI"));
addHtml(F(" | Download new UI(alpha) |
"));
}
# endif // if defined(ESP8266)
#endif // WEBSERVER_NEW_UI
#if defined(ESP8266) || defined(ESP32)
{
# ifndef NO_HTTP_UPDATER
{
uint32_t maxSketchSize;
bool use2step;
bool otaEnabled = OTA_possible(maxSketchSize, use2step);
addFormSubHeader(F("Firmware"));
html_TR_TD_height(30);
addWideButton(F("update"), F("Update Firmware"), "", otaEnabled);
addHelpButton(F("EasyOTA"));
html_TD();
addHtml(F("Load a new firmware"));
if (otaEnabled) {
if (use2step) {
addHtml(F("