Subscription question

Hi, real newbie question, but I keep seeing pages where I need to have a subscription to FlightAware. Its this necessary for everyone? I just want to develop a few simple apps locally on my rPi, no real need to share the data I track, just getting some simple apps working.

Im just wondering if I need it, and what purpose it serves?

Some advice would be greatly appreciated.

cheers
Simon

Hi and welcome.

No you don’t need a subscription (to run the FA software), but there are many other ways to setup a receiver if you specificity don’t want to feed an aggregator.

If you are concerned about the cost, the subscription is free to feeders.

Thankyou so much Gecko!!
I was hoping in many ways to be able to get the feed, and parse information using python on my rPI and do a few other API calls with it, just wasnt sure if I had to do the subscription to be able to do that. I looked at another provider a year or so ago, and tried to, but they didnt want my feed as there were too many people doing the same from within the range, so I thought that was it.

Do you know of any examples etc of taking the feed from the receiver? Apologies so many questions, but thankyou for answering the original one :smiley:

You can parse the aircraft.json which is produced by the application. This you can get from the URL on your Raspberry while running Skyaware

http://[IP of RPi]/skyaware/data/aircraft.json

This you can parse with python or any other application capable doing that.

Awesome! Thanks foxhunter! Perfect.
If I can set GET requests to the URL, return responses, then query the data available and return additional aircraft resposnes that would be very cool if possible.

Cheers

correct.

I am doing a similar thing. Getting the data from that json, convert it to CSV, remove duplicates within a certain period of time and push it to a SQLite DB.

For this i am using this script, slightly modified:

Logging dump1090-fa to local database – Cactus Projects

As this only contain the minimum information you will need to import a standings db which contain flight and aircraft information. This can be done combined via inner join.

Oh yes, I like that one Foxhunter. Thats quite nice example. I’ll try an repurpose that into a little realtime example, as thats what Im looking to accomplish, but as a solution (when I can get my basic bits working), this would come in very handy. Nice find, thanks!

Hey Foxhunter…received my FA dongle and antenna. OMgoodness, just working as hoped from my rPI.

JSON updates perfectly.

Thanks for your help mate, much appreciated.

1 Like

Hi again @foxhunter, sorry mate, did this work?

http://cactusprojects.com/logging-dump1090-fa-to-local-database/

Sorry again! Youre just helpful!

I suggested this already in a previous post.
You need of course adjust it to your needs and your environment

Sorry mate @foxhunterm very helpful

Hey @foxhunter, Im hoping you can help me a little with the SQL code version. CSV is perfect.

Running the SQL gets this …

Traceback (most recent call last):
File “flight_logger_sql.py”, line 74, in
df1 = pd.json_normalize(json_dump[‘aircraft’])
AttributeError: ‘module’ object has no attribute ‘json_normalize’

Ive updated my rPI, pip pandas shows

pi@raspberrypi:~ $ pip show pandas
Name: pandas
Version: 0.24.2

But pip3 show me this…

pi@raspberrypi:~ $ pip3 show pandas
Name: pandas
Version: 1.3.3

I know its probably something daftly simple Im missing, but if you could help it would be much appreciated.

And also no idea why this as its a completely new install of rPI OS.
pi@raspberrypi:~ $ python --version
Python 2.7.16
pi@raspberrypi:~ $ python3 --version
Python 3.7.3

Sorry mate, thankyou in advance

I am not a Python expert. But are you running the script with
sudo python3 [script] ?

The error is correct as json_normalize is only available in pandas > 1.0.3

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