Page 1 of 1

Radarbox JSON receiver option

Posted: Sun Feb 12, 2017 10:17 pm
by GregoryGHarding
i would like to have RB24 Json receiver compatibility, they do not use standard json.

i have a data snippet here for you to work with.

Here is a snippet:

Code: Select all

{"fch":"20161019013309","sn":"PGANRB300726","fms":"8962D1","far":"A6-ANB","fat":"A320","fn":"ABY296","fal":"14175","fgs":"383.3","fvr":"-2688.0","fla":"25.7518600205244","flo":"54.8132784861439","fhd":"109.1","fsq":"5446"}
{"fch":"20161019013453","sn":"PGANRB300726","fms":"896121","far":"A6-ECZ","fat":"B77W","fn":"UAE36","fal":"3325","fgs":"185.3","fvr":"0.0","fla":"25.1428170931541","flo":"55.5696768130896","fhd":"287.2","fsq":"5401"}


(Note: this snippet was partially made up.)

Here is the description of each field:

    fch: Timestamp (UTC time) of the last update for this aircraft
    (format: YYYYMMDDhhmmss).
    sn: Serial number of the unit that is providing the data.
    fms: Mode-S code of the aircraft.
    far: Aircraft registration.
    fat: Aircraft model (ICAO code).
    fn: Call sign.
    fal: Altitude.
    fgs: Ground speed.
    fvr: Vertical rate.
    fla: Latitude.
    flo: Longitude.
    fhd: Heading.
    fsq: Squawk code.

Re: Radarbox JSON receiver option

Posted: Mon Feb 13, 2017 12:17 am
by GregoryGHarding
better yet, is it possible to whip together something in the form of a server plugin to get this to work?

Re: Radarbox JSON receiver option

Posted: Mon Feb 13, 2017 2:45 am
by agw
I'll take a look into it. Do you have a Radarbox receiver that you can put onto the Internet so that I can test against it? If so then could you PM or email me the address and port number please?

Re: Radarbox JSON receiver option

Posted: Mon Feb 13, 2017 7:25 am
by GregoryGHarding
agw wrote:I'll take a look into it. Do you have a Radarbox receiver that you can put onto the Internet so that I can test against it? If so then could you PM or email me the address and port number please?


the json feed comes directly from radarbox24, they dont allow local feed, It goes from receiver, to their network, then back to me via the json server.
so the server is configured to connect to my ip on their end as a push feed

i guess i can setup a virtual windows machine and change the port forward, install vrs and give you remote access

Re: Radarbox JSON receiver option

Posted: Mon Feb 20, 2017 9:09 pm
by Skibox
GregoryGHarding wrote:i would like to have RB24 Json receiver compatibility, they do not use standard json.


What do you mean by "standard" json ?

Anyway, it should be possible to use a script and jq to re-format the feed into the JSON structure VRS expects as Aircraflist json receiver.

https://shapeshed.com/jq-json/
http://www.compciv.org/recipes/cli/jq-for-parsing-json/

/M

Re: Radarbox JSON receiver option

Posted: Mon Feb 20, 2017 9:12 pm
by GregoryGHarding
By standard JSON I was referring to JSON VRS can decode

Thanks for the links il take a look. I'm Instrested in seeing this option added to VRS though either in terms of direct integration or plugin form. I have no experience in hooking TCP connections so idk how those links will go for me. But thanks anyway