123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- ;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:esp8266env]
- platform = espressif8266
- board = esp01_1m
- framework = arduino
- build_flags =
- -DSENSOR_HOSTNAME_PREFIX=\"env-\"
- -DENABLE_CCS811
- -DENABLE_INFLUXDB_LOGGING
- -DENABLE_MQTT
- lib_deps =
- Wire
- ESP8266 Influxdb
- Adafruit Unified Sensor
- Adafruit BME280 Library
- https://github.com/adafruit/Adafruit_CCS811
- https://github.com/knolleary/pubsubclient.git#2d228f2f862a95846c65a8518c79f48dfc8f188c
-
- [env:esp8266relais]
- platform = espressif8266
- board = esp01_1m
- framework = arduino
- build_flags =
- -DSENSOR_HOSTNAME_PREFIX=\"relais-\"
- -DRELAIS_SERIAL
- -DENABLE_INFLUXDB_LOGGING
- -DENABLE_MQTT
- lib_deps =
- Wire
- ESP8266 Influxdb
- Adafruit Unified Sensor
- Adafruit BME280 Library
- https://github.com/knolleary/pubsubclient.git#2d228f2f862a95846c65a8518c79f48dfc8f188c
-
- [env:esp32env]
- platform = platformio/espressif32@3.5.0
- board = esp32dev
- framework = arduino
- upload_protocol = esptool
- upload_port = /dev/ttyUSB1
- monitor_port = /dev/ttyUSB1
- monitor_speed = 115200
- build_flags =
- -DSENSOR_HOSTNAME_PREFIX=\"env-\"
- -DENABLE_CCS811
- -DENABLE_INFLUXDB_LOGGING
- -DENABLE_MQTT
- lib_deps =
- Wire
- Adafruit Unified Sensor
- Adafruit BME280 Library
- https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino.git#66ed5d031caab6953cc79b407a4b49d33b1126dc
- https://github.com/adafruit/Adafruit_CCS811
- https://github.com/knolleary/pubsubclient.git#2d228f2f862a95846c65a8518c79f48dfc8f188c
-
- [env:esp32moisture]
- platform = platformio/espressif32@3.5.0
- board = esp32dev
- framework = arduino
- upload_protocol = esptool
- upload_port = /dev/ttyUSB1
- monitor_port = /dev/ttyUSB1
- monitor_speed = 115200
- build_flags =
- -DSENSOR_HOSTNAME_PREFIX=\"env-\"
- -DMOISTURE_ADC_ESP32
- -DENABLE_CCS811
- -DENABLE_INFLUXDB_LOGGING
- -DENABLE_MQTT
- lib_deps =
- Wire
- Adafruit Unified Sensor
- Adafruit BME280 Library
- https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino.git#66ed5d031caab6953cc79b407a4b49d33b1126dc
- https://github.com/adafruit/Adafruit_CCS811
- https://github.com/knolleary/pubsubclient.git#2d228f2f862a95846c65a8518c79f48dfc8f188c
-
- [env:arduinomoisture]
- platform = atmelavr
- board = uno
- framework = arduino
- upload_port = /dev/ttyACM0
- monitor_port = /dev/ttyACM0
- monitor_speed = 115200
- build_flags =
- -DSENSOR_HOSTNAME_PREFIX=\"env-\"
- -DMOISTURE_ADC_ARDUINO
- -DENABLE_INFLUXDB_LOGGING
- lib_deps =
- Wire
- Adafruit Unified Sensor
- Adafruit BME280 Library
- https://github.com/jandrassy/UnoWiFiDevEdSerial1
- https://github.com/jandrassy/arduino-library-wifilink
|