-
Make it a service and read just the aircraft.json at certain intervals, sleep in python. (https://github.com/wiedehopf/adsb-wiki/wiki/Generic-systemd-service) That way the processing is better spread out.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
readsb-protobuf
Readsb is a Mode-S/ADSB/TIS decoder for RTLSDR, BladeRF, Modes-Beast and GNS5894 devices. Future development version with protocol buffer storage.
this sub recently turned me on to readsb-protobuf, which is a more modern decoder that fills the same role as dump1090. there's a really nice Docker container that packages it up, and includes an output to InfluxDB, a time-series database. so you could potentially build this as a set of queries against an Influx instance, rather than maintaining your own state in a JSON file.
-
docker-readsb-protobuf
Multi-architecture readsb-protobuf container with support for RTLSDR, bladeRF and plutoSDR (x86_64, arm32v7, arm64v8)
this sub recently turned me on to readsb-protobuf, which is a more modern decoder that fills the same role as dump1090. there's a really nice Docker container that packages it up, and includes an output to InfluxDB, a time-series database. so you could potentially build this as a set of queries against an Influx instance, rather than maintaining your own state in a JSON file.
-
Telegraf
Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
a neat trick is, you don't have to have it write directly to InfluxDB. there's a tool called telegraf from the same company, and you can have it expose the same API as an InfluxDB server, and then forward the data elsewhere. I do this because I have a complicated setup with multiple antennas in multiple locations and I have all their data flow into a single Influx instance, so I use RabbitMQ shovels as a backhaul (this is over-engineered and not strictly necessary but I'm playing around with RabbitMQ as an /r/homelab thing and ADS-B gives me a nice reliable source of messages)
-
This has insipred to make me my own version of this, available here: https://github.com/nfacha/adsb-stats-logger