From 42a0eb4abd162156351f07e41ea31e13ff8dd675 Mon Sep 17 00:00:00 2001 From: Pavel Slama Date: Wed, 12 May 2021 20:50:39 +0200 Subject: [PATCH] V2 with BPM280 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- code/platformio.ini | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 970c970..8d02d94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,4 +32,4 @@ jobs: - name: Build if: success() run: | - pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade + pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade -e WemosWeatherStation_v2_bmp280 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 883118c..bc2470c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Build if: success() run: | - pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade + pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade -e WemosWeatherStation_v2_bmp280 - name: Create release if: ${{ success() && steps.prepare.outputs.version != null }} diff --git a/code/platformio.ini b/code/platformio.ini index 081c365..d987963 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -87,3 +87,19 @@ lib_deps = pilotak/WeatherMeters pilotak/MCP3X21 + +[env:WemosWeatherStation_v2_bmp280] +platform = espressif8266 +board = d1_mini +framework = arduino +build_flags = + ${common.build_flags} + '-D SENSOR_BMP280' + '-D SENSOR_SHT31' + '-D HAS_METERS' +lib_deps = + ${common.lib_deps} + finitespace/BME280 + https://github.com/pilotak/ClosedCube_SHT31D_Arduino + pilotak/WeatherMeters + pilotak/MCP3X21 \ No newline at end of file