72 lines
2.5 KiB
INI
72 lines
2.5 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 = espressif32
|
|
board = nodemcu-32s
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_port = /dev/ttyACM0
|
|
monitor_filters = time
|
|
upload_port = /dev/ttyACM0
|
|
lib_deps =
|
|
knolleary/PubSubClient @ 2.8
|
|
adafruit/Adafruit GFX Library @ 1.11.3
|
|
2dom/PxMatrix LED MATRIX library @ 1.8.2
|
|
adafruit/Adafruit BusIO @ 1.16.1
|
|
|
|
build_flags =
|
|
-DSCAN=32
|
|
|
|
|
|
[env:debug] ; Entwicklungssystem
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=1
|
|
-DGRENZWERT=3.70
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
-DSTAPSK=\"93329248424922704583\"
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
-DDNS=\"192.168.127.1\"
|
|
-DSECONDARDNS=\"8.8.8.8\"
|
|
-DMYIP=\"192.168.127.48\"
|
|
-DSUBNET=\"255.255.255.0\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=61883
|
|
-DINNEN=\"hjk/devices/TEMPWOHNZIM/telemetry/temperature\"
|
|
-DHUNIDITY=\"hjk/devices/TEMPWOHNZIM/telemetry/humidity\"
|
|
;-DFLUR=\"hjk/devices/TEMPFLUR/telemetry/temperature\"
|
|
-DCO2=\"hjk/devices/257923/telemetry/co2\"
|
|
-DAKKU=\"hjk/devices/WETTERSTATION/telemetry/battery\"
|
|
-DWETTER=\"hjk/devices/WETTERSTATION/telemetry/temperature_Htu_21\"
|
|
-DLUFTDRUCK=\"hjk/devices/WETTERSTATION/telemetry/pressure\"
|
|
-DFEUCHTIGKEIT=\"hjk/devices/WETTERSTATION/telemetry/humity\"
|
|
-DHELLIGKEIT=\"hjk/devices/WETTERSTATION/telemetry/Lux\"
|
|
|
|
[env:boris]
|
|
build_flags = ${env.build_flags}
|
|
-DDEBUG=1
|
|
-DGRENZWERT=2.80
|
|
-DSTASSID=\"FRITZ!Box7362SL\"
|
|
-DSTAPSK=\"BorisundEva2007\"
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
-DDNS=\"192.168.2.1\"
|
|
-DMYIP=\"192.168.2.40\"
|
|
-DSUBNET=\"255.255.255.0\"
|
|
-DSECONDARDNS=\"8.8.8.8\"
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
-Dmqtt_port=61883
|
|
-DINNEN=\"hjk/devices/MESSUNITTEMPBORIS/telemetry/temperature_Htu_21\"
|
|
-DAKKU=\"hjk/devices/WETTERSTATIONBORIS/telemetry/battery\"
|
|
-DWETTER=\"hjk/devices/WETTERSTATIONBORIS/telemetry/temperature_Htu_21\"
|
|
-DLUFTDRUCK=\"hjk/devices/WETTERSTATIONBORIS/telemetry/pressure\"
|
|
-DFEUCHTIGKEIT=\"hjk/devices/WETTERSTATIONBORIS/telemetry/humity\"
|
|
-DHELLIGKEIT=\"hjk/devices/WETTERSTATIONBORIS/telemetry/Lux\"
|
|
-DHUNIDITY=\"hjk/devices/TEMPWOHNZIM/telemetry/humidity\"
|