Skip to content

Releases

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 10 Oct 17:11

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

Choose a tag to compare

@github-actions github-actions released this 10 Oct 05:49

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

Choose a tag to compare

@github-actions github-actions released this 31 May 23:51

Added

  • Pinned flight tracking — the user can nominate a specific flight number (IATA e.g. QF1 or 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 normal g_flights list; 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), with promoteOrFetchPinned() computing distance/bearing from the configured centre via GeoUtils. (The /flights/{ident} BaseFlight schema carries no position, and OpenSky's /states/all has no callsign filter, so the airborne-only /flights/search endpoint is the out-of-radius position source; a not-yet-airborne pinned flight shows "Locating…" until it matches.) Position search tries ident → ident_icao → ident_iata in sequence — AeroAPI's /flights/search indexes 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 runs promoteOrFetchPinned() — 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": true on 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 PINNED badge (in addition to the ENRICHED/ADS-B tag), an amber card border/glow, an amber header strip on the TFT-mirror card matching the CYD, and a clickable 📍 Show Location link (Google Maps URL embedded, no coordinates exposed in text) plus dedicated Latitude/Longitude facts. 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_flights instantly (on both the force-fetch path and inside promoteOrFetchPinned) and forces a refresh, fixing the lag where a stale pinned card lingered for several cycles via last-good retention.

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 in FlightInfo.h, used identically by CYDDisplay::displayFlights() and WebUIServer::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/config no longer schedules a reboot. All values apply within seconds: brightness is written to the backlight immediately (new CYDDisplay::setBrightness(), also applied at boot from NVS), OpenSky credential changes drop the cached OAuth token (new OpenSkyFetcher::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 polls takePendingApply() / takePendingReauth() alongside the existing reboot/force-fetch flags.

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 29 May 19:54

Added

  • Splash screen at boot — CYDDisplay::showSplash() decodes /splash.jpg from LittleFS via TJpgDec at startup. The correct variant (splash_320x240.jpg / splash_480x320.jpg) is copied into data/splash.jpg by scripts/copy_splash.py, a PlatformIO pre-build script that selects the file based on PIOENV. Falls back to displayMessage("FlightWall") text banner if the image is missing. showSplash() is idempotent: sets _splashOnScreen = true on 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_hasEverShownFlights flag 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 fullscreen showLoading() / displayMessage() in all status paths so the splash always remains behind the message.
  • src/config/Version.h — single source of truth for FW_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 clean vX.Y.Z tag is pushed to main (pre-release suffixes -dev / -rc are excluded by the tag glob). Builds both cyd_320x240 and cyd_480x320 firmware targets via PlatformIO on Ubuntu; extracts the matching ## [X.Y.Z] block from CHANGELOG.md as release notes; creates a GitHub Release with both .bin files attached. The shields.io release badge on README.md updates automatically from the GitHub Releases API. No manual gh release create step 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 in assets/branding/ and are gitignored from data/splash.jpg (generated per-build).
  • README.md professional 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 of displayMessage() / 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_LABEL default corrected to dark blue (#00008B, RGB565 0x0011).

Documentation

  • CLAUDE.md updated: Version.h as canonical version source; slot-tracking parity architectural note (WebUI onGetLive() must mirror displayFlights() totalSlots exactly); countdown timer source-of-truth; release process sequence.
  • README.md current release line updated; src/config/ entry in Key Components table now lists Version.h.

v1.0.1 — Privacy fix: default coordinates

Choose a tag to compare

@anthonyjclarke anthonyjclarke released this 26 May 00:49

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

Choose a tag to compare

@anthonyjclarke anthonyjclarke released this 26 May 00:40

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 → FlightDataFetcher callsign 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_CYCLE raised 5 → 10
  • WebUI current flights panel: all g_flights cards, 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.template added
  • 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 upload

See the README for full credential setup and API authorisation instructions.