flux242 / radiosonde

Radiosonde hunting related
11 stars 3 forks source link

Usable UDP:5678 data #3

Open KB8RCO opened 3 months ago

KB8RCO commented 3 months ago

I've downloaded the and tried getting this running numerous times now. I see the balloon data on UDP: 5678, but don't know how to get this to other applications. Everything seems to work fine as I can nc -luk 5678 and see the data.

Trying to get that data to my APRS server, and sondehub.org (rather than radiosondy.info).

I find the APRS folder confusing. aprsfakeserver.sh says you need 3 terminals (assuming besides receivemultisonde.sh) Terminal 1:socat -d -d TCP-LISTEN:14580 exec:./aprsfakeserver.sh,pty,stderr Terminal 2:./aprs/json2aprs.pl KK8KKK-16 44.0123N 88.45678W "MultiSonde Tracking" | socat -u - UDP4-DATAGRAM:0.0.0.0:30448,broadcast,reuseaddr Terminal 3: APRS client?

neither the server nor client seem to accept "W" lon values tried -83.xxx => unknown option Remove "-" it says it is east. Tried 360 - 83.xxx and it still lists it as 276 deg E. tried 83.xxxxW and it still shows 83.xxxE

Can you give better examples?

flux242 commented 3 months ago
# an example on how to show sondes using aprsmap gui 
1. cd ~/projects/radiosonde/scripts;socat -d -d TCP-LISTEN:14580,reuseaddr,fork exec:./aprs/aprsfakeserver.pl,pty,stderr
2. cd ~/projects/radiosonde/scripts;nc -luk 5678 | ./aprs/json2aprs.pl N0CALL 55.66 11.22 "N0CALL ARPS proxy for receivemultisonde.sh" | tee /dev/stderr | socat -u - UDP4-DATAGRAM:0.0.0.0:30448,broadcast,reuseaddr
3. cd ~/aprsmap_common; ./aprsmap
KB8RCO commented 3 months ago

Thanks for the reply. I get 1 and 2 running, but not picking up any sondes today - bad luck. Still not sure of the last line. I don't have aprsmap and really not planning on using it. Ideally, I'd like to get the data to send the data to sondehub.org. Radiosondy.info isn't very popular in my area. I guess I could use auto_rx in UDP mode, but that seems like a waste - a lot of program and only using a little.

KB8RCO commented 3 months ago

Since none of the 3 lines has a frequency, I assume you still need to run ./receivemultisonde.sh -f 404000000 -s 2400000 -P 5 -g 40 -t 4 to generate the JSON data?

flux242 commented 3 months ago

so you receive json string on the udp port 5687 and transform it to a form that the sondehub understand. Can't help here as I'm not familiar with sondehub api and I'm not involved in any of this anylonger

KB8RCO commented 3 months ago

Thanks for the feedback. I actually got the balloon to show on my local APRS server!

In Alex's blog, auto_rx was patched to take in the UDP (JSON format I believe) data to post to APRS server and/or SondeHub. When I get a little more time, I may try to go through the autorx code, strip it down to pretty much that functionality. I am not much of a coder, but hopefully I will be able to remove the unneeded portions.
If I am reading this correctly, that would mean **
./receivemultisonde.sh -f 404000000 -s 2400000 -P 5 -g 40 -t 4_ => send out JSON data modified _autorx** <=receive JSON and send to APRS and/or SondeHub

Many thanks for your comments!