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

Add support for adjusting -symbollength #7

Merged
merged 2 commits into from
May 28, 2021

Conversation

jjlawren
Copy link
Contributor

The default -symbollength used by rtlamr is 72, which defines a sample rate that may be higher than necessary for some users. A lower sample rate can reduce CPU consumption without impacting functionality.

Please see discussion here and documentation here.

In my case I can use a sample length of 8 for an r900 water meter with a significantly reduced CPU load.

@jjlawren
Copy link
Contributor Author

Just noticed the ENVAR name used by rtlamr is slightly different and this can be simplified a bit. Will adjust.

@jjlawren
Copy link
Contributor Author

Updated the script to let rtlamr rely on the environment variables it already supports. No need to explicitly set the flags where the default isn't overridden.

@seanauff seanauff merged commit 3b63c06 into seanauff:master May 28, 2021
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

Successfully merging this pull request may close these issues.

2 participants