121 lines
3.0 KiB
INI
121 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
|
|
|
|
[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 Unified Sensor @ 1.1.14
|
|
|
|
build_flags =
|
|
-DTEMPTEST33=1
|
|
-DNOBATT=0
|
|
-DMaxErrCount=20
|
|
|
|
|
|
|
|
[env:debug] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DNAME=\"WETTERSTATION\"
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
-DSTAPSK=\"93329248424922704583\"
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
-DDNS=\"192.168.127.1\"
|
|
-DKMYIP=\"192.168.127.40\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=61883
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=1
|
|
-DKorrekturLuftdruck=22.58
|
|
|
|
[env:marcel] ; Produktivsystem:
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=0
|
|
-DEMAIL=\"koerner.c.m@gmail.com\"
|
|
-DNAME=\"WETTERSTATIONMARCEL\"
|
|
-DSTASSID=\"EasyBox-838169\"
|
|
-DSTAPSK=\"RcZmua6Xv4R4V5Kf\"
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
-DDNS=\"192.168.2.1\"
|
|
-DKMYIP=\"192.168.2.81\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=8883
|
|
-DTERROR=20
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=10
|
|
-DKorrekturLuftdruck=0.0
|
|
|
|
[env:boris] ; Produktivsystem:
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=0
|
|
-DEMAIL=\"koerner.c.m@gmail.com\"
|
|
-DNAME=\"WETTERSTATIONBORIS\"
|
|
-DSTASSID=\"FRITZ!Box7362SL\"
|
|
-DSTAPSK=\"BorisundEva2007\"
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
-DDNS=\"192.168.2.1\"
|
|
-DKMYIP=\"192.168.2.41\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=8883
|
|
-DTERROR=20
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=5
|
|
-DKorrekturLuftdruck=0.0
|
|
|
|
[env:hjk]
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DNAME=\"WETTERSTATION\"
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
-DSTAPSK=\"93329248424922704583\"
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
-DDNS=\"192.168.127.1\"
|
|
-DKMYIP=\"192.168.127.41\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=61883
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=10
|
|
-DKorrekturLuftdruck=23.6
|
|
|
|
[env:filamentbox]
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=0
|
|
-DNOADS=0
|
|
-DNAME=\"filamenbox\"
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
-DSTAPSK=\"93329248424922704583\"
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
-DDNS=\"192.168.127.1\"
|
|
-DKMYIP=\"192.168.127.42\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=61883
|
|
-DTERROR=5
|
|
-DTLOWBATT=60
|
|
-DTINTERVAL=15
|
|
-DKorrekturLuftdruck=0.0
|
|
|