Question on SkyAware and how it get the aircraft data is shows

I wrote a c# program that reads “http://192.168.1.11/dump1090-fa/” which is what I do in the browser to see what my fa pi is doing. SkyAware at that point shows a nice map and a little table of what’s going on. Great. I actually get all the html that makes that page and can even render it myself if I want. But I can’t figure out what it does to populate the “tableinfo” (the html tag for it) table. Does anyone know what it does to actually populate the table? I would like to get the data not just the page html stuff.

You can get aircraft data from a json at <ip>/dump1090-fa/data/aircraft.json rather than scraping the html. That contains the status of all aircraft that are currently being received.

The source for dump1090-fa is available here if you want to dig deeper into what’s happening.

You can also browse or telnet to your Pi on port 30003 and see the ADSB messages directly

It looks like and is well documented.

MSG,5,1,1,7C6039,1,2020/04/27,23:25:22.140,2020/04/27,23:25:22.157,400,0,0,
MSG,3,1,1,7C41DE,1,2020/04/27,23:25:22.140,2020/04/27,23:25:22.157,5375,-37.57727,145.11274,0
MSG,3,1,1,7C629F,1,2020/04/27,23:25:22.142,2020/04/27,23:25:22.158,3400,-38.32092,144.62122,0
MSG,4,1,1,7C629F,1,2020/04/27,23:25:22.142,2020/04/27,23:25:22.158,170,105,0,0
MSG,6,1,1,7C6039,1,2020/04/27,23:25:22.153,2020/04/27,23:25:22.203,3000,0,0,0,
MSG,3,1,1,7C6ABC,1,2020/04/27,23:25:22.158,2020/04/27,23:25:22.204,1675,-38.02373,144.93743,
MSG,8,1,1,7C3381,1,2020/04/27,23:25:22.179,2020/04/27,23:25:22.208,0
MSG,8,1,1,7C6034,1,2020/04/27,23:25:22.208,2020/04/27,23:25:22.257,0
MSG,7,1,1,7C6590,1,2020/04/27,23:25:22.211,2020/04/27,23:25:22.258,12500,
MSG,4,1,1,7C6590,1,2020/04/27,23:25:22.223,2020/04/27,23:25:22.261,111,353,768,0
MSG,1,1,1,7C3381,1,2020/04/27,23:25:22.229,2020/04/27,23:25:22.262,KGJ ,0
MSG,4,1,1,7C5322,1,2020/04/27,23:25:22.243,2020/04/27,23:25:22.265,416,186,-2176,0
MSG,4,1,1,7C764B,1,2020/04/27,23:25:22.265,2020/04/27,23:25:22.312,417,276,1408,0
MSG,8,1,1,7C6210,1,2020/04/27,23:25:22.321,2020/04/27,23:25:22.367,0
MSG,3,1,1,7C764B,1,2020/04/27,23:25:22.355,2020/04/27,23:25:22.375,24375,-37.57571,143.54647,0
MSG,3,1,1,7C6210,1,2020/04/27,23:25:22.359,2020/04/27,23:25:22.376,4300,-37.66267,144.27569,0
MSG,4,1,1,7C6210,1,2020/04/27,23:25:22.359,2020/04/27,23:25:22.376,86,303,-128,0
MSG,6,1,1,7C6ABC,1,2020/04/27,23:25:22.391,2020/04/27,23:25:22.425,3730,0,0,0,
MSG,3,1,1,7C6590,1,2020/04/27,23:25:22.401,2020/04/27,23:25:22.427,12500,-37.55504,144.95929,0
MSG,8,1,1,7C764B,1,2020/04/27,23:25:22.465,2020/04/27,23:25:22.484,0
MSG,4,1,1,7C4A28,1,2020/04/27,23:25:22.477,2020/04/27,23:25:22.529,146,84,0,0
MSG,3,1,1,7C3381,1,2020/04/27,23:25:22.496,2020/04/27,23:25:22.533,850,-37.97112,145.12390,0
MSG,4,1,1,7C3381,1,2020/04/27,23:25:22.496,2020/04/27,23:25:22.533,119,167,-192,0
MSG,3,1,1,7C4A28,1,2020/04/27,23:25:22.543,2020/04/27,23:25:22.586,3850,-38.00399,144.75986,0

Thank you. That is exactly the simple answer I was looking for. Is there any preferred frequency for calling this thing? 1/sec maybe? Appreciate your time.

It just continuously spews out messages as they arrive apparently without any processing.

It is a continuous flow.

S

The json is usually updated usually once per second. This page has more information about what data is available in the various json files available.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.