mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Cleaning and optimization
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
String setEventSign = selectFromMarkerToMarker(condition, " ", 1);
|
||||
String setEventValue = selectFromMarkerToMarker(condition, " ", 2);
|
||||
if (!isDigitStr(setEventValue)) setEventValue = jsonReadStr(configLiveJson, setEventValue);
|
||||
if (!isDigitStr(setEventValue)) setEventValue = getValue(setEventValue); //jsonReadStr(configLiveJson , setEventValue);
|
||||
|
||||
boolean flag = false;
|
||||
|
||||
|
||||
@@ -72,15 +72,12 @@ enum TimerTask_t { WIFI_SCAN,
|
||||
WIFI_MQTT_CONNECTION_CHECK,
|
||||
SENSORS10SEC,
|
||||
SENSORS30SEC,
|
||||
TIMER_COUNTDOWN,
|
||||
TIME,
|
||||
TIME_SYNC,
|
||||
STATISTICS,
|
||||
STATISTICS_WORK,
|
||||
UPTIME,
|
||||
UDP,
|
||||
UDP_DB,
|
||||
TEST };
|
||||
SYGNAL};
|
||||
|
||||
enum NotAsyncActions {
|
||||
do_ZERO,
|
||||
|
||||
@@ -54,6 +54,7 @@ extern String configSetupJson; //все настройки
|
||||
extern String configLiveJson; //все данные с датчиков (связан с mqtt)
|
||||
extern String configStoreJson; //все данные которые должны сохраняться
|
||||
extern String configOptionJson; //для трансфера
|
||||
extern String getValue(String& key);
|
||||
|
||||
// Mqtt
|
||||
extern String chipId;
|
||||
|
||||
Reference in New Issue
Block a user