I used the second script mentioned in the previous post for quite a while.
The problem is that it counts unique aircraft only. If an aircraft passes your receiver twice but with different flight numbers (inbound and outbound), it is still counted only once.
In the first link i suggested to setup a virtualradarserver which can be running on the same raspberry.
This offers a database solution which logs all flights seen by your receiver.
Or you can do the hardcore version:
- Get the aircraft.json via cron job every few minutes and write it to a json file
- Convert the json to CSV/Excel
- Remove the duplicates where registration, flightnumber and datae are identical