This commit is contained in:
2022-01-12 11:06:40 +03:00

View File

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