Skip to content

Commit

Permalink
changed default preset
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausMu committed Mar 13, 2024
1 parent 8e379da commit 3deb81e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-platformio.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 --------------------------
Expand Down

0 comments on commit 3deb81e

Please sign in to comment.