Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autogain script issue #177

Open
dirkhh opened this issue Feb 24, 2023 · 1 comment
Open

autogain script issue #177

dirkhh opened this issue Feb 24, 2023 · 1 comment
Assignees

Comments

@dirkhh
Copy link

dirkhh commented Feb 24, 2023

When in a place where a gain of 49.6 so overloads the SDR that it gets not messages at all, the script will keep sitting at the highest value and not progress.
The obvious solution would seem to be to pass in a lower value for AUTOGAIN_MAX_GAIN_VALUE, but that's insufficient when then simply restarting the readsb container as it just continues on the value that it already started on.

As a hackish workaround I documented in the GitBook that one can simply overwrite the /run/autogain/autogain_current_value with something like

docker exec -it readsb sh -c "/bin/echo 34 > /run/autogain/autogain_current_value"
docker restart readsb

but it would be nicer if this, too, could be handled via changes to the environment variable.

@mikenye mikenye self-assigned this Feb 25, 2023
@wandering-andy
Copy link

I been noticing this too. Thanks for coming up with workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants