Repository navigation
Releases
v1.5.1
Install from your browser: https://anthonyjclarke.github.io/TheFlightWall_CYD/
Chrome, Edge or Opera on a desktop. A board already running this firmware is offered Update, which keeps its settings and WiFi.
| File | Use |
|---|---|
*-firmware.bin |
App image only – for a web OTA update on a running device |
*-merged.bin |
Clean install at 0x0 with esptool – erases settings and WiFi |
*-littlefs.bin (if present) |
Filesystem image – write it at the data partition offset given in the installer's manifest-<board>.json |
SHA256SUMS.txt |
Checksums |
Changes: see CHANGELOG.md.
v1.5.0
Install from your browser: https://anthonyjclarke.github.io/TheFlightWall_CYD/
Chrome, Edge or Opera on a desktop. A board already running this firmware is offered Update, which keeps its settings and WiFi.
| File | Use |
|---|---|
*-firmware.bin |
App image only – for a web OTA update on a running device |
*-merged.bin |
Clean install at 0x0 with esptool – erases settings and WiFi |
*-littlefs.bin (if present) |
Filesystem image – write it at the data partition offset given in the installer's manifest-<board>.json |
SHA256SUMS.txt |
Checksums |
Changes: see CHANGELOG.md.
v1.4.0
Added
- Pinned flight tracking — the user can nominate a specific flight number (IATA e.g.
QF1or ICAO e.g.QFA001) in the WebUI Device Configuration. Each fetch cycle the firmware promotes the pinned flight to slot 0 in the TFT display cycle: if the flight is already within the configured radar radius it is lifted from the normalg_flightslist; if it is outside the radius an AeroAPI/flights/{ident}call retrieves its route/timing and a second/flights/search?query=-idents …call (AeroAPIFetcher::fetchLivePosition()) retrieves live position —last_position(lat/lon/altitude/groundspeed/heading), withpromoteOrFetchPinned()computing distance/bearing from the configured centre viaGeoUtils. (The/flights/{ident}BaseFlight schema carries no position, and OpenSky's/states/allhas nocallsignfilter, so the airborne-only/flights/searchendpoint is the out-of-radius position source; a not-yet-airborne pinned flight shows "Locating…" until it matches.) Position search triesident→ident_icao→ident_iatain sequence — AeroAPI's/flights/searchindexes by ICAO callsign, so a user-entered IATA ident (e.g.GA714) will fall through to the ICAO form (GIA714) automatically. FlightWall logo and airline-name enrichment run as normal (logos are LittleFS-cached after the first cycle). If AeroAPI returns no active record a placeholder card ("Awaiting data...") is shown at slot 0 so the TFT always reflects that a pinned flight is configured. Clicking "Update" (or pressing Enter) in the WebUI immediately runspromoteOrFetchPinned()— full route, position and enrichment are fetched on the spot without waiting for the normal fetch interval. The pinned card TFT header is rendered with an amber (COLOR_ROUTE) strip background and dark counter text for instant visual identification. The WebUI flight JSON includes"pinned": trueon that entry and shows "Saved — fetching now…" feedback. Config key"pinned_flt"in NVS; no reboot required.- WebUI pinned indicators — the pinned flight is now visually distinct from enriched/ADS-B cards: an amber
PINNEDbadge (in addition to theENRICHED/ADS-Btag), an amber card border/glow, an amber header strip on the TFT-mirror card matching the CYD, and a clickable📍 Show Locationlink (Google Maps URL embedded, no coordinates exposed in text) plus dedicatedLatitude/Longitudefacts. When the pinned flight has no live position yet the card shows📍 Locating…. - Immediate pin removal — clearing the pinned flight in the WebUI now strips the pinned card from
g_flightsinstantly (on both the force-fetch path and insidepromoteOrFetchPinned) and forces a refresh, fixing the lag where a stale pinned card lingered for several cycles via last-good retention.
- WebUI pinned indicators — the pinned flight is now visually distinct from enriched/ADS-B cards: an amber
Changed
- Map card skipped when nothing is plottable — the radar map slot is now only part of the display cycle when at least one flight carries a position (new
anyFlightLocatable()helper inFlightInfo.h, used identically byCYDDisplay::displayFlights()andWebUIServer::onGetLive()to preserve slot-tracking parity). Previously a lone pinned placeholder with no fix produced a two-slot cycle (placeholder ↔ empty map), making the map appear to "show twice"; now the placeholder card shows on its own until a position is acquired. - Settings apply live — no reboot required.
POST /api/configno longer schedules a reboot. All values apply within seconds: brightness is written to the backlight immediately (newCYDDisplay::setBrightness(), also applied at boot from NVS), OpenSky credential changes drop the cached OAuth token (newOpenSkyFetcher::invalidateToken()) so new creds take effect on the next fetch, and location / radius / timing / label-colour changes trigger an immediate refresh. The WebUI "Save & Reboot" button is now "Save" ("Settings applied — no reboot needed."), with a separate Reboot Device button (POST /api/reboot) retained for WiFi reset or recovery. Main loop pollstakePendingApply()/takePendingReauth()alongside the existing reboot/force-fetch flags.
v1.3.0
Added
- Splash screen at boot —
CYDDisplay::showSplash()decodes/splash.jpgfrom LittleFS via TJpgDec at startup. The correct variant (splash_320x240.jpg/splash_480x320.jpg) is copied intodata/splash.jpgbyscripts/copy_splash.py, a PlatformIO pre-build script that selects the file based onPIOENV. Falls back todisplayMessage("FlightWall")text banner if the image is missing.showSplash()is idempotent: sets_splashOnScreen = trueon the first decode; subsequent calls while the state is unchanged are no-ops. Any fullscreen draw (flight card, map card,displayMessage,showLoading) resets the flag so a return to no-data state always re-decodes. - Splash-as-background in all no-data states — the splash image stays visible throughout startup and all empty states. WiFi connecting, NTP sync, "No active flights within Nkm" and "Searching…" all display their messages in the bottom status bar, leaving the splash untouched.
g_hasEverShownFlightsflag removed; loop tail simplified to two branches: flights → flight cards; otherwise →showSplash()+showFetchStatus(). CYDDisplay::showFetchStatus()— 24 px amber-on-navy status bar pinned to the very bottom of the TFT. Idempotent on identical phase text; used for all startup messages ("Connecting WiFi…","WiFi OK: x.x.x.x","Searching…") and mid-fetch phase names ("OpenSky","AeroAPI 3/10","Map cache"etc.). Replaces fullscreenshowLoading()/displayMessage()in all status paths so the splash always remains behind the message.src/config/Version.h— single source of truth forFW_VERSION_STR. The WebUI HTML title and brand badge embed the macro via adjacent raw-string-literal concatenation (R"rawlit(... v)rawlit" FW_VERSION_STR R"rawlit(</title>)rawlit") — zero runtime cost, no string copy. The boot serial banner logs the same value. Markdown docs (README.md,CLAUDE.md,CHANGELOG.md) remain manually maintained; the header comment lists all locations that must be touched on a version bump.- GitHub Actions release workflow (
.github/workflows/release.yml) — fires automatically when a cleanvX.Y.Ztag is pushed to main (pre-release suffixes-dev/-rcare excluded by the tag glob). Builds bothcyd_320x240andcyd_480x320firmware targets via PlatformIO on Ubuntu; extracts the matching## [X.Y.Z]block fromCHANGELOG.mdas release notes; creates a GitHub Release with both.binfiles attached. The shields.io release badge onREADME.mdupdates automatically from the GitHub Releases API. No manualgh release createstep required. - WebUI brand refresh — Space Grotesk (headings) and JetBrains Mono (data/code) loaded from Google Fonts; full CSS brand-token sweep replacing ad-hoc hex values with
--amber:#ff9b2e,--ink:#f3f4f6,--ink-dim:#8a8f99,--cyan:#5fb7d6,--green:#3ddc7a; inline SVG logo in the dashboard header; base64 favicon data URI in<head>(no separate HTTP request). Branding assets live inassets/branding/and are gitignored fromdata/splash.jpg(generated per-build). README.mdprofessional header —<picture>element with theme-aware logo variants (dark/light system preference); shields.io badge row: release, license, last-commit, platform (ESP32), PlatformIO, Arduino framework.
Changed
- Boot sequence: all status messages during WiFi connect and NTP sync now call
showFetchStatus()instead ofdisplayMessage()/showLoading(), so the splash screen stays on screen throughout the entire startup flow. initWiFi()displays"Connecting WiFi…","WiFi OK: x.x.x.x"(or"No WiFi") in the bottom bar;setup()tail leaves"Searching…"in the bar. No fullscreen status clears the splash.UserConfiguration::COLOR_MAP_LABELdefault corrected to dark blue (#00008B, RGB5650x0011).
Documentation
CLAUDE.mdupdated:Version.has canonical version source; slot-tracking parity architectural note (WebUIonGetLive()must mirrordisplayFlights()totalSlotsexactly); countdown timer source-of-truth; release process sequence.README.mdcurrent release line updated;src/config/entry in Key Components table now listsVersion.h.
v1.0.1 — Privacy fix: default coordinates
Fix
Default coordinates replaced with Sydney CBD reference point.
UserConfiguration::CENTER_LAT/LON was changed from a precise six-decimal-place GPS fix to the Sydney CBD reference point (-33.8688, 151.2093). The previous value could identify a specific residential location in the public repository.
Runtime coordinates are always overridden via the WebUI configuration panel and stored in NVS — this only affects the compile-time fallback used on first boot before any WebUI configuration has been saved.
No functional change to firmware behaviour.
v1.0.0 — Initial Full Release
TheFlightWall CYD — v1.0.0
First stable release of the TheFlightWall CYD firmware. Consolidates the v0.12.0–v0.14.0 development cycle into a complete, documented build targeting the ESP32-2432S028R (ILI9341, 320×240) and ESP32-3248S035R (ST7796, 480×320).
Capabilities at v1.0.0
- Enriched-only display policy: only AeroAPI-enriched flights appear on the TFT and WebUI flight panel. Four categories suppressed: 1–2 letter ICAO prefix, pure-alpha callsigns, callsigns with no active AeroAPI record, and callsigns beyond the per-cycle call cap (10). All observed aircraft remain visible in the WebUI Activity Feed via raw OpenSky state vectors.
- Full data pipeline: OpenSky Network OAuth2 ADS-B →
FlightDataFetchercallsign validation and ATC suffix stripping → AeroAPI/flights/{ident}enrichment → FlightWall CDN airline/aircraft names → LittleFS-cached JPEG logos → cycling TFT cards and embedded HTTP dashboard. - Web dashboard: browser-rendered TFT mirror, horizontally scrollable current flights panel, 50-entry volatile activity feed, runtime configuration with NVS persistence and auto-reboot.
- Live ADS-B metrics at no extra API cost: distance, cardinal bearing, altitude/flight level, speed, heading, climb/descent rate and ground state from OpenSky.
- Documentation: full README with pipeline diagram, display layout, credential setup guides, API references and image captions.
Key changes from v0.14.0
- ATC duplicate-departure suffix stripping (QLK423D → QLK423 for AeroAPI lookup)
MAX_AEROAPI_CALLS_PER_CYCLEraised 5 → 10- WebUI current flights panel: all
g_flightscards, horizontal scroll with ‹ › nav, ENRICHED/ADS-B tags - WebUI title/header/footer updated to v1.0.0
- Pipeline block diagram added (
images/pipeline.png) - Full image set and
secrets.h.templateadded - Old LED matrix / bracket assets removed (not CYD-specific)
- README image captions added; version bumped throughout
Quick-start
cp include/secrets.h.template include/secrets.h
# fill in OpenSky client ID/secret and AeroAPI key, then:
pio run -e cyd_320x240 -t uploadSee the README for full credential setup and API authorisation instructions.