# Tweaks

**URL:** <https://discussions.flightaware.com/t/tweaks/20339>\
**Category:** ADS-B Flight Tracking\
**Created:** [July 24, 2017, 6:49am UTC](https://discussions.flightaware.com/t/tweaks/20339 "2017-07-24T06:49:09Z")\
**Posts on this page:** 1\
**Showing post:** 129

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [August 13, 2019, 8:23pm UTC](https://discussions.flightaware.com/t/tweaks/20339/129 "2019-08-13T20:23:59Z")

</div>

Are you asking about the gain script?

It’s really a rather random thing to use.

I’d recommend installing graphs and just changing the gain every day manually.  
[GitHub - wiedehopf/graphs1090: Graphs for readsb / dump1090-fa / dump1090 (based on dump1090-tools by mutability)](https://github.com/wiedehopf/graphs1090#graphs1090)

A very good starting point is usually 5% messages \>-3dB

```auto
awk "$(cat /run/dump1090*/stats.json| grep total | sed 's/.*accepted":\[\([0-9]*\).*strong_signals":\([0-9]*\).*/BEGIN {printf "\\nPercentage of strong messages: %.3f \\n" , \2 * 100 \/ \1}/')"

```

After that any changes to reception are most likely only noticeable over multiple days or comparing to a second station.  
Also see this thread where the above command is explained a bit:  
[Thoughts on optimizing gain - #2 by wiedehopf](https://discussions.flightaware.com/t/thoughts-on-optimizing-gain/44482/2)

---

_[View the full topic](https://discussions.flightaware.com/t/tweaks/20339)._
