mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
добавил таймер
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user