added interval for OT task

This commit is contained in:
Yurii
2023-11-27 14:38:19 +03:00
parent 02d2f0f524
commit 2c26b1cb92

View File

@@ -62,7 +62,7 @@ void setup() {
if (strcmp(SETTINGS_VALID_VALUE, settings.validationValue) != 0) {
Log.swarningln("MAIN", F("Settings not valid, reset and restart..."));
eeSettings.reset();
delay(1000);
delay(5000);
ESP.restart();
}
@@ -81,7 +81,7 @@ void setup() {
tMqtt = new MqttTask(false);
Scheduler.start(tMqtt);
tOt = new OpenThermTask(false);
tOt = new OpenThermTask(false, 1000);
Scheduler.start(tOt);
tSensors = new SensorsTask(true, EXT_SENSORS_INTERVAL);