Dump1090 erzeugt auch JSON-Dateien, die periodisch aktualisiert werden und die auch extern verwendet werden können.
Dies sind ua. die folgenden Dateien:
- aircraft.json
- stats.json
- receiver.json
- history_0.json, history_1.json, …, history_119.json
Die genaue Dokumentation ist hier zu finden.
Über den Browser kann man auf diese Dateien z.B. so zugreifen, wenn ein externer Server verwendet wird:
http://(Raspberry Pi Adfresse)/dump1090/data/aircraft.json
im Dateisystem sind sie unter
/run/dump1090-mutability
zu finden.
Die aircraft.json liefert dann z.B. die folgenden Infos:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
{ "now" : 1477335099.4, "messages" : 10764405, "aircraft" : [ {"hex":"405858","altitude":2925,"mlat":[],"tisb":[],"messages":5,"seen":4.5,"rssi":-34.6}, {"hex":"484cc3","mlat":[],"tisb":[],"messages":6,"seen":22.8,"rssi":-37.0}, {"hex":"471f84","squawk":"2223","lat":52.875847,"lon":9.529384,"nucp":7,"seen_pos":3.3,"altitude":38000,"vert_rate":0,"track":274,"speed":354,"mlat":[],"tisb":[],"messages":201,"seen":0.2,"rssi":-30.9}, {"hex":"485339","squawk":"1000","flight":"CND192 ","lat":51.550598,"lon":8.176649,"nucp":7,"seen_pos":3.1,"altitude":38000,"vert_rate":0,"track":313,"speed":412,"category":"A0","mlat":[],"tisb":[],"messages":310,"seen":0.5,"rssi":-34.3}, {"hex":"3c6677","squawk":"5005","flight":"DLH6YL ","lat":52.101700,"lon":10.502319,"nucp":7,"seen_pos":0.5,"altitude":28000,"vert_rate":0,"track":39,"speed":533,"category":"A0","mlat":[],"tisb":[],"messages":328,"seen":0.0,"rssi":-26.8}, {"hex":"473411","squawk":"2013","flight":"WZZ879 ","lat":51.699798,"lon":8.128052,"nucp":7,"seen_pos":17.3,"altitude":36000,"vert_rate":0,"track":275,"speed":337,"category":"A0","mlat":[],"tisb":[],"messages":231,"seen":0.2,"rssi":-34.6}, {"hex":"484133","squawk":"3167","flight":"KLM1369 ","lat":52.560242,"lon":8.858109,"nucp":6,"seen_pos":0.9,"altitude":36975,"vert_rate":448,"track":84,"speed":543,"category":"A0","mlat":[],"tisb":[],"messages":676,"seen":0.2,"rssi":-27.8}, {"hex":"406a95","mlat":[],"tisb":[],"messages":218,"seen":0.5,"rssi":-35.4}, {"hex":"4ca295","mlat":[],"tisb":[],"messages":12,"seen":111.2,"rssi":-34.9}, {"hex":"4b1901","squawk":"2730","flight":"SWR1273 ","lat":52.375305,"lon":9.864883,"nucp":6,"seen_pos":36.9,"altitude":41050,"vert_rate":0,"track":193,"speed":435,"category":"A0","mlat":[],"tisb":[],"messages":280,"seen":1.3,"rssi":-32.5}, {"hex":"405634","mlat":[],"tisb":[],"messages":62,"seen":129.1,"rssi":-34.8}, {"hex":"3c55a5","mlat":[],"tisb":[],"messages":192,"seen":140.2,"rssi":-33.3}, {"hex":"3c66ac","mlat":[],"tisb":[],"messages":55,"seen":205.5,"rssi":-34.6}, {"hex":"a79b46","squawk":"1114","flight":"N59CF ","lat":52.033722,"lon":10.935135,"nucp":7,"seen_pos":18.0,"altitude":32000,"vert_rate":64,"track":255,"speed":383,"category":"A2","mlat":[],"tisb":[],"messages":1269,"seen":0.2,"rssi":-34.2}, {"hex":"471f81","lat":51.942032,"lon":11.199036,"nucp":7,"seen_pos":17.9,"altitude":38000,"vert_rate":-64,"track":285,"speed":339,"mlat":[],"tisb":[],"messages":789,"seen":7.5,"rssi":-34.8}, {"hex":"4b169a","squawk":"1131","flight":"SWR170X ","lat":52.285217,"lon":9.450226,"nucp":7,"seen_pos":0.3,"altitude":35000,"vert_rate":0,"track":187,"speed":365,"category":"A0","mlat":[],"tisb":[],"messages":6431,"seen":0.2,"rssi":-19.2}, {"hex":"4053c4","altitude":"ground","mlat":[],"tisb":[],"messages":390,"seen":19.8,"rssi":-29.1}, {"hex":"4408d7","mlat":[],"tisb":[],"messages":92,"seen":186.6,"rssi":-28.2}, {"hex":"7809a5","altitude":35000,"vert_rate":0,"track":40,"speed":531,"mlat":[],"tisb":[],"messages":576,"seen":2.0,"rssi":-33.9}, {"hex":"3c4891","flight":"BER415M ","lat":52.295341,"lon":10.076503,"nucp":6,"seen_pos":0.6,"altitude":31000,"vert_rate":-128,"track":68,"speed":537,"category":"A0","mlat":[],"tisb":[],"messages":2628,"seen":0.0,"rssi":-31.2}, {"hex":"3c5451","mlat":[],"tisb":[],"messages":471,"seen":208.4,"rssi":-34.8}, {"hex":"3c6583","mlat":[],"tisb":[],"messages":1532,"seen":109.4,"rssi":-32.7}, {"hex":"49d055","mlat":[],"tisb":[],"messages":2093,"seen":212.4,"rssi":-33.1}, {"hex":"3c6dcd","mlat":[],"tisb":[],"messages":3171,"seen":293.0,"rssi":-32.4}, {"hex":"4baa8b","altitude":25875,"vert_rate":1216,"track":123,"speed":474,"mlat":[],"tisb":[],"messages":5791,"seen":0.0,"rssi":-35.1}, {"hex":"4a08e2","mlat":[],"tisb":[],"messages":1983,"seen":298.1,"rssi":-35.2}, {"hex":"4b19f0","mlat":[],"tisb":[],"messages":6586,"seen":258.2,"rssi":-34.3}, {"hex":"471f66","squawk":"2210","flight":"WZZ1AG ","lat":52.319781,"lon":9.848301,"nucp":7,"seen_pos":39.8,"altitude":36000,"vert_rate":0,"track":268,"speed":335,"category":"A0","mlat":[],"tisb":[],"messages":4441,"seen":0.4,"rssi":-31.4}, {"hex":"3c0a53","mlat":[],"tisb":[],"messages":1857,"seen":267.5,"rssi":-24.1}, {"hex":"4ca6ac","altitude":18025,"mlat":[],"tisb":[],"messages":2393,"seen":43.4,"rssi":-33.4}, {"hex":"4ca256","squawk":"1332","flight":"RYR39SD ","lat":52.278076,"lon":8.600998,"nucp":7,"seen_pos":0.1,"altitude":36000,"vert_rate":-64,"track":267,"speed":326,"category":"A0","mlat":[],"tisb":[],"messages":17263,"seen":0.1,"rssi":-30.1}, {"hex":"4ca915","altitude":29525,"vert_rate":-1728,"track":247,"speed":295,"mlat":[],"tisb":[],"messages":5572,"seen":0.4,"rssi":-33.8} ] } |
Und die stats.json z.B.
1 2 3 4 5 6 7 |
{ "latest":{"start":1477335907.3,"end":1477335907.3,"local":{"samples_processed":0,"samples_dropped":0,"modeac":0,"modes":0,"bad":0,"unknown_icao":0,"accepted":[0,0],"strong_signals":0},"remote":{"modeac":0,"modes":0,"bad":0,"unknown_icao":0,"accepted":[0,0]},"cpr":{"surface":0,"airborne":0,"global_ok":0,"global_bad":0,"global_range":0,"global_speed":0,"global_skipped":0,"local_ok":0,"local_aircraft_relative":0,"local_receiver_relative":0,"local_skipped":0,"local_range":0,"local_speed":0,"filtered":0},"altitude_suppressed":0,"cpu":{"demod":0,"reader":0,"background":0},"tracks":{"all":0,"single_message":0},"messages":0}, "last1min":{"start":1477335847.3,"end":1477335907.3,"local":{"samples_processed":144048128,"samples_dropped":0,"modeac":0,"modes":195233,"bad":82214,"unknown_icao":106561,"accepted":[5876,582],"signal":-23.7,"noise":-39.3,"peak_signal":-14.1,"strong_signals":0},"remote":{"modeac":0,"modes":174,"bad":0,"unknown_icao":0,"accepted":[174,0]},"cpr":{"surface":0,"airborne":343,"global_ok":318,"global_bad":0,"global_range":0,"global_speed":0,"global_skipped":0,"local_ok":21,"local_aircraft_relative":0,"local_receiver_relative":0,"local_skipped":4,"local_range":0,"local_speed":0,"filtered":0},"altitude_suppressed":0,"cpu":{"demod":6918,"reader":7724,"background":631},"tracks":{"all":1,"single_message":0},"messages":6632}, "last5min":{"start":1477335607.3,"end":1477335907.3,"local":{"samples_processed":720109568,"samples_dropped":0,"modeac":0,"modes":978795,"bad":413332,"unknown_icao":535546,"accepted":[26980,2937],"signal":-23.5,"noise":-39.4,"peak_signal":-8.2,"strong_signals":0},"remote":{"modeac":0,"modes":540,"bad":0,"unknown_icao":0,"accepted":[540,0]},"cpr":{"surface":20,"airborne":1645,"global_ok":1514,"global_bad":0,"global_range":0,"global_speed":0,"global_skipped":19,"local_ok":96,"local_aircraft_relative":0,"local_receiver_relative":0,"local_skipped":55,"local_range":0,"local_speed":0,"filtered":0},"altitude_suppressed":0,"cpu":{"demod":34427,"reader":38512,"background":3144},"tracks":{"all":12,"single_message":0},"messages":30457}, "last15min":{"start":1477335007.3,"end":1477335907.3,"local":{"samples_processed":2160328704,"samples_dropped":0,"modeac":0,"modes":2911580,"bad":1227949,"unknown_icao":1603326,"accepted":[72051,8254],"signal":-22.2,"noise":-39.4,"peak_signal":-2.7,"strong_signals":6},"remote":{"modeac":0,"modes":654,"bad":0,"unknown_icao":0,"accepted":[654,0]},"cpr":{"surface":24,"airborne":4830,"global_ok":4496,"global_bad":0,"global_range":0,"global_speed":0,"global_skipped":21,"local_ok":218,"local_aircraft_relative":0,"local_receiver_relative":0,"local_skipped":140,"local_range":0,"local_speed":0,"filtered":0},"altitude_suppressed":0,"cpu":{"demod":102283,"reader":115073,"background":9401},"tracks":{"all":41,"single_message":9},"messages":80959}, "total":{"start":1477156267.2,"end":1477335907.3,"local":{"samples_processed":431191883776,"samples_dropped":0,"modeac":0,"modes":554876126,"bad":232314917,"unknown_icao":311951730,"accepted":[9465397,1144082],"signal":-22.1,"noise":-39.5,"peak_signal":-1.5,"strong_signals":1936},"remote":{"modeac":0,"modes":227940,"bad":0,"unknown_icao":0,"accepted":[227940,0]},"cpr":{"surface":6335,"airborne":808619,"global_ok":753440,"global_bad":14,"global_range":0,"global_speed":14,"global_skipped":6165,"local_ok":37321,"local_aircraft_relative":0,"local_receiver_relative":0,"local_skipped":24179,"local_range":1,"local_speed":79,"filtered":0},"altitude_suppressed":0,"cpu":{"demod":19757033,"reader":23180818,"background":1793911},"tracks":{"all":6596,"single_message":1503},"messages":10837419} } |
Und die receiver.json Datei z.B.:
1 |
{ "version" : "v1.15~dev", "refresh" : 1000, "history" : 120 } |
Also alles was man so braucht.