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 = "Index - {DEVICE}

AHOY - {DEVICE}

Visualization

Setup

Uptime:

Time:

Statistics:

This project was started from this discussion. (Mikrocontroller.net)
New updates can be found on Github: https://github.com/grindylow/ahoy

Please report issues using the feature provided by Github.

© 2022

Update Firmware

AHOY :: {VERSION}

Reboot

"; +const char index_html[] PROGMEM = "Index - {DEVICE}

AHOY - {DEVICE}

Visualization

Setup

Uptime:

Time:

Statistics:

Every {TS}seconds the values are updated

This project was started from this discussion. (Mikrocontroller.net)
New updates can be found on Github: https://github.com/grindylow/ahoy

Please report issues using the feature provided by Github.

© 2022

Update Firmware

AHOY :: {VERSION}

Reboot

"; #endif /*__INDEX_HTML_H__*/ diff --git a/tools/esp8266/html/index.html b/tools/esp8266/html/index.html index 541caeb1..a5b1f633 100644 --- a/tools/esp8266/html/index.html +++ b/tools/esp8266/html/index.html @@ -5,9 +5,9 @@