127 lines
3.0 KiB
INI
127 lines
3.0 KiB
INI
; 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
|
|
|
|
[platformio]
|
|
extra_configs = ../secrets.ini
|
|
|
|
[env]
|
|
platform = espressif8266
|
|
board = d1
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
monitor_port = /dev/ttyUSB0
|
|
monitor_speed = 74800
|
|
monitor_filters = time
|
|
upload_port = /dev/ttyUSB0
|
|
lib_deps =
|
|
knolleary/PubSubClient @ 2.8
|
|
adafruit/Adafruit HTU21DF Library @ 1.0.5
|
|
wollewald/ADS1115_WE @ 1.4.3
|
|
adafruit/Adafruit MCP9808 Library @ 2.0.0
|
|
adafruit/Adafruit BusIO @ 1.16.1
|
|
adafruit/Adafruit BME280 Library @ 2.2.4
|
|
adafruit/Adafruit BMP280 Library @ 3.0.0
|
|
adafruit/Adafruit Unified Sensor @ 1.1.14
|
|
bblanchon/ArduinoJson @ 7.4.3
|
|
|
|
build_flags =
|
|
-DTEMPTEST33=1
|
|
-DNOBATT=0
|
|
-DMaxErrCount=40
|
|
|
|
[env:hjk] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
${secrets_hjk.build_flags}
|
|
-DDEBUG=0
|
|
-DBME=1
|
|
-DBMP=0
|
|
-DMCP=1
|
|
-DADS=1
|
|
-DNAME=\"WETTERSTATION-SULZFELD\"
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=5
|
|
-DKorrekturLuftdruck=22.58
|
|
-DKorrekturTemperaturHTU21D=-2.3
|
|
-DMinimalSpannungAkku=2.90
|
|
|
|
|
|
[env:marcel] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
${secrets_marcel.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DBME=0
|
|
-DBMP=1
|
|
-DMCP=0
|
|
-DADS=0
|
|
-DNAME=\"WETTERSTATION-RICHEN\"
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=10
|
|
-DKorrekturLuftdruck=22.58
|
|
-DKorrekturTemperaturHTU21D=-2.3
|
|
-DMinimalSpannungAkku=2.90
|
|
|
|
[env:boris] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
${secrets_mqtt.build_flags}
|
|
${secrets_hjk.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DBME=0
|
|
-DBMP=1
|
|
-DMCP=0
|
|
-DADS=0
|
|
-DNAME=\"WETTERSTATION-WIESLOCH\"
|
|
-DMYIP=\"192.168.127.40\"
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=10
|
|
-DKorrekturLuftdruck=22.58
|
|
-DKorrekturTemperaturHTU21D=-2.3
|
|
-DMinimalSpannungAkku=2.90
|
|
|
|
[env:boris_2] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
${secrets_mqtt.build_flags}
|
|
${secrets_hjk.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DBME=0
|
|
-DBMP=1
|
|
-DMCP=0
|
|
-DADS=0
|
|
-DNAME=\"WETTERSTATION-WIESLOCH-2\"
|
|
-DMYIP=\"192.168.127.43\"
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=5
|
|
-DKorrekturLuftdruck=22.58
|
|
-DKorrekturTemperaturHTU21D=-2.3
|
|
-DMinimalSpannungAkku=-1.0 ; -1.0 KEINE AKKU überwachung !!!!
|
|
|
|
|
|
[env:marcel_test] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
${secrets_marcel_test.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DBME=0
|
|
-DBMP=1
|
|
-DMCP=0
|
|
-DADS=0
|
|
-DNAME=\"WETTERSTATION-RICHEN\"
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=10
|
|
-DKorrekturLuftdruck=22.58
|
|
-DKorrekturTemperaturHTU21D=-2.3
|
|
-DMinimalSpannungAkku=2.90 |