Added a reload interval to the main html page.
This commit is contained in:
parent
cee44bee6b
commit
f52e7afc87
1 changed files with 3 additions and 1 deletions
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue