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

v3.1 'Telemetry Submit' block fails to SatNogs #130

Closed
K4KDR opened this issue Jul 13, 2020 · 5 comments
Closed

v3.1 'Telemetry Submit' block fails to SatNogs #130

K4KDR opened this issue Jul 13, 2020 · 5 comments
Assignees
Labels

Comments

@K4KDR
Copy link
Contributor

K4KDR commented Jul 13, 2020

My first attempt to integrate the new 'Telemetry Submit' block results in the following error in the GRC monitor window:

Error while submitting telemetry: HTTP Error 400: Bad Request

The contents of my ~/.gr_satellites/config.ini include:

[Groundstation]
callsign = K4KDR
latitude = 37.78
longitude = -77.61
submit_tlm = yes

It occurred to me that the 'Telemetry Submit' block also required the NORAD ID of the satellite, but since I am not using the 'Satellite Decoder' block, there is no reference to the satellite .YAML file (which includes the NORAD ID).

I tried passing several variations of "--norad 45857" in the 'Command line options' section of the 'Telemetry Submit' block without success.

In contrast, the old 'Telemetry Forwarder' block works perfectly in the same flowgraph (as long as the required 'Parameter' values are supplied that it requires).

Thanks in advance for direction on how to properly use the new 'Telemetry Submit' block!

-Scott, K4KDR

@daniestevez
Copy link
Owner

Hi Scott,

This is in fact a bug. There should be a field to enter the NORAD ID that appears whenever "SatNOGS DB" is selected as server (and also for the BME ground station). However, I see that this field doesn't appear for me either, so the NORAD ID can't be entered, which explains the failure.

I think this was once working correctly, so something has broken. I'll have to look into it in more detail.

@daniestevez daniestevez self-assigned this Jul 13, 2020
@daniestevez
Copy link
Owner

daniestevez commented Jul 13, 2020

I've just pushed a commit to master that fixes this bug. Please check if it also works for you and if not, reopen the issue.

@K4KDR
Copy link
Contributor Author

K4KDR commented Jul 13, 2020

Works perfectly; upload to SatNogs confirmed w/ recorded data! Thank you so much!

I realize it's not a priority item, but since it is so very common to decode telemetry on the replay of recorded data, it would be ideal if either the 'Telemetry Submit' block or the 'Print timestamp' block incorporated a method to manually enter the time stamp of choice.

@daniestevez
Copy link
Owner

Hi Scott,

Thanks for testing. What you say about the timestamps is already on the TODO list (see #92). However, this is not so easy to do. My idea is that the use should be able to enter the starting time of the recording, and then everything should magically work (even if the recording is played back faster than real time). However, I need GNU Radio to generate an propagate appropriate timestamps through the whole flowgraph.

Additionally, for the case of BY70-2, the timestamping is done by the proxy and by the server, so there is nothing I can do in gr-satellites to improve the playback of recordings.

@K4KDR
Copy link
Contributor Author

K4KDR commented Jul 13, 2020

Very good - thank you so much for the update & info.

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

No branches or pull requests

2 participants