diff --git a/WLAN_Thermometer.ino b/WLAN_Thermometer.ino
index 70a9aa2..71672a0 100644
--- a/WLAN_Thermometer.ino
+++ b/WLAN_Thermometer.ino
@@ -200,72 +200,65 @@ void loop()
client.println("Content-type:text/html");
client.println("Connection: close");
client.println();
- client.println("\n");
- client.println("\n");
- client.println("
\n");
- client.println("Temperatur Kirche Gartenstadt Staaken\n");
+ client.println("");
+ client.println("");
+ client.println("");
+ client.println("Temperatur Kirche Gartenstadt Staaken");
client.print("\n");
- client.println("\n");
- client.println("\n");
- client.println("\n");
- client.println("Temperatur
\n");
+ client.print(HTML_RELOAD_PAGE_SECS, DEC);
+ client.println("\"/>");
+ client.println("");
+ client.println("");
+ client.println("");
+ client.println("");
+ client.println("");
+ client.println("Temperatur
");
client.print("Aktuell: ");
client.print(temp[ACT]);
- client.println(" °C
\n");
- client.print("Minimum: ");
+ client.println(" °C
");
if (millis() > FIRST_MIN_MAX)
{
+ client.print("Minimum: ");
client.print(temp[MIN]);
- client.println(" °C");
- }
- client.print("
\n");
- client.print("Maximum: ");
- if (millis() > FIRST_MIN_MAX)
- {
+ client.print(" °C");
+ client.print("
\n");
+ client.print("Maximum: ");
client.print(temp[MAX]);
- client.println(" °C");
+ client.print(" °C");
+ client.println("
");
}
- client.print("\n");
- client.println("
\n");
- client.println("Gefühlte Temperatur
\n");
+ client.println("
");
+ client.println("Gefühlte Temperatur
");
client.print("Aktuell: ");
client.print(heat[ACT]);
- client.println(" °C
\n");
- client.print("Minimum: ");
+ client.println(" °C
");
if (millis() > FIRST_MIN_MAX)
{
+ client.print("Minimum: ");
client.print(heat[MIN]);
- client.println(" °C");
- }
- client.print("
\n");
- client.print("Maximum: ");
- if (millis() > FIRST_MIN_MAX)
- {
+ client.print(" °C");
+ client.println("
");
+ client.print("Maximum: ");
client.print(heat[MAX]);
- client.println(" °C");
+ client.print(" °C");
+ client.println("
");
}
- client.print("\n");
- client.println("
\n");
- client.println("Luftfeuchtigkeit
\n");
+ client.println("
");
+ client.println("Luftfeuchtigkeit
");
client.print("Aktuell: ");
client.print(hum[ACT]);
- client.println(" %
\n");
- client.print("Minimum: ");
+ client.println(" %
");
if (millis() > FIRST_MIN_MAX)
{
+ client.print("Minimum: ");
client.print(hum[MIN]);
- client.println(" %");
- }
- client.println("
\n");
- client.print("Maximum: ");
- if (millis() > FIRST_MIN_MAX)
- {
+ client.print(" %");
+ client.println("
");
+ client.print("Maximum: ");
client.print(hum[MAX]);
- client.println(" %");
+ client.print(" %");
+ client.println("
");
}
- client.println("\n");
if (DateTime.isTimeValid())
{
@@ -277,20 +270,20 @@ void loop()
else
add_summertime = 0;
- client.println("
\n");
+ client.println("
");
client.print("");
sprintf(dt, "%02d.%02d.%4d %02d:%02d:%02d", p.getMonthDay(), p.getMonth() + 1, p.getYear(), p.getHours() + add_summertime, p.getMinutes(), p.getSeconds());
client.print(dt);
if (add_summertime > 0)
- client.print(" Sommerzeit\n");
+ client.print(" Sommerzeit");
else
- client.print(" Winterzeit\n");
- client.println("\n");
+ client.print(" Winterzeit");
+ client.println("");
}
- client.println("
\n");
- client.println("\n");
+ client.println("");
+ client.println("");
client.println("");
break;
}