Files
Mess_Sensor/platformio.ini
2025-12-13 16:43:11 +01:00

69 lines
1.7 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 = 115200
monitor_filters = time
;upload_port = /dev/ttyUSB0
upload_speed = 115200
lib_deps =
knolleary/PubSubClient @ 2.8
adafruit/Adafruit HTU21DF Library @ 1.0.5
build_flags =
-DTEMPTEST33=1
-DNOBATT=0
-DMaxErrCount=40
[env:debug] ; Entwicklungssystem
build_flags = ${env.build_flags}
-DDEBUG=0
-DNOADS=0
-DNAME=\"MESSSENSOR\"
-DSTASSID=\"MagentaWLAN-RGDO\"
-DSTAPSK=\"93329248424922704583\"
-Dmqtt_server=\"192.168.127.193\"
-Dmqtt_port=1883
-Dmqtt_user=\"hjk\"
-Dmqtt_password=\"51Fische#\"
-DTERROR=5
-DTLOWBATT=60
-DTINTERVAL=1
-DKorrekturLuftdruck=22.58
-DKorrekturTemperaturHTU21D=-2.3
-DMinimalSpannungAkku=2.90
[env:boris] ; Produktivsystem:
build_flags = ${env.build_flags}
-DDEBUG=0
-DNAME=\"MESSSENSOR\"
-DSTASSID=\"FRITZ!Box7362SL\"
-DSTAPSK=\"BorisundEva2007\"
-Dmqtt_server=\"192.168.2.55\"
-Dmqtt_port=1883
-Dmqtt_user=\"boris\"
-Dmqtt_password=\"13.April13\"
-DTERROR=20
-DTLOWBATT=60
-DTINTERVAL=5
-DKorrekturLuftdruck=0.0
-DKorrekturTemperaturHTU21D=-0.0
-DMinimalSpannungAkku=2.90