Radarbox JSON receiver option

The "to-do" list for Virtual Radar Server is as long as my arm, but if you want to pile more work onto it then this is for you.
GregoryGHarding
Posts: 94
Joined: Mon Jan 26, 2015 9:01 am
Location: CYYT

Radarbox JSON receiver option

Postby GregoryGHarding » Sun Feb 12, 2017 10:17 pm

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.

GregoryGHarding
Posts: 94
Joined: Mon Jan 26, 2015 9:01 am
Location: CYYT

Re: Radarbox JSON receiver option

Postby GregoryGHarding » Mon Feb 13, 2017 12:17 am

better yet, is it possible to whip together something in the form of a server plugin to get this to work?

agw
Posts: 1896
Joined: Fri Feb 17, 2012 3:20 am

Re: Radarbox JSON receiver option

Postby agw » Mon Feb 13, 2017 2:45 am

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?

GregoryGHarding
Posts: 94
Joined: Mon Jan 26, 2015 9:01 am
Location: CYYT

Re: Radarbox JSON receiver option

Postby GregoryGHarding » Mon Feb 13, 2017 7:25 am

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

Skibox
Posts: 113
Joined: Mon Apr 07, 2014 7:06 pm
Location: ESGG

Re: Radarbox JSON receiver option

Postby Skibox » Mon Feb 20, 2017 9:09 pm

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

GregoryGHarding
Posts: 94
Joined: Mon Jan 26, 2015 9:01 am
Location: CYYT

Re: Radarbox JSON receiver option

Postby GregoryGHarding » Mon Feb 20, 2017 9:12 pm

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


Return to “Feature Suggestions”

Who is online

Users browsing this forum: Google [Bot] and 1 guest