Watching data on the console


#1

I’ve just setup my PiAware on a RPi3 using the fresh install method. I have captured a few planes here and there, but it’s not really that good so far. I suspect it’s because I’m in the middle of the CBD and there is a lot of buildings blocking my signal (I’m on the 10th floor). NOTE: I am running this device locally only, at this stage I can’t connect it to the internet.

A few things I’m trying to do:

  1. Watch data captured on a SSH console, how do I do this?
  2. How do I set my lat, lon? Do I somehow edit it into the startup flags for dump1090-fa?
  3. How do I change the start-up flags for dump1090-fa?

Thanks in advance


#2

data captured you can see using command in console ./dump1090, i dont no what fresh installation you mean but location you can set running config installation again or in flightaware website unter your adsb page.
cheers :beers:

Sent from my SM-N910F using Tapatalk


#3

For a table view, try "view1090-fa"
For just the messages themselves (this will be verbose!) try “view1090-fa --no-interactive”, or “view1090-fa --show-only ABCDEF” to show only messages from address ABCDEF

  1. How do I set my lat, lon? Do I somehow edit it into the startup flags for dump1090-fa?

Set your location on your stats page here: flightaware.com/adsb/stats/user/blakemcleod (looks like you have already done that)
Then restart piaware (sudo systemctl restart piaware) and it will notice the new location, update the dump1090-fa configuration and restart it.

edit: this obviously won’t work if you can’t get an internet connection. There’s no particularly simple way to fix that, but if you can get it connected once then it will remember the location thereafter.

  1. How do I change the start-up flags for dump1090-fa?

On the sdcard image, the dump1090-fa options in /etc/default/dump1090-fa are machine-generated from the piaware configuration, so you can’t (easily) change them directly (any changes will get clobbered on restart)


#4
  1. Awesome, thanks for that! Is there a way I can keep the messages in history for longer?

  2. I managed to do this by editing the config.js file :slight_smile:

  3. I have a fair bit of software developer experience, are you able to point me to the piaware configuration to modify this? I’m logged in using PuTTy.

A new query, when I put in my Bing API key, the interface doesn’t load up. It just has the loading wheel. I’m running 3.1.0, just updated last night and it was fine before.


#5

Make sure the Bing key is in quotes.
eg
BingMapsAPIKey = “ashdkhaflhhflwqflhwqfkhkfdslksafddsafksakfd” ;

You could enable logging but that will fill up the SD card pretty quickly.

Look at Joe’s scripts and sending the info to a database. It is part of an Advanced setup.
ads-b-flight-tracking-f21/ads-b-receiver-project-setup-scripts-t36532.html


#6

Take a look at /usr/lib/piaware-support/generate-receiver-config


#7

Thanks for the help guys, another question…

How do I alter the PiAware device to not delete historical planes? I would like to map out every plane captured on the day so I can eventually work out my maximum range I’m getting without having to watch it all day.

I would like the PiAware map to also keep planes listed even though they’re long gone.


#8

You have a few choices here.

  1. Search the forums for the heatmap scrips. This will do what you want graphically.
  2. Look at the advanced settings for Joe’ scripts. They allow you to log all positions to a database for later use ads-b-flight-tracking-f21/ads-b-receiver-project-setup-scripts-t36532.html