From ccb55642703cdd9efbb8e9c5b9bba74eff6aa593 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 19 Oct 2020 08:24:53 +0200 Subject: [PATCH] Added configuration parameter for reload web page. --- WLAN_Thermometer.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/WLAN_Thermometer.ino b/WLAN_Thermometer.ino index bb8133c..c072172 100644 --- a/WLAN_Thermometer.ino +++ b/WLAN_Thermometer.ino @@ -31,6 +31,7 @@ #define CFG_PORTAL_TIMEOUT 90 #define DHTTYPE DHT22 #define FIRST_MIN_MAX 300000 // = 5 min +#define HTML_RELOAD_PAGE_SECS 30 LiquidCrystal_I2C lcd(LCD_I2C_ADDR, LCD_COL, LCD_ROW); looper sched; @@ -203,7 +204,9 @@ void loop() client.println("\n"); client.println("\n"); client.println("Temperatur Kirche Gartenstadt Staaken\n"); - client.println("\n"); + client.print("\n"); client.println("\n"); client.println("\n"); client.println("
\n");