Added a reload interval to the main html page.

This commit is contained in:
klaute 2018-07-11 12:09:29 +02:00
parent cee44bee6b
commit f52e7afc87

View file

@ -52,7 +52,9 @@ void setSensorData(String device, String localip, float sensorValues[]) {
}
void showHTMLMain(void) {
String message = "<html><head><title>OKO Weatherstation - " + String(dev) + "</title></head><body>"
String message = "<html><head><title>OKO Weatherstation - " + String(dev) + "</title>"
"<meta http-equiv=\"refresh\" content=\"20\">"
"</head><body>"
"<br><a href=\"http://" + ip + ":8080/update\">firmware update</a><br><br>"
"<table>"
"<tr><td>temperature</td><td>" + String(sensValues[SENSOR_TEMPERATURE]) + "</td></tr>"