Improve WebUI feedback

This commit is contained in:
Djuri 2024-12-29 01:31:33 +01:00
parent 64e518bf58
commit 833d46fa5a
3 changed files with 3 additions and 1 deletions

View file

@ -232,6 +232,7 @@ JsonDocument getStatusObject()
root["currentScreen"] = ScreenHandler::getCurrentScreen();
root["numScreens"] = NUM_SCREENS;
root["timerRunning"] = isTimerActive();
root["isOTAUpdating"] = getIsOTAUpdating();
root["espUptime"] = esp_timer_get_time() / 1000000;
// root["currentPrice"] = getPrice();
// root["currentBlockHeight"] = getBlockHeight();