cache control for tagtypes; uptime display in statusbar

This commit is contained in:
Nic Limper
2024-01-10 00:53:13 +01:00
parent 59d08ea21e
commit 3b294be08a
3 changed files with 44 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ void wsSendSysteminfo() {
sys["rssi"] = WiFi.RSSI();
sys["wifistatus"] = WiFi.status();
sys["wifissid"] = WiFi.SSID();
sys["uptime"] = esp_timer_get_time() / 1000000;
static uint8_t day = 0;
struct tm timeinfo;