fix night communication enable

improved different WiFi connection scenarios (STA WiFi not found, reconnect #509, redirect for AP to configuration)
This commit is contained in:
lumapu 2022-12-22 11:49:01 +01:00
parent 07bf947ff7
commit de4c572ee2
10 changed files with 171 additions and 164 deletions

View file

@ -199,6 +199,11 @@ class RestApi {
#endif
//obj[F("littlefs_total")] = LittleFS.totalBytes();
//obj[F("littlefs_used")] = LittleFS.usedBytes();
uint16_t evry, at;
mApp->getSchedulerInfo(&evry, &at);
obj[F("schEvryMax")] = evry;
obj[F("schAtMax")] = at;
}
void getHtmlSystem(JsonObject obj) {