Benefits of using modesfiltered: time info

Questions about joining this site
Post Reply
modesfan
Posts: 99
Joined: Thu Apr 07, 2016 7:37 pm

Benefits of using modesfiltered: time info

Post by modesfan » Sat Dec 29, 2018 11:29 am

In this post I am presenting an advantage of using the logger modesfiltered over the standard windows-client modeslogger.

Next picture is a screenshot of the map feature. I have selected a flight of the RAF operated Sentry AEW1 ZH101 on december 28th in 2018 around 11 oclock. If you click the left mouse button on a red plane (reported position) a small window with a time info is opened. I did this for several positions and merged all windows into one picture.

Image

The time doesnt change, it is at all positions 11:05:42 (for this station). This station was running a windows-client modeslogger. Additionally positions reported by stations running modesfiltered are marked with pink dots. You see distance between pink dots is around 25…30 km which corresponds to a two minutes reporting interval.

In the next picture the time info of positions reported by modesfiltered are shown. The difference in time is two minutes. One can derive the flight direction.

Image

modesfan
Posts: 99
Joined: Thu Apr 07, 2016 7:37 pm

Benefits of running modesfiltered on a RPi: low power consumption

Post by modesfan » Sat Dec 29, 2018 2:21 pm

Since modesfiltered is Java based, it can run on different hardware. In the photo below the software runs on a Raspberry Pi 3 Model B with a RTL-SDR dongle. On the right hand side you see a power-measuring device Voltcraft Energy-Check 3000. The display shows 3.4 W. Even though this measurement is not very precise, power consumption of a RPi is definitely below that of a PC or notebook. This becomes important when running 24/7.
Image
Last edited by modesfan on Sun Dec 30, 2018 9:41 am, edited 1 time in total.

modesfan
Posts: 99
Joined: Thu Apr 07, 2016 7:37 pm

Benefits of using modesfiltered: offline mode

Post by modesfan » Sat Dec 29, 2018 5:20 pm

If you want to gather data without being connected to the Internet, you can start the tool with option -nosql. If set, the program logs type 1 and 5 messages (identification and surveillance altitude) to a file called loggedMSGs.csv. No data will be transferred to the server / website.

modesfan
Posts: 99
Joined: Thu Apr 07, 2016 7:37 pm

Benefits of using modesfiltered: command line interface, scripting

Post by modesfan » Sat Dec 29, 2018 5:41 pm

You can adapt the start script to your needs.

If you want the output of each run of the program to be appended to the log file and not overwritten, change line 26 of the original script:

Code: Select all

java -jar $PROG >> $LOGFILE 2>>$LOGFILE &
If you want the logfile to have a date stamp, replace line 15 of the original script:

Code: Select all

NOW=$(date +"%F-%H:%M")
LOGFILE="/var/log/modes_$NOW.log"

Albert
Posts: 2998
Joined: Mon Sep 08, 2008 8:57 am

Re: Benefits of using modesfiltered: time info

Post by Albert » Sat Jan 12, 2019 6:47 pm

Thanks! All the best for 2019 to you too! Albert

modesfan
Posts: 99
Joined: Thu Apr 07, 2016 7:37 pm

Benefits of using modesfiltered: low traffic usage

Post by modesfan » Sun May 12, 2019 9:21 am

Statistics of 30 minutes network traffic

Code: Select all

tool/site        |  traffic      |  Bytes/sec   |   per day    |  per month
-----------------+---------------+--------------+--------------+---------------
ADSB-Exchange    |  711122 Bytes |  395 Bytes/s |  34 MBytes/d | 1 GByte/30d
                 |               |              |              |
Flightaware      |  228590 Bytes |  127 Bytes/s |  11 MBytes/d | 329 MBytes/30d
                 |               |              |              |
Live-Mil-Mode-S  |    9793 bytes |    6 Bytes/s | 0,5 MBytes/d | 14 MBytes/30d
Data was extrapolated per day by x 48, per month by x 1440.

Post Reply