2020-08-15 17:45:02 +00:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
2020-10-09 15:14:43 +00:00
|
|
|
#Wohnzimmer
|
|
|
|
[env:sensoresp3]
|
2020-08-15 17:45:02 +00:00
|
|
|
platform = espressif8266
|
2020-08-16 09:09:12 +00:00
|
|
|
board = d1_mini
|
2020-08-15 17:45:02 +00:00
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
monitor_port = /dev/ttyUSB0
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
2020-10-09 15:14:43 +00:00
|
|
|
data_dir=data_sensoresp3
|
|
|
|
upload_port=/dev/ttyUSB0
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-D SENSOR_DHT22
|
|
|
|
-D DHTPIN=D7
|
|
|
|
-D dataDHT22_temperature_minchange=0.1
|
|
|
|
-D dataDHT22_humidity_minchange=1.0
|
|
|
|
|
|
|
|
-D SENSOR_PIR
|
|
|
|
-D PIRPIN=D6
|
|
|
|
-D dataPIR_readdelay=100
|
|
|
|
-D dataPIR_senddelaymax=1000*60*10
|
|
|
|
|
|
|
|
-D SENSOR_BH1750
|
|
|
|
-D dataBH1750_minchange=10.0
|
|
|
|
-D dataBH1750_senddelaymax=1000*60*2
|
2020-08-15 17:45:02 +00:00
|
|
|
|
|
|
|
lib_deps =
|
2020-09-26 17:48:49 +00:00
|
|
|
adafruit/DHT sensor library@1.3.10
|
2020-08-16 09:09:12 +00:00
|
|
|
BH1750@1.1.4
|
2020-08-15 17:45:02 +00:00
|
|
|
Homie@3.0.0
|