Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e95d007
add custom effects
Nov 26, 2024
f306977
platformio
Nov 26, 2024
306df74
parameters
mjgriffin1113 Feb 15, 2025
c1c9dca
wled function updates
mjgriffin1113 May 27, 2025
95d6e23
custom effects and test
mjgriffin1113 Jun 26, 2025
2f58c7c
fix shapes
mjgriffin1113 Jun 26, 2025
eed8cb8
add more effects
mjgriffin1113 Jun 26, 2025
aeadb53
review from wled ai
mjgriffin1113 Jun 26, 2025
285de70
Merge pull request #1 from GridLights/test-refaactor
mjgriffin1113 Jun 26, 2025
cea72b5
fix it
mjgriffin1113 Jul 9, 2025
f91666c
add firmware and update effects
mjgriffin1113 Jul 9, 2025
51d3c0b
Merge pull request #2 from GridLights/test-refaactor
mjgriffin1113 Jul 9, 2025
2c886f1
Add GridLights CI workflow and hardware config
Feb 27, 2026
1f2446b
Remove upstream WLED CI workflow
Feb 27, 2026
ef963e2
Add workflow_dispatch trigger to GridLights build
Feb 27, 2026
a1052fb
Fix firmware artifact upload path
Feb 27, 2026
d00db59
Add 35 journey effects (aSimplestar, aFull, aMerkabah, aSidewaysMerka…
Mar 5, 2026
c7a2c60
Expose GridLights build version in /json/info API response (SOL-29)
Mar 5, 2026
26ebe19
Add CI workflow to enforce GRIDLIGHTS_VERSION bump on PRs
Mar 5, 2026
ecf8a19
SOL-29 Firmware — Expose build version in /json/info API response
Mar 5, 2026
ed519d0
SOL-2 Fix strobe frequency cap in Diamond Spin and Black Hole Custom
Apr 2, 2026
ce2a0f7
Merge pull request #4 from GridLights/SOL-2-fix-strobe-frequency-quan…
kieranskelly Apr 2, 2026
aa06a1b
Revert "SOL-2 Fix strobe frequency cap in Diamond Spin and Black Hole…
kieranskelly Apr 4, 2026
0184531
Merge pull request #5 from GridLights/revert-4-SOL-2-fix-strobe-frequ…
kieranskelly Apr 4, 2026
18bcb37
Merge upstream WLED main into GridLights SOL for testing
eikerd Apr 6, 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
62 changes: 62 additions & 0 deletions .github/workflows/gridlights-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: GridLights Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
name: Build (${{ matrix.environment }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
environment:
- esp32dev
# Add more GridLights target environments here as needed

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Cache PlatformIO toolchains and packages
uses: actions/cache@v4
with:
path: ~/.platformio
key: ${{ runner.os }}-platformio-${{ hashFiles('platformio.ini') }}
restore-keys: |
${{ runner.os }}-platformio-

- name: Cache .pio build directory
uses: actions/cache@v4
with:
path: .pio
key: ${{ runner.os }}-pio-${{ matrix.environment }}-${{ hashFiles('platformio.ini', 'wled00/**') }}
restore-keys: |
${{ runner.os }}-pio-${{ matrix.environment }}-

- name: Install PlatformIO
run: pip install -r requirements.txt

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

- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.environment }}
path: .pio/build/${{ matrix.environment }}/firmware.bin
if-no-files-found: error
41 changes: 41 additions & 0 deletions .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Version Check

on:
pull_request:
branches:
- main

jobs:
check-version-bump:
name: GRIDLIGHTS_VERSION bumped
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Extract version on PR branch
id: pr_version
run: |
VERSION=$(grep GRIDLIGHTS_VERSION platformio_override.ini | grep -oP '[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Extract version on main
id: main_version
run: |
VERSION=$(git show origin/main:platformio_override.ini | grep GRIDLIGHTS_VERSION | grep -oP '[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Fail if version not bumped
run: |
PR="${{ steps.pr_version.outputs.version }}"
MAIN="${{ steps.main_version.outputs.version }}"
echo "main: $MAIN"
echo "PR: $PR"
if [ "$PR" = "$MAIN" ]; then
echo "❌ GRIDLIGHTS_VERSION ($MAIN) must be bumped before merging."
echo " Update GRIDLIGHTS_VERSION in platformio_override.ini."
exit 1
fi
echo "✅ Version bumped: $MAIN → $PR"
11 changes: 0 additions & 11 deletions .github/workflows/wled-ci.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ __pycache__/
/managed_components

esp01-update.sh
platformio_override.ini
replace_fs.py
wled-update.sh

Expand Down
Binary file added firmware.bin
Binary file not shown.
25 changes: 2 additions & 23 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,8 @@
# (use `platformio_override.ini` when building for your own board; see `platformio_override.ini.sample` for an example)
# ------------------------------------------------------------------------------

# CI/release binaries
default_envs = nodemcuv2
esp8266_2m
esp01_1m_full
nodemcuv2_160
esp8266_2m_160
esp01_1m_full_160
nodemcuv2_compat
esp8266_2m_compat
esp01_1m_full_compat
esp32dev
esp32dev_debug
esp32_eth
esp32_wrover
lolin_s2_mini
esp32c3dev
esp32c3dev_qio
esp32S3_wroom2
esp32s3dev_16MB_opi
esp32s3dev_8MB_opi
esp32s3dev_8MB_qspi
esp32s3_4M_qspi
usermods
# GridLights SOL — build for esp32dev only
default_envs = esp32dev

src_dir = ./wled00
data_dir = ./wled00/data
Expand Down
11 changes: 11 additions & 0 deletions platformio_override.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
; GridLights hardware configuration
; Overrides for the GridLights ESP32 board on top of upstream WLED platformio.ini

[env:esp32dev]
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32
-D LEDPIN=4
-D DEFAULT_LED_COUNT=37
-D DEFAULT_LED_TYPE=30
-D RLYPIN=5
-D RLYMDE=0
-D GRIDLIGHTS_VERSION=\"2.2.1\"
Loading