Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
a64b648
init
cjkas Mar 10, 2026
96d66c1
add gzip support
cjkas Mar 12, 2026
a54651a
update version
cjkas Mar 12, 2026
9113e58
ignore
cjkas Mar 13, 2026
2509030
backup with RAM
cjkas Mar 13, 2026
88fdfa5
improve logging
cjkas Mar 17, 2026
c94819e
fix crash
cjkas Mar 18, 2026
9ccc2d4
async server introduction
cjkas Mar 21, 2026
8c51e1a
up
cjkas Mar 23, 2026
ed8137e
replace sync sockets
cjkas Mar 23, 2026
73f39d6
refactor
cjkas Mar 23, 2026
a55dc7f
update to async web server
cjkas Mar 24, 2026
9584f01
Fix bug with my position
cjkas Mar 24, 2026
8262f39
remove sync server
cjkas Mar 24, 2026
d0d903d
more human friendly uptime
cjkas Mar 24, 2026
07e2e45
update CI build scripts
cjkas Mar 24, 2026
f38dcea
add archive for last 10 builds
cjkas Mar 24, 2026
6a28589
Merge pull request #1 from cjkas/scz/opti
cjkas Mar 24, 2026
a220b9e
replace Serial.print with logger
cjkas Mar 24, 2026
26866c0
Merge remote-tracking branch 'origin/main' into scz/123
cjkas Mar 24, 2026
84e713d
fix release build
cjkas Mar 24, 2026
d531d6c
Merge pull request #2 from cjkas/scz/123
cjkas Mar 24, 2026
2e379e6
Cleanup build warnings
cjkas Mar 24, 2026
6679d59
Merge pull request #3 from cjkas/scz/123
cjkas Mar 25, 2026
d5b8ace
fix race condition with multiple simultaneus requests
cjkas Mar 25, 2026
9c17aa4
added c3,s3 builds
cjkas Mar 27, 2026
4fd95a0
Improve release build suport for multiple esp32 chips
cjkas Mar 27, 2026
c3c4e9b
Restore original values.
cjkas Mar 27, 2026
bc4972c
Remove stale old binaries. Github release artifacts are now the place…
cjkas Mar 27, 2026
4a2afd5
Merge pull request #4 from cjkas/scz/123
cjkas Mar 27, 2026
508f717
Merge pull request #5 from cjkas/scz/123
cjkas Mar 27, 2026
233d6ab
Fix esp32c3 build
cjkas Mar 27, 2026
89eb1b6
Update version from release tag
cjkas Mar 28, 2026
edde413
Merge pull request #6 from cjkas/scz/123
cjkas Mar 28, 2026
76bb062
ci builds now all variants
cjkas Mar 28, 2026
645b991
Merge pull request #7 from cjkas/scz/123
cjkas Mar 28, 2026
4a1df4d
Fix the backward compatibility for the UI upgrade
cjkas Mar 29, 2026
ab91e7a
Update README.md
cjkas Mar 29, 2026
1e17daa
Merge pull request #10 from cjkas/cjkas-patch-1
cjkas Mar 29, 2026
909898c
Merge pull request #9 from cjkas/scz/release-backward-comp-fix
cjkas Mar 29, 2026
aa81b95
Added OTA partition 1.5MB per app. Fixed s3 wrong partition for spiffs
cjkas Mar 29, 2026
35ac0c1
Merge pull request #11 from cjkas/scz/release-backward-comp-fix
cjkas Mar 29, 2026
72bfd26
Added c6 support
cjkas Mar 29, 2026
10d7a87
Merge pull request #12 from cjkas/scz/c6-support
cjkas Mar 29, 2026
1dafb7a
minor edits to see the GPIO pins on ESP32-C6-WROOM-1
shailensobhee Mar 30, 2026
0dbb1da
Tsury noise detection
cjkas Mar 30, 2026
a784c84
Bring back the core dump partition
cjkas Mar 30, 2026
1034a5b
Bring back the core dump partition
cjkas Mar 30, 2026
47404ca
Merge pull request #14 from cjkas/scz/c6-support
cjkas Mar 30, 2026
ff031ee
Merge branch 'cjkas:main' into main
shailensobhee Mar 30, 2026
ff1bb80
huge app due to partition size issues
shailensobhee Mar 30, 2026
f67da09
add somfycontoller.ino.cpp back
shailensobhee Mar 30, 2026
bb61a17
fixed esp32-c6 platform detection issue
shailensobhee Mar 30, 2026
fe4aa83
updated code logic to pic FW/App version from appversion instead of h…
shailensobhee Mar 30, 2026
5a167e3
Fix bkp bug
cjkas Apr 3, 2026
73685d8
Merge pull request #17 from cjkas/cjkas/fix-bkp
cjkas Apr 4, 2026
72e2751
Update README.md
cjkas Apr 4, 2026
9bcf2eb
fix release build caused by tool rename
cjkas Apr 4, 2026
5163d31
Merge pull request #18 from cjkas/cjkas/fix-bkp
cjkas Apr 4, 2026
15d5b06
improve release build
cjkas Apr 4, 2026
d15b05c
Preserve littlefs image before firmware build wipes it out
cjkas Apr 4, 2026
b785dc2
build only on open PRs
cjkas Apr 4, 2026
4063631
Merge pull request #19 from cjkas/cjkas/fix-bkp
cjkas Apr 4, 2026
e513f94
chore: bump version to v3.0.10
github-actions[bot] Apr 4, 2026
f0d6907
Update README.md
cjkas Apr 4, 2026
3a3ce2a
Update platform to espressif32 @ 6.13.0. SSID scan interval increased…
cjkas Apr 4, 2026
bf0c3d3
Merge pull request #20 from cjkas/cjkas/fix-bkp
cjkas Apr 4, 2026
6759713
Fix wifi crash on freq scan
cjkas Apr 4, 2026
3152002
Merge branch 'main' into cjkas/wifi-crash-fix
cjkas Apr 4, 2026
3271327
merge conflicts from 05.04
shailensobhee Apr 5, 2026
08bab05
merge conflicts from 05.04
shailensobhee Apr 5, 2026
51109a1
updated gitignore file
shailensobhee Apr 5, 2026
3d64250
updated platformio.ini to pass build tests
shailensobhee Apr 5, 2026
3e60dfe
updated platformio.ini to pass build tests
shailensobhee Apr 5, 2026
7524ce1
updated platformio.ini + add -D CHIP_ESP32C6
shailensobhee Apr 5, 2026
25f6195
build pass for esp32c6, added dependencies.lock
shailensobhee Apr 5, 2026
81a5aed
Merge pull request #21 from cjkas/cjkas/wifi-crash-fix
cjkas Apr 6, 2026
2ca1b8b
chore: bump version to v3.0.11
github-actions[bot] Apr 6, 2026
bb3ec52
Merge branch 'main' into main
cjkas Apr 6, 2026
4843751
Delete .github/workflows/ci.yaml
cjkas Apr 6, 2026
7e6b65b
Update ConfigSettings.h
cjkas Apr 6, 2026
174f9a2
cleaned code, as per inputs from cjkas
shailensobhee Apr 11, 2026
41270ff
tidier .gitignore
shailensobhee Apr 11, 2026
b2e402e
Fixed task_wdt: esp_task_wdt_reset(707): task not found
shailensobhee Apr 11, 2026
3b6e1d1
chore: bump version to v3.0.11
github-actions[bot] Apr 11, 2026
e824174
Merge pull request #13 from shailensobhee/main
cjkas Apr 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 166 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
name: ESPSomfy-RTS Build

