Skip to content

Plane radar

Switch Display → Mode to Radar and set it up in the Radar tab. The screen becomes a radar scope centred on where you are: range rings, a home marker in the middle, nearby aircraft as red heading triangles with a speed vector and a callsign or altitude label, traffic outside the ring as dots on the rim, and any airports you add as small markers.

By default the radar is centred on the device location, set in the Display tab’s Clock & night mode card (see Sunrise and sunset brightness). In the Radar tab this is the Use the device location box, which is on by default. While it is on, the radar’s own Latitude and Longitude fields are greyed out and unused. If the device location is still 0/0 (not set), the screen asks you to set a location.

To centre the radar somewhere else, for example on an airport, untick Use the device location and enter the latitude and longitude in decimal degrees (four decimals are kept). Tick the box again to go back to the device location. The radar’s own coordinates stay saved while the box is on, so unticking it brings them back.

A radar set up on older firmware with its own coordinates keeps them, and the box starts unticked for it.

Also choose a range ring (5, 10, 15, 20, 25, or 50) and the unit, km or miles. Then pick a data source, below.

The Radar tab’s What to show card has separate toggles for the callsign and altitude labels, the speed vectors and the rim dots for traffic beyond the outer ring, plus these settings:

  • Marker and label size (Small, Medium, Large) scales the triangles, markers and text together. Medium is the default. Large is readable from across the room, and Small keeps a busy sky uncluttered
  • Radar colors has four separate controls: aircraft markers, rings and crosshairs, radar text (callsigns, altitudes, north indicator, distance and aircraft count), and airport names and diamonds. The controls wrap to fit narrow screens. The defaults match the original palette. Reset fills in the controls, and Save settings applies them. Other screens keep their colours
  • Hide aircraft below (ft) drops ground and low traffic. At 500, planes taxiing at the airport disappear. 0 shows everything
  • Map under the radar (SmallTV Pro) draws land, sea, coastlines and borders behind the scope, from the map downloaded in the Rain tab. It shows once that map covers the whole screen; after a larger range or a new location, download it again. See Map under the radar

Callsigns are placed nearest first, and a label that would overlap one already on screen is skipped, so a crowded scope stays readable. The triangle still shows when its label is dropped.

There are three choices in the Radar tab. Two fetch a free open-data feed directly from the device. The third goes through a proxy on your own network.

adsb.lol, the default setting on the ESP8266

Section titled “adsb.lol, the default setting on the ESP8266”

The device fetches the free adsb.lol API directly over HTTPS, one request per refresh:

GET https://api.adsb.lol/v2/lat/<lat>/lon/<lon>/dist/<nm>

It needs no API key. On the ESP8266 this feed has not worked since November 2026, see Which direct feed to pick. The request goes out as HTTP/1.1, because adsb.lol answers HTTP/1.0 with 426 Upgrade Required. The endpoint is rate-limited to about one request a second, so do not set a very short refresh interval. The default is 10 seconds.

The same request shape and fields on a different host:

GET https://opendata.adsb.fi/api/v3/lat/<lat>/lon/<lon>/dist/<nm>

On the ESP8266, HTTPS is tight on RAM, and what decides it is the TLS record size the server uses. The device probes the server’s Maximum Fragment Length (MFLN) support so its buffer can stay at 512 bytes. Without MFLN it falls back to 4 KB, and if the server then sends a larger record, the read fails part-way and the scope stays empty.

