2023-06-04 13:50:28 +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 = espressif32
|
|
|
|
board = nodemcu-32s
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
2024-09-25 13:09:30 +02:00
|
|
|
monitor_port = /dev/ttyACM0
|
2023-06-04 13:50:28 +02:00
|
|
|
monitor_filters = time
|
2024-09-25 13:09:30 +02:00
|
|
|
upload_port = /dev/ttyACM0
|
2023-06-04 13:50:28 +02:00
|
|
|
lib_deps =
|
|
|
|
knolleary/PubSubClient @ 2.8
|
|
|
|
adafruit/Adafruit GFX Library @ 1.11.3
|
|
|
|
2dom/PxMatrix LED MATRIX library @ 1.8.2
|
2024-09-25 13:09:30 +02:00
|
|
|
adafruit/Adafruit BusIO @ 1.16.1
|
2023-06-04 13:50:28 +02:00
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-DSCAN=32
|
2023-06-14 16:24:32 +02:00
|
|
|
|
2023-06-04 13:50:28 +02:00
|
|
|
|
|
|
|
[env:debug] ; Entwicklungssystem
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-DDEBUG=1
|
2023-10-22 01:23:30 +02:00
|
|
|
-DGRENZWERT=3.70
|
2024-01-24 16:35:38 +01:00
|
|
|
-DSTASSID=\"MagentaWLAN-RGDO\"
|
|
|
|
-DSTAPSK=\"93329248424922704583\"
|
2023-06-04 15:10:53 +02:00
|
|
|
-DGATEWAY=\"192.168.127.1\"
|
|
|
|
-DDNS=\"192.168.127.1\"
|
|
|
|
-DSECONDARDNS=\"8.8.8.8\"
|
|
|
|
-DMYIP=\"192.168.127.48\"
|
2023-06-14 16:24:32 +02:00
|
|
|
-DSUBNET=\"255.255.255.0\"
|
2023-06-04 15:10:53 +02:00
|
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
|
|
|
-Dmqtt_port=61883
|
2023-10-22 01:23:30 +02:00
|
|
|
-DINNEN=\"hjk/devices/TEMPWOHNZIM/telemetry/temperature\"
|
2024-09-25 13:09:30 +02:00
|
|
|
-DHUNIDITY=\"hjk/devices/TEMPWOHNZIM/telemetry/humidity\"
|
2024-10-01 14:13:12 +02:00
|
|
|
;-DFLUR=\"hjk/devices/TEMPFLUR/telemetry/temperature\"
|
2023-10-22 01:23:30 +02:00
|
|
|
-DCO2=\"hjk/devices/257923/telemetry/co2\"
|
2023-06-04 13:50:28 +02:00
|
|
|
-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
|
2023-06-18 21:22:17 +02:00
|
|
|
-DSTASSID=\"FRITZ!Box7362SL\"
|
|
|
|
-DSTAPSK=\"BorisundEva2007\"
|
2023-06-14 16:24:32 +02:00
|
|
|
-DGATEWAY=\"192.168.2.1\"
|
|
|
|
-DDNS=\"192.168.2.1\"
|
2023-06-18 21:22:17 +02:00
|
|
|
-DMYIP=\"192.168.2.40\"
|
2023-06-14 16:24:32 +02:00
|
|
|
-DSUBNET=\"255.255.255.0\"
|
2023-06-04 15:10:53 +02:00
|
|
|
-DSECONDARDNS=\"8.8.8.8\"
|
|
|
|
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
|
2023-06-14 16:24:32 +02:00
|
|
|
-Dmqtt_port=61883
|
|
|
|
-DINNEN=\"hjk/devices/MESSUNITTEMPBORIS/telemetry/temperature_Htu_21\"
|
2023-06-04 13:50:28 +02:00
|
|
|
-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\"
|
2024-10-01 14:13:12 +02:00
|
|
|
-DHUNIDITY=\"hjk/devices/TEMPWOHNZIM/telemetry/humidity\"
|