Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADS-B Aggregator support #27

Open
christopher-davidson opened this issue Feb 17, 2024 · 0 comments
Open

ADS-B Aggregator support #27

christopher-davidson opened this issue Feb 17, 2024 · 0 comments

Comments

@christopher-davidson
Copy link

Documentation lists adsb.fi as a supported aggregator but it appears their messages are in a slightly different format.

Example: https://api.airplanes.live/v2/point/38/-78/25
{ "ac": [ { "hex": "ac2f18", "type": "adsb_icao", "flight": "SWA5633 ", "r": "N8840Q", "t": "B38M", "desc": "BOEING 737 MAX 8", "ownOp": "SOUTHWEST AIRLINES CO", "year": "2023", "alt_baro": 34000, "alt_geom": 33625, "gs": 295.3, "track": 220.05, "baro_rate": 0, "squawk": "7025", "emergency": "none", "category": "A3", "nav_qnh": 1013.6, "nav_altitude_mcp": 34016, "nav_heading": 246.8, "lat": 37.919632, "lon": -78.055699, "nic": 8, "rc": 186, "seen_pos": 0.353, "version": 2, "nic_baro": 1, "nac_p": 10, "nac_v": 2, "sil": 3, "sil_type": "perhour", "gva": 2, "sda": 2, "alert": 0, "spi": 0, "mlat": [], "tisb": [], "messages": 4214, "seen": 0.4, "rssi": -15.7, "dst": 5.499, "dir": 208.7 }, { "hex": "ad6ecd", "type": "adsb_icao", "flight": "AVA077 ", "r": "N965AV", "t": "A20N", "desc": "AIRBUS A-320neo", "ownOp": "BANK OF UTAH TRUSTEE", "year": "2022", "alt_baro": 28000, "alt_geom": 27475, "gs": 315.9, "track": 219.99, "baro_rate": 64, "squawk": "7023", "emergency": "none", "category": "A3", "nav_qnh": 1012.8, "nav_altitude_mcp": 28000, "lat": 37.980194, "lon": -77.991301, "nic": 8, "rc": 186, "seen_pos": 0, "version": 2, "nic_baro": 1, "nac_p": 10, "nac_v": 2, "sil": 3, "sil_type": "perhour", "gva": 2, "sda": 2, "alert": 0, "spi": 0, "mlat": [], "tisb": [], "messages": 3610, "seen": 0, "rssi": -15.8, "dst": 1.236, "dir": 159.1 } ], "msg": "No error", "now": 1708203924153, "total": 2, "ctime": 1708203924153, "ptime": 0 }

Example: https://opendata.adsb.fi/api/v2/lat/38/lon/-78/dist/10
{ "now": 1708203928.719, "aircraft": [ { "hex": "ac2f18", "type": "adsb_icao", "flight": "SWA5633 ", "r": "N8840Q", "t": "B38M", "desc": "BOEING 737 MAX 8", "alt_baro": 34000, "alt_geom": 33625, "gs": 295.3, "track": 220.05, "baro_rate": 0, "squawk": "7025", "emergency": "none", "category": "A3", "nav_qnh": 1013.6, "nav_altitude_mcp": 34016, "nav_heading": 246.8, "lat": 37.914505, "lon": -78.061134, "nic": 8, "rc": 186, "seen_pos": 0, "version": 2, "nic_baro": 1, "nac_p": 10, "nac_v": 2, "sil": 3, "sil_type": "perhour", "gva": 2, "sda": 2, "alert": 0, "spi": 0, "mlat": [], "tisb": [], "messages": 30708950, "seen": 0, "rssi": -9.3, "dst": 5.85, "dir": 209.4 }, { "hex": "ad6ecd", "type": "adsb_icao", "flight": "AVA077 ", "r": "N965AV", "t": "A20N", "desc": "AIRBUS A-320neo", "alt_baro": 28000, "alt_geom": 27475, "gs": 315.1, "track": 220.11, "baro_rate": 0, "squawk": "7023", "emergency": "none", "category": "A3", "nav_qnh": 1012.8, "nav_altitude_mcp": 28000, "lat": 37.975267, "lon": -77.996541, "nic": 8, "rc": 186, "seen_pos": 0.085, "version": 2, "nic_baro": 1, "nac_p": 10, "nac_v": 2, "sil": 3, "sil_type": "perhour", "gva": 2, "sda": 2, "alert": 0, "spi": 0, "mlat": [], "tisb": [], "messages": 17540559, "seen": 0, "rssi": -9.1, "dst": 1.494, "dir": 173.7 } ], "resultCount": 2, "ptime": 0.02 }

Adsbfi does use a format that works for https://opendata.adsb.fi/api/v2/mil

Is it worth updating get_adsbx_feed to allow for "aircraft" in addition to "ac"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant