добавил таймер

This commit is contained in:
Dmitry Borisenko
2022-01-12 00:26:33 +01:00
parent bf9acf4c63
commit 68c9741226

View File

@@ -87,6 +87,10 @@ float yourSensorReading(String type, String paramsAny) {
value = valCO2;
// Serial.println(valCO2);
}
//==========================================================timer=================================================================
if (type == "timer") {
value = jsonReadFloat(configLiveJson, jsonReadStr(paramsAny, "val"));
}
return value;
}