adsb.fi moved behind Cloudflare in August 2026 and stopped negotiating MFLN. Since November 2026 adsb.lol does not negotiate it either (checked with openssl s_client -maxfraglen 512 on 2026-11-23, #140). Both send records of up to 16 KB, which do not fit the 4 KB buffer, so neither direct feed works on the ESP8266 today. Use a relay instead: it does the TLS handshake and the device fetches over plain HTTP. There are ready-made setups for n8n, Home Assistant, nginx, Apache and a Cloudflare Worker.

When the probe finds no MFLN, the Radar line in the Status tab reads server needs 16 KB TLS records and the device stops polling that feed. It probes the feed again after an hour and after every settings save, so the direct feed comes back by itself if the server turns MFLN on again.

The ESP32 boards use mbedTLS with dynamically sized buffers, so either feed works there.

Start at the Radar line in the Status tab. Since 2.12.1 it reports what the last poll did: ok with an aircraft count, skipped, low heap, connect failed, http error with the code, parse failed, no aircraft in feed, all filtered out when no aircraft had usable coordinates and passed the minimum-altitude filter, or server needs 16 KB TLS records. The same detail is in /api/status under radar.

These outcomes have known causes on the ESP8266:

  • server needs 16 KB TLS records: the direct feed does not negotiate MFLN (see Which direct feed to pick). Set up a relay and switch the source to the webhook. Firmware older than this message shows connect failed with http -4 on every poll for the same cause
  • skipped, low heap: the radar starts a TLS handshake only when a 16,000-byte contiguous block is free (shown in the Status tab next to Free heap). If you do not use Home Assistant screens, leave the broker host blank in the Home Assistant tab and restart (v3.5.0 or later), which gives back about 6.5 KB. Otherwise install smalltv-mod-firmware-lean.bin, which compiles out Home Assistant screens, the usage meter and theme clocks (see Which release file to download), or use the webhook below: a LAN URL over plain HTTP skips this TLS check
  • no aircraft in feed on every poll while flightradar shows a full sky: firmware before 2.12.1 misparsed adsb.fi’s chunked responses as empty. 2.12.1 to 3.13.1 avoid chunked replies (HTTP/1.0, and HTTP/1.1 for adsb.lol from 3.5.1, which it answers unchunked). From 3.14.0 radar requests use HTTP/1.1 and decode chunked bodies before parsing JSON
  • http error with code 426 on every poll with adsb.lol: firmware before v3.5.1 sent adsb.lol an HTTP/1.0 request, which adsb.lol refuses. Update to v3.5.1 or later, or switch the source to the webhook
  • parse failed, JSON NoMemory: the bounded parser could not get the memory it needed, or a single retained value was too large
  • connect failed: a negative HTTPClient result, which covers connection refusal, connection loss and an idle-read timeout as well as failure to open a socket. With http -2 on every poll on 3.14.0, the webhook included, the firmware never sent the request; the fix (#161) is in 3.14.1
  • encoding error: the server sent a transfer encoding the HTTP client does not support
  • poll timed out: the response used up the configured HTTP timeout, even if bytes were still arriving

Point a small proxy at either feed and return its JSON over plain HTTP. Plane radar relay has ready-made setups for n8n, Home Assistant, nginx, Apache and a Cloudflare Worker. Set the source to Custom webhook and enter the URL. The device calls:

GET <webhookUrl>?lat=<lat>&lon=<lon>&dist=<km>

It accepts the public feeds’ {"ac":[ ... ]} shape or a local receiver’s {"aircraft":[ ... ]} shape, with these fields per aircraft: lat, lon, track, gs, flight, hex, alt_baro. The proxy does the filtering and the TLS handshake. This is the most reliable setup on the ESP8266. On the ESP8266, 3.14.0 sends no radar request at all, the webhook’s included, so every poll ends in connect failed with http -2. The fix (#161) is in 3.14.1. Firmware up to 3.13.1 is not affected.

The Custom webhook source can read a receiver’s aircraft.json directly over plain HTTP on your LAN, without a proxy or external API. Typical paths are http://<receiver>/tar1090/data/aircraft.json for tar1090 and http://<receiver>/skyaware/data/aircraft.json for dump1090-fa / SkyAware. The port and path depend on the receiver’s web server configuration. The appended lat/lon/dist query parameters do not filter the receiver’s static JSON file. The {"aircraft":[...]} shape is read from 3.14.0, so on the ESP8266 this needs 3.14.1 (see above).

The radar keeps the nearest 24 aircraft from any of these sources and feed formats. If a poll fails, the previous aircraft stay on screen and the Status tab reports the error.