on:
push:
branches: [main]
pull_request:
release:
types: [published]

jobs:
build:
permissions: write-all
name: ${{ matrix.name }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# fwname: firmware-only binary for OTA updates
# obname: onboard image (bootloader + partitions + firmware + littlefs merged)
# for flashing a new chip via USB/serial
# addr_bootloader: chip-dependent (ESP32: 0x1000, C3/S3/C6: 0x0)
# addr_fs: must match spiffs/littlefs offset in esp32_3MB.csv
include:
- env: esp32dev
name: ESP32
chip: ESP32
addr_bootloader: "0x1000"
addr_fs: "0x310000"
fwname: SomfyController.ino.esp32.bin
fsname: SomfyController.littlefs.esp32.bin
obname: SomfyController.onboard.esp32.bin
- env: esp32c3
name: ESP32-C3
chip: ESP32-C3
addr_bootloader: "0x0"
addr_fs: "0x310000"
fwname: SomfyController.ino.esp32c3.bin
fsname: SomfyController.littlefs.esp32c3.bin
obname: SomfyController.onboard.esp32c3.bin
- env: esp32s3
name: ESP32-S3
chip: ESP32-S3
addr_bootloader: "0x0"
addr_fs: "0x670000"
fwname: SomfyController.ino.esp32s3.bin
fsname: SomfyController.littlefs.esp32s3.bin
obname: SomfyController.onboard.esp32s3.bin
- env: esp32c6
name: ESP32-C6
chip: ESP32-C6
addr_bootloader: "0x0"
addr_fs: "0x310000"
fwname: SomfyController.ino.esp32c6.bin
fsname: SomfyController.littlefs.esp32c6.bin
obname: SomfyController.onboard.esp32c6.bin

steps:
- name: Get Release
if: github.event_name == 'release'
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Check out code
uses: actions/checkout@v4

- name: Update version from release tag
if: github.event_name == 'release'
run: |
VERSION="${{ github.event.release.tag_name }}"
VERSION="${VERSION#v}"
sed -i "s/#define FW_VERSION \"v[0-9.]*\"/#define FW_VERSION \"v${VERSION}\"/" src/ConfigSettings.h
sed -i "s/^[0-9.].*/${VERSION}/" data-src/appversion
sed -i "s/\?v=[0-9.]*c/?v=${VERSION}c/g" data-src/index.html
sed -i "s/appVersion = 'v[0-9.]*'/appVersion = 'v${VERSION}'/" data-src/index.js

- name: Commit version update
if: github.event_name == 'release' && matrix.env == 'esp32dev'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add src/ConfigSettings.h data-src/appversion data-src/index.html data-src/index.js
git commit -m "chore: bump version to ${{ github.event.release.tag_name }}"
git push origin HEAD:${{ github.event.release.target_commitish }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install PlatformIO and esptool
run: pip install platformio esptool

- name: Build LittleFS image
run: pio run -e ${{ matrix.env }} -t buildfs

- name: Save LittleFS image
run: cp .pio/build/${{ matrix.env }}/littlefs.bin littlefs.bin

- name: Build firmware
run: pio run -e ${{ matrix.env }}

- name: Restore LittleFS image
run: cp littlefs.bin .pio/build/${{ matrix.env }}/littlefs.bin

- name: List build artifacts
run: find .pio/build/${{ matrix.env }} -maxdepth 1 -name "*.bin" | sort

- name: Create onboard image
run: |
python -m esptool --chip ${{ matrix.chip }} \
merge-bin -o ${{ matrix.obname }} \
${{ matrix.addr_bootloader }} .pio/build/${{ matrix.env }}/bootloader.bin \
0x8000 .pio/build/${{ matrix.env }}/partitions.bin \
0x10000 .pio/build/${{ matrix.env }}/firmware.bin \
${{ matrix.addr_fs }} .pio/build/${{ matrix.env }}/littlefs.bin

- name: Compress onboard image
run: zip ${{ matrix.obname }}.zip ${{ matrix.obname }}

- name: Upload artifacts
if: github.event_name != 'release'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: |
.pio/build/${{ matrix.env }}/firmware.bin
.pio/build/${{ matrix.env }}/firmware.elf
.pio/build/${{ matrix.env }}/partitions.bin
.pio/build/${{ matrix.env }}/bootloader.bin
.pio/build/${{ matrix.env }}/littlefs.bin
${{ matrix.obname }}.zip
retention-days: 5

- name: Upload LittleFS
if: github.event_name == 'release'
uses: shogo82148/[email protected]
with:
github_token: ${{ github.token }}
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_name: ${{ matrix.fsname }}
asset_path: .pio/build/${{ matrix.env }}/littlefs.bin
overwrite: true

- name: Upload firmware
if: github.event_name == 'release'
uses: shogo82148/[email protected]
with:
github_token: ${{ github.token }}
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_name: ${{ matrix.fwname }}
asset_path: .pio/build/${{ matrix.env }}/firmware.bin
overwrite: true

- name: Upload onboard image
if: github.event_name == 'release'
uses: shogo82148/[email protected]
with:
github_token: ${{ github.token }}
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_name: ${{ matrix.obname }}.zip
asset_path: ${{ matrix.obname }}.zip
overwrite: true
asset_content_type: application/zip
151 changes: 0 additions & 151 deletions .github/workflows/ci.yaml

This file was deleted.

Loading