dbdexter-dev / sdrpp_radiosonde

Radiosonde decoder plugin for SDR++
MIT License
80 stars 12 forks source link

SondeHub support? #1

Open TheSkorm opened 2 years ago

TheSkorm commented 2 years ago

Just wondering if you've considered adding sondehub.org upload support?

SondeHub has a simple API for submitting data to, and is usually fairly easy for RS41 data. DFM sondes have a few quirks around frame numbering but also not too hard.

https://github.com/projecthorus/sondehub-infra/wiki/SondeHub-Telemetry-Format https://github.com/projecthorus/sondehub-infra/wiki/Specific-Notes#sonde-data-uploader-notes https://github.com/projecthorus/sondehub-infra/wiki/API-(Beta)

Let me know if this interests you and if you need any help.

TheSkorm commented 2 years ago

(it should be important to note that the time used in sondehub is uncorrected for any leapseconds)

dbdexter-dev commented 2 years ago

I've thought about adding support for sites like radiosondy.info and sondehub.org, but I feel like those are more meant for constant tracking, while this plugin is more geared towards tracking on a whim (say, you're near the landing site and want to check where exactly the radiosonde is).

If you want to submit tracking data to those sites, there's better alternatives already available like radiosonde_auto_rx, which is more set-and-forget and doesn't require running a desktop SDR application. I'm open to adding support in the future if more people are interested though

darksidelemm commented 2 years ago

As the author of auto_rx - I think that having something like this upload would still be extremely useful - especially for people newer to the hobby who might not have the skills to setup auto_rx. (For example - there are a lot of people running RS41Tracker - which doesn't yet upload to Sondehub - because it's easy to run under Windows)

Also... if you're the closest station, uploading the landing telemetry to sondehub is still extremely useful! We would need to make sure the generated telemetry matches what's produced by auto_rx and the rdz_ttgo_sonde code though.

TheSkorm commented 2 years ago

A lot of people ask if they can use things like AirSpys and LimeSDRs that autorx doesn't support. This would be a good project to direct those users to

dbdexter-dev commented 2 years ago

Fair points, I'll see what I can do during the holidays then.

@darksidelemm Most of the equations for the PTU telemetry I'm using come from ra_firmware, at least for RS41 data. They are the same equations as rdz_ttgo_sonde, but they're different from the ones auto_rx uses. I can match either implementation, though rdz_ttgo_sonde looks more correct (fewer magic numbers, uses more data from the calibration superframe). Which one should I follow?

darksidelemm commented 2 years ago

Use the calculations from the RA firmware or rdz_ttgo. The end result is within a tiny fraction of what auto_rx produces anyway.

LukePrior commented 2 years ago

Lol, I just came across your project on the RTL-SDR blog and was going to come here to ask the same thing :)

DL2MF commented 2 years ago

I love projects like this, follwing the KISS principle not implementing improper bloat interfaces.

darksidelemm commented 2 years ago

... I'm not entirely sure how to interpret the above comment.

LukePrior commented 2 years ago

I saw that you implemented this in the net branch a few weeks ago and was wondering if you were planning to integrate it into the master version?

dbdexter-dev commented 2 years ago

I started working on it, but then decided to prioritize getting Windows support working and using a different decoding backend. SondeHub uploading is next on the list though.

darksidelemm commented 2 years ago

When you get to that point, we will need to make sure the uploaded telemetry values closely match what is produced by the RS and rdz_ttgo_sonde decoders.

py5cv commented 2 years ago

Good Morning ! How to make the plugin work on Windows 7-64. The information on the page is sparse for Windows. I've tried several ways and I can't get it to work. Please can you help? Thank you so much !

scottjpalmer commented 1 year ago

Chiming in to add a big YES PLEASE to this feature. Simple Windows (and Android eventually hopefully) field use to upload the final landed position into sondehub would be great. Thanks so much for your work.

scottjpalmer commented 1 year ago

Now that I have your decoder working on Android I really really would like to see sondehub support. @dbdexter-dev is this still on your list or have you moved on to other things? Thanks from New Zealand.