# Flight Watch OSS

IoT Flight tracking display using ADS-B on RGB LED matrix

把附近飞机画在一块 64x64 的 HUB75 面板上，由 ESP32 Trinity 驱动。

- id: ash-3d-flightwatch-oss
- author: ash-3d
- repository: https://github.com/ash-3d/FlightWatch_OSS
- license: Apache-2.0
- shape: matrix
- scenes: art, tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/ash-3d-flightwatch-oss/
- html_zh: https://esp32gallery.com/zh/projects/ash-3d-flightwatch-oss/
- json: https://esp32gallery.com/data/catalog/projects/ash-3d-flightwatch-oss.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
Nearby aircraft, drawn on a single 64x64 HUB75 RGB panel driven by an ESP32 Trinity. Positions come from OpenSky's ADS-B state vectors over OAuth, and route, airline and aircraft details are enriched through FlightAware's AeroAPI, with airline and aircraft lookup tables compiled into the firmware instead of fetched from a CDN. The whole design is about RAM: the display is single-buffered (tearing is possible), JSON is parsed as a stream, TLS clients are static, and AeroAPI calls are capped at two per pass with a 60-second enrichment cache. Fetching defaults to every 30 seconds, with a 2-minute TLS backoff after an OpenSky failure. The config portal at flightwatch.local lives for 10 seconds after boot and then shuts down. Setup means editing the WiFi, location, hardware and API key headers, then flashing from PlatformIO.
```

## 中文

```
把附近飞机画在一块 64x64 的 HUB75 面板上，由 ESP32 Trinity 驱动。位置来自 OpenSky 的 ADS-B 状态向量，走 OAuth 认证；航线、航空公司和机型信息用 FlightAware 的 AeroAPI 补全，而航空公司和机型的对照表直接编进固件，不去 CDN 拉。整套设计围着内存转：显示只开单缓冲，允许轻微撕裂；JSON 边收边解析，TLS 客户端是静态的，AeroAPI 每轮最多调两次，补全结果缓存 60 秒。默认每 30 秒抓一次，OpenSky 失败后退避 2 分钟。开机后的配置门户 flightwatch.local 只开 10 秒，没人用就关掉，省下 mDNS 和 HTTP 的开销。配置要改 WiFi、位置、硬件和 API key 几个头文件，然后用 PlatformIO 刷写。
```
