2023-06-08 00:03:57 +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
|
|
|
|
|
|
|
|
[env]
|
|
|
|
platform = espressif8266
|
|
|
|
board = d1
|
|
|
|
framework = arduino
|
|
|
|
board_build.filesystem = littlefs
|
2023-06-09 17:29:55 +02:00
|
|
|
monitor_port = /dev/ttyUSB0
|
2023-06-08 00:03:57 +02:00
|
|
|
monitor_speed = 74800
|
|
|
|
monitor_filters = time
|
2023-06-11 10:19:04 +02:00
|
|
|
upload_port = /dev/ttyUSB0
|
2023-06-08 00:03:57 +02:00
|
|
|
lib_deps =
|
|
|
|
knolleary/PubSubClient @ 2.8
|
|
|
|
adafruit/Adafruit BusIO @ 1.14.1
|
|
|
|
adafruit/Adafruit HTU21DF Library @ 1.0.5
|
|
|
|
adafruit/Adafruit BMP280 Library @ 2.6.6
|
|
|
|
; wollewald/ADS1115_WE @ 1.4.3
|
|
|
|
; adafruit/Adafruit MCP9808 Library @ 2.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-DMaxErrCount=20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:debug] ; Entwicklungssystem
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=0
|
|
|
|
-DNAME=\"MESSUNITTEMP\"
|
|
|
|
-DSTASSID=\"St.-Peters-Gasse\"
|
|
|
|
-DSTAPSK=\"1952994784599317\"
|
|
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
|
|
-DDNS=\"192.168.127.1\"
|
|
|
|
-DKMYIP=\"192.168.127.52\"
|
|
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
|
|
-Dmqtt_port=61883
|
|
|
|
-DTERROR=5
|
|
|
|
-DTLOWBATT=60
|
|
|
|
-DTINTERVAL=1
|
|
|
|
|
|
|
|
[env:marcel] ; Produktivsystem:
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=0
|
|
|
|
-DEMAIL=\"koerner.c.m@gmail.com\"
|
|
|
|
-DNAME=\"MESSUNITTEMP\"
|
|
|
|
-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
|
|
|
|
|
|
|
|
[env:boris] ; Produktivsystem:
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=0
|
2023-06-09 17:29:55 +02:00
|
|
|
-DEMAIL=\"bori@swallmann-wiesloch.de\"
|
|
|
|
-DNAME=\"MESSUNITTEMPBORIS\"
|
2023-06-18 21:23:41 +02:00
|
|
|
-DSTASSID=\"FRITZ!Box7362SL\"
|
2023-06-14 16:32:37 +02:00
|
|
|
-DSTAPSK=\"BorisundEva2007\"
|
2023-06-08 00:03:57 +02:00
|
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
|
|
-DDNS=\"192.168.2.1\"
|
2023-06-18 21:23:41 +02:00
|
|
|
-DKMYIP=\"192.168.2.42\"
|
2023-06-08 00:03:57 +02:00
|
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
2023-06-09 17:29:55 +02:00
|
|
|
-Dmqtt_port=61883
|
2023-06-08 00:03:57 +02:00
|
|
|
-DTERROR=20
|
|
|
|
-DTLOWBATT=60
|
2023-06-08 00:08:14 +02:00
|
|
|
-DTINTERVAL=5
|