[Added]: Log-link
[Added]: Support for HW:0.11
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
#include <NTPtimeESP.h> //https://github.com/SensorsIot/NTPtimeESP
|
||||
#include <EEPROM.h>
|
||||
|
||||
String Hardware = "0.10";
|
||||
String Software = "0.08";
|
||||
String Hardware = "0.11";
|
||||
String Software = "0.09";
|
||||
String ntp_server = "ntp2.uni-augsburg.de";
|
||||
|
||||
// Set web server port number to 80
|
||||
|
||||
@@ -127,7 +127,7 @@ void print_website(){
|
||||
String Alarm = "<h3>Alarm</h3>" + Alarm1 + "<br><br>" + Alarm2 + "<br><br>" + Weckzeit;
|
||||
String Zeit = "<br><h3>Zeit</h3>" + String(h) + ":" + String(m) + ":" + String(s) + " - " + String(d) + "." + String(M) + "." + String(y) + " | DST: " + String(summertime_EU(y,M,d,h,1));
|
||||
String NTP = "<br><h3>NTP</h3><b>Server:</b> <form action=\"/\" methode=\"get\"><input type=\"text\" name=\"ntp_server\" value=\"" + String(ntp_server) + "\"><input type=\"submit\" value=\"Speichern\"></form><br>stündliches Zeit Update: " + getBoolString(ntp_update) + "<br><a href=\"?ntp=true\">Aktivieren</a> " + " <a href=\"?ntp=false\">Deaktivieren</a>";
|
||||
String Reboot = "<br><h3>System:</h3><a href=\"?reset=true\">Neustart</a><br><br><a href=\"update\">Software Update Modus</a><br><br><a href=\"?factory_reset=true\">Werkseinstellungen</a>";
|
||||
String Reboot = "<br><h3>System:</h3><a href=\"?reset=true\">Neustart</a><br><br><a href=\"update\">Software Update Modus</a><br><br><a href=\"?factory_reset=true\">Werkseinstellungen</a><br><br><a href=\"log\">Log</a>";
|
||||
String Body = card_start + Alarm + card_end + card_start + Zeit + card_end + card_start + NTP + card_end + card_start + Reboot + card_end;
|
||||
server.send(200, "text/html", Header + Body + Footer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user