mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
add web socket and stepper control
This commit is contained in:
7
set.h
7
set.h
@@ -4,7 +4,7 @@ String new_version;
|
||||
|
||||
//#define OTA_enable
|
||||
//#define MDNS_enable
|
||||
//#define WS_enable
|
||||
#define WS_enable
|
||||
|
||||
#define TIME_COMPILING String(__TIME__)
|
||||
#define DATE_COMPILING String(__DATE__)
|
||||
@@ -58,6 +58,7 @@ ESP8266HTTPUpdateServer httpUpdater;
|
||||
#endif
|
||||
|
||||
//==общие библиотеки и объекты==//
|
||||
#include <Arduino.h>
|
||||
#include "time.h"
|
||||
#ifdef OTA_enable
|
||||
#include <ArduinoOTA.h>
|
||||
@@ -105,12 +106,16 @@ DHTesp dht;
|
||||
Adafruit_Si7021 sensor_Si7021 = Adafruit_Si7021();
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
const char* hostName = "IoT Manager";
|
||||
|
||||
String configSetup = "{}";
|
||||
String configJson = "{}";
|
||||
String optionJson = "{}";
|
||||
|
||||
String json = "{}";
|
||||
|
||||
String chipID = "";
|
||||
String prefix = "/IoTmanager";
|
||||
String prex;
|
||||
|
||||
Reference in New Issue
Block a user