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

Allow for Plugins to change certain Config values #500

Open
blackwellj opened this issue Aug 23, 2021 · 5 comments
Open

Allow for Plugins to change certain Config values #500

blackwellj opened this issue Aug 23, 2021 · 5 comments
Assignees

Comments

@blackwellj
Copy link

I would like to make a webpage to configure trunk Recorder. would it be possible to create a rest api to allow settings changes on the fly without the need to restart the docker container each time?

@robotastic
Copy link
Owner

Totally! I am trying to keep as much added features out of the core of Trunk Recorder to keep things clean. Let me see if there is some way to make this work with the plugin system. Ultimately, the way you send in those changes should be flexible. It could be over a REST API or WebSocket or MQTT. It would be great to be able to adjust the error correction on the fly though.

@blackwellj
Copy link
Author

Error correction, channels and squelch would be amazing! I’m using the system to monitor analog marine vhf communications

@robotastic robotastic self-assigned this Sep 8, 2021
@robotastic
Copy link
Owner

Cool - This will probably be a little longer on the build out side. I first have to get the basic plugin system shipped first.

@JoeGilkey
Copy link
Contributor

I have an idea for this. I have an application that I wrote that reads the config files, runs rtl_power on the control channels, then uses the results to calculate ppm. The ppm values are then written out to the config file. The config read/write is in a separate program that uses grpc to communicate with the ppm calculation program. I'll work on making something more formal. You could use a grpc -> rest gateway (see this example: gRPC with REST and Open APIs) to expose this.

@robotastic
Copy link
Owner

This is still a good idea.... I think it could work for things around tuning, like Gain and Error

@robotastic robotastic changed the title Settings API Allow for Plugins to change certain Config values Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants