Scripted Stats

I apologise if this has been asked a gazillion times, but my google foo appears not to be strong.

How do I obtain various stats from the FlightAware instance on my Pi? Specifically I’m looking for dump1090_total_ac_positions, dump1090_total_ac etc, that the web page brings up.

I’ve checked /run/dump1090-fa and /var/log without success, so assuming they’re called something else?

Any help would be appreciated to point me in the direction of these and current flights being tracked.

Kind Regards

You can get stats from the json files generated by dump1090: dump1090/ at master · flightaware/dump1090 · GitHub

If you are looking at something to log and plot that data, then you could try graphs1090.

You won’t find those exact numbers, they are piaware stats and not available locally i believe.

You checked in /run/dump1090-fa and didn’t find the current flights being tracked?
That’s strange.

You can’t

the Piaware stats are calculated via different parameters not using all data you are sending.
I am also not aware of any script pulling this information from the website itself. Tried it several times using python etc. but wasn’t very successful so far.

I am simply copy&paste them from the stats page from time to time.
As the stats are available for the last 30 days you do not need to do that every day.

I solved it… I think! and Created an LCD Dashboard that shows the stats in real-time along with total flights detected that day. I haven’t added in 978 support yet as that’s not used in Europe.

1 Like

Great work!

Just out of curiosity
Did you also try to change the order of the two filters, so Uputronics first and then the blue FA towards the antenna?

I am still unsure which order would show better results if any.

Jetvision does have a display also in their Airsquitter Receivers, but i have no idea how this is implemented:


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