Added screen timer toggle to WebUI
This commit is contained in:
parent
803f45229e
commit
18faece660
4 changed files with 27 additions and 8 deletions
|
@ -73,6 +73,8 @@ void onApiStatus(AsyncWebServerRequest *request)
|
|||
|
||||
DynamicJsonDocument root(1024);
|
||||
root["currentScreen"] = String(getCurrentScreen());
|
||||
root["timerRunning"] = timerRunning;
|
||||
|
||||
JsonArray data = root.createNestedArray("data");
|
||||
JsonArray rendered = root.createNestedArray("rendered");
|
||||
String epdContent[7];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue