добавил сценарии и класс сенсора

This commit is contained in:
Dmitry Borisenko
2022-01-14 21:48:43 +01:00
parent a18552c4f4
commit e6e3497c40
20 changed files with 857 additions and 33 deletions

View File

@@ -7,6 +7,7 @@
TickerScheduler ts(MYTEST + 1);
WiFiClient espClient;
PubSubClient mqtt(espClient);
StringCommand sCmd;
#ifdef ASYNC_WEB_SERVER
AsyncWebServer server(80);
#endif
@@ -33,6 +34,10 @@ String settingsFlashJson = "{}"; //переменная в которой хр
String paramsFlashJson = "{}"; //переменная в которой хранятся все параметры, находится в оперативной памяти и синхронизированна с flash памятью
String paramsHeapJson = "{}"; //переменная в которой хранятся все параметры, находится в оперативной памяти только
// buf
String orderBuf = "";
String eventBuf = "";
// Mqtt
String mqttServer = "";
int mqttPort = 0;