-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Per-server telemetry enabling #214
Comments
You're right. This isn't something that I had think of, but I get that it can be a problem.
The problem is that The current fix is to set I'm open to implementing another way to do this, but I don't see how to get around the problem that the user needs to specify manually whether they want to send telemetry for this run of |
@jharwinbarrozo do you have any feedback regarding this, or can we close the issue? |
How hard to set a flag at the beginning of test.sh to disable the telemetry sending? |
That's certainly possible, but I think that such ad-hoc solution doesn't solve the main problem, which is that a user that usually does both live capture and recording decoding will typically have Perhaps it's convenient to add a command line option |
Thinking about this again, I believe that an environment variable could be a good solution for the case of the Does this look like a good solution @jharwinbarrozo? |
That's actually a clever good solution @daniestevez. As long as it prevents false telemetry sending to the actual satnogs database, we're good! |
This reads the environment variable GR_SATELLITES_SUBMIT_TLM from the gr-satellites core flowgraph. If the variable exists and can be converted into an int, its truth value forces/disables telemetry submission, ignoring the value in the config file. This is used in the test.sh script to disable telemetry submission as suggested in #214
This reads the environment variable GR_SATELLITES_SUBMIT_TLM from the gr-satellites core flowgraph. If the variable exists and can be converted into an int, its truth value forces/disables telemetry submission, ignoring the value in the config file. This is used in the test.sh script to disable telemetry submission as suggested in #214 (cherry picked from commit 79ab942)
Just pushed a commit implementing the environment variable. The |
In line with this change/enhancement, could it be made possible to have a per forwarder definition in The reason for asking is as follows, with the gr_satellites SatNOGS integration we now have the situation that duplicate frames are/can be send to the SatNOGS database. When With this situation it would make sense to set So for now we keep it enabled, but it would be better to have a |
Hi Jan, Your suggestion seems quite good. I hadn't think before fully about the use case where gr_satellites is integrated with SatNOGS. Since we have specific sections for each of the non-SIDS servers (as they require information about the station or login credentials), we could have an |
Hi Daniel, That would be a great add-on, there is only one other change, SatNOGS would need to have a specific section in the config.ini file. Maybe it would be a better idea to just call it SIDS forwarder and configure the endpoint in that specific section. I don't know if the forwarder function is now using an array, I guess this add-on can be done fairly easy if that is the case. Lets give it some more thought. |
Good evening Daniel, Based on the new label All the best and enjoy the weekend. |
Hi Jan, "Good first issue" means that this task is something relatively simple, and that someone interested in contributing code to gr-satellites might want to choose to do to get more familiar with the project. If no one takes this up, I'll do it at some point when I have time. In any case, updates will appear here, so you will be able to help with testing. |
Thanks for the update, maybe I will take a look but I am not sure I have enough python knowledge. |
When running the test script test.sh, it's also sending live telemetry to satnogs database. I'm not sure if this is really intentional but it looks to me like - this can have a big implication to someone monitoring their satellite for real telemetry.
I was actually surprised seeing my callsign in the satnogs db homepage and seeing my callsign decoded a satellite I haven't even tried decoding in the first place.
The text was updated successfully, but these errors were encountered: