mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
WebUI heap status (#23356)
This commit is contained in:
parent
060f47678d
commit
736d4d6576
@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Wireguard VPN (#23347)
|
- Wireguard VPN (#23347)
|
||||||
- Optional Wifi strength indicator in WebUI status line (#23352)
|
- Optional Wifi strength indicator in WebUI status line (#23352)
|
||||||
- WebUI status line left and renamed events `FUNC_WEB_STATUS_LEFT` and `FUNC_WEB_STATUS_RIGHT` (#23354)
|
- WebUI status line left and renamed events `FUNC_WEB_STATUS_LEFT` and `FUNC_WEB_STATUS_RIGHT` (#23354)
|
||||||
|
- WebUI heap status
|
||||||
|
|
||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
|
|
||||||
|
@ -509,6 +509,7 @@
|
|||||||
#define USE_ENHANCED_GUI_WIFI_SCAN // Enable Wi-Fi scan output with BSSID (+0k5 code)
|
#define USE_ENHANCED_GUI_WIFI_SCAN // Enable Wi-Fi scan output with BSSID (+0k5 code)
|
||||||
#define USE_WEB_STATUS_LINE // Enable upper status line in web UI (+0k5 code)
|
#define USE_WEB_STATUS_LINE // Enable upper status line in web UI (+0k5 code)
|
||||||
// #define USE_WEB_STATUS_LINE_WIFI // Enable upper left wifi indicator in main page (+0k5 code)
|
// #define USE_WEB_STATUS_LINE_WIFI // Enable upper left wifi indicator in main page (+0k5 code)
|
||||||
|
// #define USE_WEB_STATUS_LINE_HEAP // Enable upper left display of free heap memory (+0k1 code)
|
||||||
// #define USE_ALPINEJS // Enable AlpineJS v2.8.2 (+8k8 code)
|
// #define USE_ALPINEJS // Enable AlpineJS v2.8.2 (+8k8 code)
|
||||||
// #define USE_WEBSEND_RESPONSE // Enable command WebSend response message (+1k code)
|
// #define USE_WEBSEND_RESPONSE // Enable command WebSend response message (+1k code)
|
||||||
// #define USE_WEBGETCONFIG // Enable restoring config from external webserver (+0k6)
|
// #define USE_WEBGETCONFIG // Enable restoring config from external webserver (+0k6)
|
||||||
|
@ -1931,6 +1931,9 @@ bool HandleRootStatusRefresh(void) {
|
|||||||
rssi >= -85 ? "active" : "");
|
rssi >= -85 ? "active" : "");
|
||||||
}
|
}
|
||||||
#endif // USE_WEB_STATUS_LINE_WIFI
|
#endif // USE_WEB_STATUS_LINE_WIFI
|
||||||
|
#ifdef USE_WEB_STATUS_LINE_HEAP
|
||||||
|
WSContentSend_P("<span> %ik</span>", ESP_getFreeHeap() / 1024);
|
||||||
|
#endif // USE_WEB_STATUS_LINE_HEAP
|
||||||
// display here anything that goes on the left side
|
// display here anything that goes on the left side
|
||||||
XsnsXdrvCall(FUNC_WEB_STATUS_LEFT);
|
XsnsXdrvCall(FUNC_WEB_STATUS_LEFT);
|
||||||
WSContentSend_P(PSTR("</div>"));
|
WSContentSend_P(PSTR("</div>"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user