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

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 @@
#include <ArduinoJson.h>
#include <TickerScheduler.h>
#include <PubSubClient.h>
#include <StringCommand.h>
#ifdef ESP32
#include "WiFi.h"
@@ -46,6 +47,7 @@
#include "Utils/FileUtils.h"
#include "Utils/JsonUtils.h"
#include "Utils/SerialPrint.h"
#include "Utils/StringUtils.h"
/*********************************************************************************************************************
*****************************************глобальные объекты классов***************************************************
@@ -54,6 +56,7 @@
extern TickerScheduler ts;
extern WiFiClient espClient;
extern PubSubClient mqtt;
extern StringCommand sCmd;
#ifdef ASYNC_WEB_SERVER
extern AsyncWebServer server;
#endif
@@ -79,6 +82,10 @@ extern String settingsFlashJson;
extern String paramsFlashJson;
extern String paramsHeapJson;
// buf
extern String orderBuf;
extern String eventBuf;
// Mqtt
extern String mqttServer;
extern int mqttPort;