mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
DHT support
This commit is contained in:
12
Init.ino
12
Init.ino
@@ -1,6 +1,6 @@
|
||||
void All_init() {
|
||||
|
||||
server.on("/all_modules_init", HTTP_GET, [](AsyncWebServerRequest * request) {
|
||||
server.on("/all_modules_init", HTTP_GET, [](AsyncWebServerRequest * request) {
|
||||
Device_init();
|
||||
request->send(200, "text/text", "OK"); // отправляем ответ о выполнении
|
||||
});
|
||||
@@ -31,15 +31,17 @@ void All_init() {
|
||||
|
||||
void Device_init() {
|
||||
|
||||
ts.remove(LEVEL);
|
||||
//SENSORS-SECTION
|
||||
ts.remove(ANALOG_);
|
||||
ts.remove(PH);
|
||||
ts.remove(LEVEL);
|
||||
ts.remove(DALLAS);
|
||||
|
||||
ts.remove(DHTT);
|
||||
ts.remove(DHTH);
|
||||
//================
|
||||
|
||||
all_vigets = "";
|
||||
txtExecution("config.all.txt");
|
||||
//outcoming_date();
|
||||
|
||||
}
|
||||
//-------------------------------сценарии-----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user