Strange loss of positions/aircrafts and range

Maybe this can help you:
Automatic installation for dump1090 fa · wiedehopf/adsb-scripts Wiki · GitHub
If you would rather use readsb, you can use this:
Automatic installation for readsb · wiedehopf/adsb-scripts Wiki · GitHub

It’s not a library and no it doesn’t change gain on its own.
The default might be a different gain, not sure.

Thoughts on optimizing gain