working like a champ, Busy time now so see what results I get. Plus I can just leave the window open as Ill be gone for hour or two
So far it 48 still leads the way
what really surprised me is I had power supply issues that took time to trouble shoot. One step I had performed is re-imaged the memory card. I didnt change the gain settins and had been running default -10 and so far that is showing the worst performance of the gain settings.
after running the script and making changes in /boot/piaware-config.txt, my receive hits drop to 2, any ideas why this would be ??? gain is currently set @ -10 in this file but a change to -44 has the above result.
A negetive (-) value of gain results in gain set to zero. Only positive values between 0 and 49.6 are accepted by dongle.
The -10 gain value is the only negetive value accepted by dongle and is a special value. It does NOT set gain to -10. It switches the dongle to AGC mode (Automatic Gain Control mode).
Yes, it is possible to change gain (and also other configurations) without console command (SUDO method as you have said), but only if you have burned your microSD card with Piaware SD card image. Even in this case, it is more difficult than console command.
Shut down your PI
Slip out microSD card and slip into card reader of your Desktop / Laptop
Double click on the drive letter of microSD card to open it
In the folder opened you will find a file named piaware-config.txt
Open this file, scroll down till you see this text
# RECEIVER CONFIGURATION
#
# For a complete list of receiver types and their associated settings,
# see the Advanced Configuration page linked at the top of this file.
# For a receiver type of 'rtlsdr', this setting controls the dongle gain.
# -10 means AGC / maximum gain; other values mean a gain value in dB.
rtlsdr-gain -10
#
In line starting with rtlsdr-gain, change -10 to the value you want to set for gain.
If any configuration is not already available in file piaware-config.txt, scroll down the file and add a line with required config entry at the bottom of file.
Looks like I got some bad code somewhere. That one works well. Checked back to command history and I did use sudo …
Seems to be running now with the one you just posted.
some gain optimization scripts delete - inadvertently - the dump1090-mutability in /etc/default, happened to me in the past
what is the output from sudo cat /etc/default/dump1090-mutability ?
should be a file with many lines.
After 5 runs we get the totals and I would expect the cumulative sum for messages, positions and airplanes.
It seems that the airplanes are calculated differently because they don’t add up as they should, why?