mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 14:53:07 +05:00
feat: added native heating control by boiler; refactoring; emergency settings removed from HA
This commit is contained in:
1 parent
d35ea81080
commit
8687e122ca
13 files changed
+663
-713
No files matched your search
@@ -427,7 +427,9 @@ protected:
|
||||
if (changed) {
|
||||
doc.clear();
|
||||
doc.shrinkToFit();
|
||||
|
||||
fsSettings.update();
|
||||
tMqtt->resetPublishedSettingsTime();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -477,6 +479,13 @@ protected:
|
||||
doc.shrinkToFit();
|
||||
|
||||
this->bufferedWebServer->send(changed ? 201 : 200, "application/json", doc);
|
||||
|
||||
if (changed) {
|
||||
doc.clear();
|
||||
doc.shrinkToFit();
|
||||
|
||||
tMqtt->resetPublishedVarsTime();
|
||||
}
|
||||
});
|
||||
|
||||
this->webServer->on("/api/info", HTTP_GET, [this]() {
|
||||
|
||||
Reference in new issue
Block a user