How it works
This Coreflux LoT template polls the free adsb.lol v2 REST API every minute for aircraft within 25 nm of Minneapolis. It validates each response, fans up to three aircraft into per-hex topics, and publishes a count plus a summary report.
Key features
- Minute polling: A self-starting heartbeat triggers the feed once per minute.
- REST API ingest: Pulls JSON from
api.adsb.lolwith no API key. - Aircraft fan-out: Publishes callsign, type, position, altitude, and speed under
demo/flights/aircraft/<hex>/.... - Metric and aviation twins: Stores canonical SI values plus
altitude_ftandvelocity_kt. - Summary model: Publishes a collapsed
FlightsSummarydocument after each poll. - Safe parsing: Checks
totaland aircraft fields as strings before numeric conversion.
Prerequisites
- Internet egress from Coreflux
- REST_API route support
- Access to publish actions and models
