MMM-FlightsAbove icon indicating copy to clipboard operation
MMM-FlightsAbove copied to clipboard

Update item names in Tabulator to reflect new flightradar24-client API

Open E3V3A opened this issue 8 years ago • 1 comments

Update item names in Tabulator to reflect new flightradar24-client API v0.3.0. Originally, several of the FlightRadar24 available items were missing in the v0.2.1 version of the flightradar24-client.

In order to use the Squawk codes in the watchList we need to update the names.

                {title:"RoC [ft/m]",    field:"climb",          headerSort:false, sortable:false, visible:false},
                {title:"Squawk",        field:"squawk",         headerSort:false, sortable:false, visible:true, responsive:1}, // formatter$
                {title:"isGND",         field:"ground",         headerSort:false, sortable:false, visible:false},
                {title:"isGlider",      field:"glider",         headerSort:false, sortable:false, visible:false},
//                {title:"RoC [ft/m]",    field:"rateOfClimb",    headerSort:false, sortable:false, visible:false},
//                {title:"Squawk",        field:"squawkCode",     headerSort:false, sortable:false, visible:true, responsive:1}, // formatt$
//                {title:"isGND",         field:"isOnGround",     headerSort:false, sortable:false, visible:false},
//                {title:"isGlider",      field:"isGlider",       headerSort:false, sortable:false, visible:false},

comments has the new names.

E3V3A avatar Mar 13 '18 09:03 E3V3A

In the meantime I have committed a work-around to use a local copy in ./lib/radar.js. You still need to install the flightradar24-client for the dependencies.

E3V3A avatar Mar 13 '18 11:03 E3V3A