Closed joelishness closed 1 year ago
Oh, I think it is likely because the container needs to be updated with the new variable before issuing the command.
So this would be out of order:
cd /opt/adsb
docker exec -it ultrafeeder autogain reset
docker compose up -d
Should be:
cd /opt/adsb
docker compose up -d
docker exec -it ultrafeeder autogain reset
But actually the reset command isn't correct anyway, should be:
cd /opt/adsb
docker compose up -d
docker exec -it ultrafeeder /usr/local/bin/autogain1090 reset
Per Pull request #122
+1, I was trying to set this too and it had no impact with READSB_AUTOGAIN_INITIAL_GAIN
. Did you dig in to this at all? I suspect that wherever the initial gain is being set (outside of autogain) that it's not considering the variable. I'll post back if I find where it's happening.
I'm going to close this issue:
If the issues persist, feel free to reopen this bug
Excerpt from deploy-ultrafeeder-container.md:
This does not seem to have any affect, triggering autogain does not respect this setting. I tried READSB_AUTOGAIN_INITIAL_GAIN=20, but it did not start at 20 as expected:
Additionally, searching the ultrafeeder repo yields no results for "READSB_AUTOGAIN_INITIAL_GAIN" or "INITIAL_GAIN".
Does this environment variable really exist?