2023-05-18 11:38:34 +02: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
|
|
|
|
|
2023-05-18 12:10:48 +02:00
|
|
|
[env]
|
2023-05-18 11:38:34 +02:00
|
|
|
platform = espressif8266
|
2023-05-18 12:10:48 +02:00
|
|
|
board = d1
|
2023-05-18 11:38:34 +02:00
|
|
|
framework = arduino
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
monitor_port = /dev/ttyUSB0
|
2023-05-18 12:10:48 +02:00
|
|
|
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
|
2024-07-03 10:48:23 +02:00
|
|
|
adafruit/Adafruit BusIO @ 1.16.1
|
|
|
|
adafruit/Adafruit BME280 Library @ 2.2.4
|
2024-10-01 21:14:05 +02:00
|
|
|
adafruit/Adafruit BMP280 Library @ 2.6.8
|
2024-07-03 10:48:23 +02:00
|
|
|
adafruit/Adafruit Unified Sensor @ 1.1.14
|
2023-05-18 12:10:48 +02:00
|
|
|
|
2024-10-01 21:14:05 +02:00
|
|
|
|
2023-05-18 12:10:48 +02:00
|
|
|
build_flags =
|
|
|
|
-DTEMPTEST33=1
|
|
|
|
-DNOBATT=0
|
2023-05-18 17:33:47 +02:00
|
|
|
-DMaxErrCount=20
|
2023-05-18 12:10:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:debug] ; Entwicklungssystem
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=0
|
|
|
|
-DNOADS=0
|
2024-10-10 14:39:49 +02:00
|
|
|
-DNAME=\"WETTERSTATIONMARCEL\"
|
2024-07-03 10:48:23 +02:00
|
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
|
|
-DSTAPSK=\"93329248424922704583\"
|
2023-05-18 12:10:48 +02:00
|
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
|
|
-DDNS=\"192.168.127.1\"
|
2024-09-28 16:20:38 +02:00
|
|
|
-DKMYIP=\"192.168.127.45\"
|
2024-10-10 14:39:49 +02:00
|
|
|
-Dmqtt_server=\"192.168.127.193\"
|
|
|
|
-Dmqtt_port=1883
|
2023-05-18 12:10:48 +02:00
|
|
|
-DTERROR=5
|
|
|
|
-DTLOWBATT=60
|
2024-10-01 21:14:05 +02:00
|
|
|
-DTINTERVAL=10
|
2024-10-06 23:34:31 +02:00
|
|
|
-DSpannungsteiler=3.9
|
|
|
|
-DUBKorectur=0.854417949
|
|
|
|
-DMinimalSpannung=3.00
|
2024-10-06 22:17:40 +02:00
|
|
|
-DKorrekturLuftdruck=23.58
|
2024-10-16 13:36:15 +02:00
|
|
|
-DKorrekturTemperaturBME=0.1
|
|
|
|
-DKorrekturTemperaturBMP=0.4
|
|
|
|
-DKorrekturTemperaturMCP=0.0
|
|
|
|
-DKorrekturTemperaturHTU=0.1
|
2023-05-18 12:10:48 +02:00
|
|
|
|
2023-05-31 14:52:51 +02:00
|
|
|
[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\"
|
2024-10-10 14:39:49 +02:00
|
|
|
-Dmqtt_port=61883
|
2023-05-31 14:52:51 +02:00
|
|
|
-DTERROR=20
|
|
|
|
-DTLOWBATT=60
|
|
|
|
-DTINTERVAL=10
|
2024-10-06 23:34:31 +02:00
|
|
|
-DSpannungsteiler=3.9
|
|
|
|
-DUBKorectur=0.854417949
|
|
|
|
-DMinimalSpannung=3.00
|
|
|
|
-DKorrekturLuftdruck=23.58
|
2024-10-16 13:36:15 +02:00
|
|
|
-DKorrekturTemperaturBME=0.0
|
|
|
|
-DKorrekturTemperaturBMP=0.0
|
|
|
|
-DKorrekturTemperaturMCP=0.0
|
|
|
|
-DKorrekturTemperaturHTU=0.0
|
2023-05-31 14:52:51 +02:00
|
|
|
|
|
|
|
[env:boris] ; Produktivsystem:
|
2023-05-18 12:10:48 +02:00
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=0
|
|
|
|
-DEMAIL=\"koerner.c.m@gmail.com\"
|
2023-06-18 21:24:42 +02:00
|
|
|
-DNAME=\"WETTERSTATIONBORIS\"
|
|
|
|
-DSTASSID=\"FRITZ!Box7362SL\"
|
|
|
|
-DSTAPSK=\"BorisundEva2007\"
|
2023-05-18 12:10:48 +02:00
|
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
|
|
-DDNS=\"192.168.2.1\"
|
2023-06-18 21:24:42 +02:00
|
|
|
-DKMYIP=\"192.168.2.41\"
|
2023-05-18 12:10:48 +02:00
|
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
2024-10-10 14:39:49 +02:00
|
|
|
-Dmqtt_port=61883
|
2023-05-18 12:10:48 +02:00
|
|
|
-DTERROR=20
|
|
|
|
-DTLOWBATT=60
|
2023-06-18 21:24:42 +02:00
|
|
|
-DTINTERVAL=5
|
2024-10-06 23:34:31 +02:00
|
|
|
-DSpannungsteiler=3.9
|
|
|
|
-DUBKorectur=0.854417949
|
|
|
|
-DMinimalSpannung=3.00
|
|
|
|
-DKorrekturLuftdruck=23.58
|
2024-10-16 13:36:15 +02:00
|
|
|
-DKorrekturTemperaturBME=0.0
|
|
|
|
-DKorrekturTemperaturBMP=0.0
|
|
|
|
-DKorrekturTemperaturMCP=0.0
|
|
|
|
-DKorrekturTemperaturHTU=0.0
|
|
|
|
|
2024-07-03 10:48:23 +02:00
|
|
|
|
|
|
|
[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
|
2024-10-02 10:29:54 +02:00
|
|
|
-DSpannungsteiler=5.4
|
2024-10-06 23:34:31 +02:00
|
|
|
-DUBKorectur=0.0
|
|
|
|
-DMinimalSpannung=3.70
|
2024-07-03 12:41:49 +02:00
|
|
|
-DKorrekturLuftdruck=23.58
|
2024-10-16 13:36:15 +02:00
|
|
|
-DKorrekturTemperaturBME=0.0
|
|
|
|
-DKorrekturTemperaturBMP=0.0
|
|
|
|
-DKorrekturTemperaturMCP=0.0
|
|
|
|
-DKorrekturTemperaturHTU=0.0
|
|
|
|
|
|
|
|
|
2024-07-03 10:48:23 +02:00
|
|
|
[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
|
2024-10-06 23:34:31 +02:00
|
|
|
-DSpannungsteiler=5.4
|
|
|
|
-DUBKorectur=0.0
|
|
|
|
-DMinimalSpannung=3.70
|
|
|
|
-DKorrekturLuftdruck=23.58
|
2024-10-16 13:36:15 +02:00
|
|
|
-DKorrekturTemperaturBME=0.0
|
|
|
|
-DKorrekturTemperaturBMP=0.0
|
|
|
|
-DKorrekturTemperaturMCP=0.0
|
|
|
|
-DKorrekturTemperaturHTU=0.0
|
|
|
|
|