mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-03-20 09:18:39 +05:00
feat: Added support DHT11/DHT22 sensors
This commit is contained in:
@@ -4,7 +4,7 @@ extra_configs = secrets.default.ini
|
||||
core_dir = .pio
|
||||
|
||||
[env]
|
||||
version = 1.6.0-async
|
||||
version = 1.6.0-async-dht
|
||||
framework = arduino
|
||||
lib_deps = ESP32Async/AsyncTCP@^3.4.10
|
||||
ESP32Async/ESPAsyncWebServer@^3.9.4
|
||||
@@ -19,9 +19,10 @@ lib_deps = ESP32Async/AsyncTCP@^3.4.10
|
||||
pstolarz/OneWireNg@^0.14.1
|
||||
;milesburton/DallasTemperature@^4.0.5
|
||||
https://github.com/Laxilef/Arduino-Temperature-Control-Library#fix_85c
|
||||
https://github.com/Laxilef/esp32DHT#idf5
|
||||
;laxilef/TinyLogger@^1.1.1
|
||||
https://github.com/Laxilef/TinyLogger#custom_handlers
|
||||
lib_ignore = paulstoffregen/OneWire
|
||||
lib_ignore = OneWire
|
||||
build_type = ${secrets.build_type}
|
||||
build_flags = -mtext-section-literals
|
||||
-Wno-deprecated-declarations
|
||||
@@ -33,6 +34,7 @@ build_flags = -mtext-section-literals
|
||||
-D ARDUINOJSON_USE_DOUBLE=0
|
||||
-D ARDUINOJSON_USE_LONG_LONG=0
|
||||
-D TINYLOGGER_GLOBAL
|
||||
-D DHT_TASK_STACK_SIZE=4096
|
||||
-D DEFAULT_SERIAL_ENABLED=${secrets.serial_enabled}
|
||||
-D DEFAULT_SERIAL_BAUD=${secrets.serial_baud}
|
||||
-D DEFAULT_WEBSERIAL_ENABLED=${secrets.webserial_enabled}
|
||||
|
||||
Reference in New Issue
Block a user