theqkash/esp32flight
소개
A standalone desk flight radar on a single ESP32 board with a 7" touchscreen.
기타 프로젝트측정된 스타 증가
- in 24h
- +2
- in 7 days
- +5
- in 15 days
- +13
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalesp32flight
A standalone desk flight radar on a single ESP32 board with a touchscreen,
also available as an Android app built from the same code.
Live aircraft around you: airline logos, routes, maps, alerts and a built-in web panel.
No Raspberry Pi, no server, no subscriptions, no API keys.
[!NOTE] FlightAware users: firmware before 0.4.7 could burn through AeroAPI credits very quickly (#37). 0.4.7 puts every FlightAware call under a monthly budget you set (900 by default, inside the free Personal credit), shows the calls and an estimated cost in the web panel and Home Assistant, and only looks up the flight you are watching. Update before you put a key back in.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Quick start
- Get one of the ten supported boards - from the $15 Guition JC8048W550 to the original Waveshare ESP32-S3-Touch-LCD-7 (about $35) - and a USB cable.
- Open the browser installer in Chrome or Edge, click the button for your board, pick the serial port. The Waveshare 800x480 family and the Guition even share one auto-detecting binary.
- Tap the gear icon, pick your 2.4 GHz Wi-Fi from the scan list, save. The device locates itself by IP (or type any city) and starts tracking.
Later updates install over the air from the web panel. The cable is only ever needed once.
No board at hand? The same radar also ships as an Android app.
What it does
On the screen
- Live flight list within a configurable radius (1 to 250 NM): airline logo, type, altitude with trend arrow, speed, distance; the 40 nearest of up to 80 tracked
- Flight details: airline, route with cities, country flags and local airport times, progress bar, ETA and local arrival time, squawk, ADS-B category, aircraft photo (planespotters.net)
- Spotter line: which way to look (compass + elevation) and a flyover prediction ("passes you in ~3 min at 1.2 km")
- Five views: list + details, ambient auto-cycling mode, radar on a real map of your area with runway strips of nearby airports, session stats (hourly chart, top airlines, daily records, METAR raw or decoded), retro CRT radar
- Optional extra objects on the radar: the ISS when it crosses your area, weather balloons from the SondeHub network, AIS ships (own free key) with a full detail card (type, destination, speed), and airspace outlines (CTR/TMA/danger, own free openAIP key)
- List content toggle when ships are on: planes only, ships only or everything; tap any plane or ship on the map for details
- Aviation or metric units (ft/kt or m and km/h), one switch
- Full-screen route map with the great-circle track, swipe pan and zoom, flight trails
- Map screensaver after idle: your observation circle, every aircraft in range, clock and weather; tap a plane for its route
- Aircraft class filter: pick any mix of airliners, light aircraft, helicopters, military and others; the class colors the type code in the list
- Night mode, 7 color themes, English, Polish and Hungarian UI, 24 h or 12 h AM/PM clock, all settings on the touchscreen; auto-cycling can be turned off to follow one flight, or the details can stay on the nearest aircraft
- Track a flight: enter a callsign or registration (in the web panel or on the device) and the screen follows that one flight anywhere in the world, e.g. family on board; stop it and your own sky is back
- Screensaver on a schedule or on demand (tap the clock), retro radar with your map under the sweep
- Optional route on the list and radar: origin/destination codes on list rows, cities in the tapped-aircraft bubble
- Optional backlight brightness control on boards that can dim (slider, off by default), and a choice of map tile providers: OpenStreetMap with a built-in dark style, CARTO with your own free key, or any custom {z}/{x}/{y} tile server
Data
- Free community ADS-B sources (adsb.lol, adsb.fi) merged live with automatic failover, refresh every 8 s; a source that refuses access is parked instead of asked every cycle
- Or your own dump1090/readsb receiver on the LAN, alone or together with the internet sources (the antenna wins where both see an aircraft), with internet fallback; bare host names are tried as
name.local - Routes cross-checked against the aircraft's real position across three databases, so stale entries are rejected, not displayed
- Optional FlightAware key adds ticket-style flight numbers (FR4238) and live routes for the aircraft you are looking at, under a monthly call budget with usage and cost on display
Alerts and integrations
- Push to your phone via ntfy.sh: emergency squawks, watchlist aircraft, incoming flyovers
- Watchlist with gold highlighting; military and notable heavies (A380, AN-124, C-17...) always stand out
- MQTT with Home Assistant auto-discovery (aircraft sensors, FlightAware calls and cost this month, a screen on/off switch, a screensaver button, plus the backlight as a dimmable HA light on boards with brightness control enabled), generic JSON webhooks, alert history on flash
- Physical controls: buttons and rotary encoders on a cheap PCF8574/MCP23017 I2C expander (or free GPIOs where a board has them) mapped to actions like view switching, radar zoom, altitude limits or brightness - configured in the web panel with a learn mode; custom decks can drive the same actions over HTTP (
/api/input)
Web panel at http://esp32flight.local
- Tabs: Live (track-a-flight card, Leaflet map with trails and flags, flight table), History (spotting log with CSV export, alert history), Settings (full config with per-field help, FlightAware usage and cost), API (built-in reference)
- Follows your system light or dark mode, works on a phone
- OTA firmware updates from the browser, locked by default and armed from the device
- Prometheus
/metrics, live/screen.bmpscreenshots, optional password (HTTP Basic Auth) covering the panel and the whole API
Android app
The same radar, compiled for Android from the same core sources, so every feature above ships on both at the same version. Download esp32flight-vX.Y.Z.apk from the latest release and install it (sideload; Android 5.0 or newer, phones and tablets, arm64 + arm32).
- Always landscape, always fullscreen, notch and cutout areas included
- The canvas adapts to the screen: tablets render more list rows, a bigger radar and larger type instead of a stretched frame
- The web panel runs inside the app at
http://<phone-ip>:8080 - Wi-Fi setup is not needed (the system connection is used) and settings apply live, no restart
- In the background the app stops all network traffic and picks up again when it is back on screen
- Source lives in
apkflight/, a thin SDL2 + shim layer over the shared code
Setting up the integrations
All optional, configured in the web panel (Settings tab) or on the device (gear icon, Integrations tab). Empty field = feature off.
Push notifications to your phone (ntfy.sh)
Free, no account needed.
- Install the ntfy app (Android/iOS).
- In the app, subscribe to a topic with a unique name you invent, e.g.
jans-esp32flight-8341(anyone who knows the name can read it, so make it non-obvious). - Enter the same topic name in ntfy.sh topic and save.
You will get a push for emergency squawks (7500/7600/7700), watchlist aircraft entering your radius and, with Flyover alerts enabled, a heads-up a few minutes before an interesting aircraft passes nearly overhead.
Home Assistant / MQTT
Enter your broker URI as MQTT broker, e.g. mqtt://user:[email protected]:1883. The device announces itself via MQTT discovery, so an "esp32flight" device appears in Home Assistant automatically with sensors: nearest aircraft (callsign, route, distance), aircraft count and session unique count, FlightAware calls and estimated cost this month, plus a Screen switch (backlight off/on, stays off until a tap or "on") and a Start screensaver button for automations. No YAML needed.
FlightAware flight numbers and routes
[!WARNING] FlightAware bills every call, and a Personal account has no spending cap of its own. Use firmware 0.4.7 or newer: older versions could exhaust the free credit within days (#37).
By default flights show radio callsigns (RYR638T). A FlightAware AeroAPI key adds the commercial flight number (FR4238) next to it and uses the live origin/destination as an extra route source. Create a Personal key at flightaware.com/aeroapi and paste it into FlightAware API key.
How 0.4.7 keeps the bill in check:
- Only the aircraft you are looking at (the selected one, or one of the three nearest airliners) is ever looked up, one call per minute at most, never while the screen is dark or the app is in the background.
- FlightAware calls per month (web panel, default 900) is a hard budget, persisted across restarts and spread evenly over the month. 900 calls stay inside the free Personal credit at the list price of about $0.005 per call.
- The panel shows the calls made this month and the estimated cost; Home Assistant gets both as sensors.
Webhook
On every alert (emergency, watchlist, flyover) the device POSTs {"source": "esp32flight", "title": "...", "message": "..."} to the URL in Webhook URL. Point it at Node-RED, n8n, a Discord/Slack bridge or your own endpoint.
Watchlist
Comma-separated registration or callsign prefixes in Watchlist, e.g. SP-LR,RCH,A388. Matching aircraft are highlighted in gold and push-notified. Military aircraft and notable heavies are always highlighted, no entry needed.
Local ADS-B receiver (dump1090 / readsb)
If you run your own receiver (RTL-SDR dongle on a Raspberry Pi with dump1090, readsb, or a feeder image), point Local receiver URL at its JSON output, e.g. http://192.168.1.50:8080/data/aircraft.json. The device then reads aircraft straight from your antenna instead of internet APIs: faster updates, no rate limits, works even without internet. Falls back to the internet automatically when the receiver is unreachable.
HTTP API
Everything the panel shows is plain HTTP on port 80. The full reference with examples lives in the panel itself, under the API tab. Summary:
| Endpoint | What it returns |
|---|---|
GET /api/state |
live JSON: flights with routes and trails, weather, network, stats |
GET /api/config |
current settings (passwords never included) |
POST /api/config |
update any subset of settings, saves and restarts |
GET /api/log |
spotting history TSV (epoch, hex, callsign, type, airline) |
GET /api/alerts |
alert history TSV (epoch, title, message) |
GET /screen.bmp |
live 800x480 screenshot of the display |
GET /metrics |
Prometheus metrics (aircraft, session records, heap) |
GET/POST /api/input |
run a named action (?action=zoom_in, next_view, wake, screensaver, screen_off, screen_on, track_toggle...) - for buttons, decks, automations |
GET/POST /api/track |
track one flight anywhere: {"id":"LOT3AB","on":true}, applied without a restart |
GET /api/input/last |
last physical input event, used by the panel's learn mode |
POST /ota |
firmware update (403 unless unlocked on the device) |
With a panel password set, every endpoint requires Basic Auth: curl -u admin:PASSWORD ...
Data sources (free; the two marked layers take your own free key)
| What | Source |
|---|---|
| Aircraft positions (ADS-B) | adsb.lol and adsb.fi (personal, non-commercial use) merged; airplanes.live closed its public API in 2026 and is only tried occasionally |
| Routes + airlines | adsbdb.com, adsb.lol routeset, hexdb.io |
| Map tiles | OpenStreetMap standard tiles ((c) OpenStreetMap contributors); the dark style is applied on-device |
| Precipitation radar (optional overlay) | RainViewer |
| Geocoding, weather, timezones | Open-Meteo |
| METAR + TAF | aviationweather.gov (NOAA) |
| ISS position | wheretheiss.at |
| Radiosondes | SondeHub community network |
| Ships (AIS, optional, own free key) | aisstream.io |
| Airspace outlines (optional, own free key) | openAIP |
| IP geolocation | ip-api.com |
| Aircraft photos | planespotters.net (photographer credited on screen), fallback airport-data.com via adsbdb |
| Airline logos | sexym0nk3y/airline-logos, Jxck-S/airline-logos, served on demand from esp32flight-logos |
| Country flags | flagcdn.com (bundled) |
| Airports + runways | OurAirports (bundled, public domain) |
| Offline world map | NASA Blue Marble |
Optional, with your own key: FlightAware AeroAPI for commercial flight numbers and live routes, billed per call by FlightAware and kept under the monthly budget described above.
Hardware
Fourteen supported configurations, all running the same code. The Waveshare 800x480 family and the Guition share one auto-detecting binary; the rest are dedicated builds, every one of them a button on the flasher (the newest ports start on the test-builds page until the next release):
- Waveshare ESP32-S3-Touch-LCD-7 (7", the original target, ~$35): ESP32-S3, 16 MB flash, 8 MB PSRAM, 800x480 RGB (ST7262), GT911 touch. Printable case: on Printables.
- Waveshare ESP32-S3-Touch-LCD-4.3 / 4.3B / 5: same pinout as the 7. Note: 4.3 units ship an 8 MB module (N8R8) - use the
-8mbbuild (curated logo set, the rest fetched on demand from esp32flight-logos). - Waveshare ESP32-S3-Touch-LCD-7B (7", 1024x600, ~$40): the sharpest panel, real brightness PWM via its helper MCU, large type on the detail view. Runs the memory buses at 120 MHz - the panel demands it. The Printables case for the 7 fits the 7B as well.
- Waveshare ESP32-S3-Touch-LCD-7C / 7C BOX (7", 800x480, ~$70): the boxed one - enclosure, battery, speakers, isolated IO. Audio hardware not used by the radar yet.
- Guition JC8048W550 (5", ~$15): the budget pick, hardware-proven since 0.3.x.
- Sunton ESP32-4827S043 (4.3", 480x272, ~$15): capacitive "C" and resistive "R" variants, each with its own build; the UI renders proportionally downscaled. Community-contributed.
- Sunton ESP32-8048S070 (7", 800x480, ~$22) and its unbranded clones: colors and display window bench-tuned by the community.
- Elecrow CrowPanel 5.0 / 7.0 (800x480, 4 MB flash class): single app slot, updates via the flasher (no OTA), logos on demand. Most unbranded 7" Amazon HMI boards are CrowPanel 7.0 rebrands - check the module marking (N4R8) if unsure. Hardware-confirmed by testers.
- Elecrow CrowPanel Advance 7.0 (DIS02170A V1.2+, 7", 800x480, 16 MB): the newer Advance series with real backlight dimming via its helper MCU. V1.0/V1.1 hardware revisions are not covered.
- BigTreeTech Panda Touch (5", 800x480, ~$75): BTT's Bambu pendant is a regular ESP32-S3 display underneath. Flashing replaces the stock Bambu-remote firmware (restorable from a backup), and the battery makes it a portable radar.
- M5Stack Tab5 (5", 1280x720, ~$60): ESP32-P4 with Wi-Fi over its ESP32-C6, battery, the crispest screen of the fleet. All three display generations (ILI9881C, ST7123, ST7121) are auto-detected.
- Guition JC8012P4A1 (10.1", 800x1280, ESP32-P4, ~$40): the biggest screen of the fleet, Wi-Fi over its ESP32-C6, clean-room GSL3680 touch driver. Panel revision V1 hardware-confirmed; V2 (rear-case batch 2628+) has its own build awaiting a tester.
- Elecrow CrowPanel Advanced 10.1 ESP32-P4 (10.1", 1024x600): new in 0.4.7 on the test-builds page, built from Elecrow's schematic and examples, awaiting its first hardware report (board revisions V1.1 and V1.2).
Building from source
ESP-IDF 5.5+, ImageMagick and Node required
# one-time: fetch airline logos, airports, flags + generate fonts
./tools/fetch_logos.sh
./tools/fetch_airports.sh
./tools/fetch_flags.sh
./tools/gen_fonts.sh
idf.py set-target esp32s3
idf.py -p /dev/cu.usbmodemXXXX -b 230400 flash
Subsequent updates can go over the air from the web panel (build/esp32flight.bin).
The Android app builds from apkflight/: make gives a desktop test build (SDL2 via Homebrew), gradle assembleRelease in apkflight/android/ produces the APK. Native curl and mbedTLS are cross-compiled once with apkflight/scripts/build_android_deps.sh.
Support the project
esp32flight is free, open source and has no subscriptions - but every supported board in the table above had to land on my desk before its port could ship, and the next ones are waiting. If this thing earned a spot on your shelf, a coffee genuinely keeps new hardware coming:
Bug reports and feature ideas are just as welcome: open an issue or drop by the Discord server to chat, share spots and get help.
License
MIT (c) Łukasz Nowak (@theqkash)
Display bring-up adapted from Waveshare's demo code (CC0). Built with LVGL 8 and ESP-IDF.
관련 프로젝트 살펴보기
불러오는 중…







