diff --git a/.github/workflows/build-platformio.yml b/.github/workflows/build-platformio.yml new file mode 100644 index 0000000..f86f44b --- /dev/null +++ b/.github/workflows/build-platformio.yml @@ -0,0 +1,27 @@ +name: Ubuntu build + +on: [push,workflow_dispatch] + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build PlatformIO env:ESP32 + run: pio run diff --git a/src/config.h b/src/config.h index 8826859..f56a658 100755 --- a/src/config.h +++ b/src/config.h @@ -33,12 +33,12 @@ Target temperature: the target temperature will be tried to reach. The target temmperate can be provided via mqtt, via a touch display or both. */ // --- Begin: list of presets. Choose exactly one. --- -//#define fan_controlledByMQTT +#define fan_controlledByMQTT //#define fan_controlledByTouch //#define fan_controlledByMQTTandTouch //#define climate_controlledByBME_targetByMQTT //#define climate_controlledByBME_targetByTouch -#define climate_controlledByBME_targetByMQTTandTouch +//#define climate_controlledByBME_targetByMQTTandTouch //#define climate_controlledByMQTT_targetByMQTT //#define climate_controlledByMQTT_targetByMQTTandTouch // --- End: list of presets --------------------------