diff --git a/tools/esp8266/app.cpp b/tools/esp8266/app.cpp index 10a765a6..88cba74d 100644 --- a/tools/esp8266/app.cpp +++ b/tools/esp8266/app.cpp @@ -376,6 +376,8 @@ void app::showIndex(void) { String html = FPSTR(index_html); html.replace(F("{DEVICE}"), mDeviceName); html.replace(F("{VERSION}"), mVersion); + html.replace(F("{TS}"), String(mSendInterval) + " "); + html.replace(F("{JS_TS}"), String(mSendInterval * 1000)); mWeb->send(200, "text/html", html); } diff --git a/tools/esp8266/html/h/index_html.h b/tools/esp8266/html/h/index_html.h index c75e9d64..ac8cca39 100644 --- a/tools/esp8266/html/h/index_html.h +++ b/tools/esp8266/html/h/index_html.h @@ -1,4 +1,4 @@ #ifndef __INDEX_HTML_H__ #define __INDEX_HTML_H__ -const char index_html[] PROGMEM = "
Uptime:
Time:
Statistics:
Uptime:
Time:
Statistics:
Every {TS}seconds the values are updated