Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: FR24feed uploader - Additional Info

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268

    FR24feed uploader - Additional Info

    Feel free to post/discuss suggestions here
    http://forum.flightradar24.com/threa...4840#post74840

    This guide is not to be taken as officially sourced support information.
    It is contributor-made to avoid new threads -
    Information has been repeated many times in existing threads but skipped by most readers


    For Flightradar24 supplied HARDWARE please contact support as per supplied information pack/emails

    FR24feed Errors
    Linux/Pi feeder Specific Information
    Beast/Transponder Mouse
    ADSBScope / VRS / RTl1090
    SBS Example
    Web Config Examples

    How does it work?
    The Software is not a single application but a package that consists of 3 core parts:
    Direct hardware access libraries
    ADSB Decode software - Dump1090-Mutability 1.14
    FR24 log, filter, bundle and uploader application

    On startup the software will:
    - Scan the configuration file for your setup (answered during install)
    - Evaluate if chosen source type is native (dump1090 not used) or not (Dump1090 needed)
    - Start appropriate connection to receiver
    - Pass data to be uploaded
    - Output any connection or various errors during startup

    Collecting received data:
    Your data and Hardware will be connected to in 2 ways depending on receiver type specified:

    1. Device Connection
    - Feeder will be loaded and 'liven' USB or Com port specified direct
    - Dump1090 will be launched and connect to DBVT for FR24feeder to collect (1 step)
    - FR24feeder will try attach to other software output (2 step required)

    2. Direct Collection
    - FR24feeder will ignore Dump1090 and connect direct to hardware (if readable format output)

    Data is gathered, bundled and sent around every 5 seconds.
    Your status may falsely show 'online' if the connector portion is running, but have issues with data collection
    Status may show 'offline' if no data is collected or sent to server (bad reception or no traffic, Dump1090 errors). Or in connection to server errors relating to IPv6 https://forum.flightradar24.com/thre...l=1#post109164

    There are many reasons incorrect configuration and 3rd party software can cause issues if not configured correctly, So please read further!

    Web Page Configuration - (Fixing startup errors):
    This is the easiest way to check/re-configure the software when FR24feed core successfully running
    (to fix incorrect option errors entered/found on first run)

    --> http://localhost:8754 <--
    (replace localhost with the IP address of Rpi or PC running software)

    !You can also edit the config manually - but variable options will need to be known!

    USB DVBT Feeding:
    NOT ALL USB STICKS ARE THE SAME!!

    Dump1090/FR require a Realtek/RTL 28xx chipset, and E4000 or R820 tuner
    FitPower/FC will likely not not work
    http://osmocom.org/projects/sdr/wiki/rtl-sdr

    New to ADSB users wishing to only feed FR24 should run FR24feed without RTL1090 (or Dump1090) present, or additional commands such as --interactive as this will cause new or inexperienced users difficult issues.

    Do NOT enable raw/basestation/SBS output on first setup unless you are familiar with data-flow or certain similar output on other software is disabled

    *Running additional software with FR24feed can be complicated. Not all instances or configuration examples can be given due to this
    Ensure you search the following threads for further info from other helpful users:

    Cross Platform
    Raspberry Pi based

    Pi24 Image
    Pi24 is designed for first time feeders or those not familiar with linux SSH/Console. It automates the process of setting up the feed software and allocating a radar ID
    Image has a pre-installed version of Dump1090 designed for first/single setup - will allocate extra bogus radar ID during repeated setups. Use manual setup after first attempt


    Installs of FR24feed & PiAware or currently running Feed/Dump1090:
    If you have previously installed ADSB feeders (or Dump1090) - may be running already. In this instance configure your feeder as BEAST-TCP/AVR-TCP NOT USB DVBT or you will face errors similar to examples below

    Basics:
    - Configure FR24feed to DVBT only if first feed site (AVR-TCP/BEAST-TCP for already running Feeds)
    - if not obvious on startup add --net to additional commands to enable output ports
    - Adjust other software data source settings to read data (added by --net) on localhost:30002 (beast-30005)
    - Save and restart feeder
    AVRTCP config example when running Dump1090/Dump1090-mutability/Piaware/
    *FR24feed Setup Wizard may auto-detect and assist selecting right option

    Connecting to Raspberry Pi Console
    https://www.raspberrypi.org/document...ssh/windows.md



    Other Hardware (not DVBT) Data Relay:

    The options found for RAW/Decoded and SBS data out are valid for other receivers.
    For instance RAW out enabled for a BEAST receiver will open port 30334. (While RAW using DVBT will open conflicting 2nd 30002)
    MPX/SBS out option when used with Kinetic hardware will repeat data on port 20072

    Configure Additional Software:

    Software such as VRS(virtual radar server) and ADSBScope can then be configured to NETWORK data source on those ports
    - You must start with other Server functions of these applications disabled to prevent conflict errors!


    MLAT
    MLAT contacts are server-side triangulated - Source data from Radarcape based receivers + GPS time (Primary) + RPi/DVBT/Dump1090 using NTP time tag (NOT GPS!!) secondary
    RPi MLAT will NOT be enhanced with a USB GPS module
    - due to interface/port transmission speeds adding jitter delays NTP is used for syncronised reference data

    MLAT requires 4+ in-range receivers:
    - Various combinations of Rpi + FR24 receivers contribute (1FR + 3 Pi, 2FR + 2Pi etc)
    - min. 1x FR24 receiver required in combination
    - Overlapping FR24 Receiver GPS-time MLAT prioritised
    - NTP used for commonreference on RPis alongside FR24 data
    - All receivers need to contact the same Mode-S Only aircraft (and 1x ADSB reference aircraft).


    Attributed on the map calculated from FR24 boxes majority:
    T-MLAT (Europe/Africa)
    T-MLAT2 (North and South America)
    T-MLAT5 (Asia/India/Japan)
    T-MLAT3 (Oceania)

    Attributed on the map calculated from RPi majority:
    T-MLAT6/7

    FR24FEED Startup Output

    Code:
    [main][i]Version: 1.0.18-9/generic < Version numbering
    [main][i]Built on Apr 21 2017 14:51:08 (???/Windows/i386) < Build type
    [reader][i]Initializing reader < starting data reader
    [master][i]Starting processing thread < Starting data packaging
    [httpd][i]Server started, listening on 0.0.0.0:8754 < Started web server for configuring on :8754
    [reader][i]Connecting to AVR-TCP receiver via (avr-tcp://<IP: port>) < AVR-TCP source selected
    [reader][i]Connected to the receiver, configuring 
    [reader][i]Configured, processing messages < data read and processing attempt
    [raw][i]Starting server on 0.0.0.0:30334 < Starting output "Raw out enabled"
    Code:
    Connecting to Generic receiver via (exe://mr-dump1090.exe  --raw --net --net-http-port 8080)
    Found 1 device(s):
    0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
    Found Rafael Micro R820T tuner
    Max available gain is: 49.60 dB
    Setting gain to: 49.60 dB
    Exact sample rate is: 2000000.052982 Hz
    Gain reported by device: 49.60 dB
    Breaking this down:
    --raw = RAW time tagging is enabled - this means MLAT option checked
    --net = Advanced network out options of Dump1090 enabled (ports 30002,30003, (30005))
    --net-http-port 8080 = Advanced web output enabled for local radar view on http://localhost:8080

    Rpi with included Dump1090 launching
    Code:
    Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090  --raw)
    AVR (TCP) detected valid usable output ports
    Code:
    [reader]Connecting to DVBT-TCP-BEAST-RAW receiver via (tcp://localhost:30005)
    Common Ports:
    Here you can see some examples of software that open live ports if built in options are enabled which can cause conflicts

    FR24:
    RAW: 30002 (DVBT) / 30334(other hardware)
    BS: 30003
    SBS: 20072
    RTL1090:
    Raw out: 31001
    BS out: 31004
    Kinetic Basestation:
    RAW out: 30006
    BS out: 30003
    SDR: 30005
    AIS: 30007
    SBS3 'standalone' mode: 10001, 30006
    Dump1090:
    AVR Raw out: 30002
    Beast out: 30005
    Dump1090 BS out: 30003
    AVR In: 30001
    Last edited by Oblivian; 2018-10-29 at 11:26.

  2. #2
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Asking for help
    If information here is not clear there are some basic things to try BEFORE making a new thread and asking for help.

    If you think you have installed FR24feed and it is running
    - Attempt to load the webpage as described on post 1 to confirm

    Run Commands in Linux using Putty or similar SSH client
    https://www.raspberrypi.org/document...ssh/windows.md

    <Windows>
    Dump1090 may not pass error messages to the screen when running fr24feed.exe

    In this case, close fr24feed and run mr-dump1090.exe and observe output for errors similar to below errors section

    </Windows>

    Later versions of Feeder On Raspberry PI may have removed Dump1090-MR and replaced it with -Mutability 1.14
    In these cases more work is needed to diagnose as found here

    <Linux/RPi>
    - Run command to check status
    sudo fr24feed-status
    .deb install sudo fr24feed --status

    If service is not running, diagnose WHY
    - Did the installs script fail?
    - Did you complete the install script questionnaire correctly?
    - Did you wrongly chose DVBT stick when PiAware or other software was already working?
    - Check the basic commands
    sudo service fr24feed stop
    sudo service fr24feed start


    Still not starting or MLAT or other functions are not working? Visually check WHY..
    - Stop FR24feed
    sudo service fr24feed stop
    - Start fr24feed with full output
    sudo fr24feed ( !! no 'Service' !! )


    Enable log file. Start for a while, stop, and review log
    cat /var/log/fr24feed/fr24feed.log
    </linux>


    If after this you still need help Please help us to help you!
    List:
    Receiver type
    OS Platform (Pi/Windows)
    fr24feed version
    Include copied text from Status of fr24feed window with the errors
    Config settings (Screenshot or list of config page settings)
    Any visible errors (screenshot or paste)
    Additional software you may have running for other sites or feeds (or in the past)
    What checks have been performed to try and fix already


    Common Errors:

    Code:
    gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
    Stretch lacks a package needed for scripted install - DIRMNGR
    sudo apt-get install dirmngr

    Code:
    pi@piaware:~ $ fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2018-02-01 09:40:09.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: <radar>
    [ ok ] FR24 Tracked AC:0
    [FAIL] Receiver: down ... failed!
    [FAIL] FR24 MLAT: not running ... failed!
    - Dump1090 not actually running
    (Possible SDR device blacklist issue or not present)
    - Dump1090 failed to install with script (v19+)
    - Feeder cannot upload to server


    Code:
    2016-01-26 22:20:05 | [reader][i]Connecting to Generic receiver via (exe://*dump1090*  --raw)
    2016-01-26 22:20:05 | [reader][i]Connected to the receiver, authenticating
    2016-01-26 22:20:05 | [reader][i]Authenticated, processing messages
    2016-01-26 22:20:07 | [reader][i]Connection terminated
    2016-01-26 22:20:12 | [reader][i]Connecting to Generic receiver via (exe://*dump1090*  --raw)
    2016-01-26 22:20:12 | [reader][i]Connected to the receiver, authenticating
    2016-01-26 22:20:12 | [reader][i]Authenticated, processing messages
    2016-01-26 22:20:14 | [reader][i]Connection terminated
    Incorrect configuration set - Hardware not starting. Check for:
    - USB stick does NOT have the required Realtek RTL28xx chipset or Rafael Tuner
    - Conflicting software locking USB device to 'in-use'
    - Missing zadig driver installation step for windows (cannot read USB devices)
    - Error with additional commands causing Dump1090 to terminate
    - Dump1090 (or similar) already currently running
    - Windows detected and using wrong USB. Add: --device-index x
    Code:
    2016-01-26 22:20:05 | [bs][i]Starting server on 0.0.0.0:30003
    2016-01-26 22:20:05 | [bs][e]Could not bind socket to *:30003, errno=0
    The option for Decoded data/30003 out has been enabled. There is already software with that option running, locking port
    - Close other applications
    - Disable "Basestation Out" function on VRS/ADSBScope etc
    - Reconfigure other software output port number

    Code:
    2016-01-27 00:35:36 | [feed][n]ping 1
    2016-01-27 00:36:06 | [feed][n]ping 2
    2016-01-27 00:36:36 | [feed][n]ping 3
    2016-01-27 00:37:06 | [feed][n]ping 4
    2016-01-27 00:37:36 | [feed][n]ping 5
    2016-01-27 00:38:06 | [feed][n]ping 6
    2016-01-27 00:38:36 | [feed][n]ping 7
    No data is being received by hardware to upload
    - Check connections
    - Incorrect data format received from receiver or software for chosen receiver type
    - Wrong port/type specified from software supplying data
    - Windows assigned wrong USB ID to DVBT stick

    Code:
    [reader][w]Global timeout exceeded, 1 msgs, 0 resyncs, reconnecting
    [reader][i]Connection terminated
    As above - FR24 Server has not received any data so reset your connection

    Code:
    Found 1 device(s):
    0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
    
    Kernel driver is active, or device is claimed by second instance of librtlsdr.
    In the first case, please either detach or blacklist the kernel module
    (dvb_usb_rtl28xxu), or enable automatic detaching at compile time.
    
    usb_claim_interface error -6
    Error opening the RTLSDR device: Device or resource busy
    USB device already locked/in use or blacklisted
    - Follow RPi RTL blacklist How-to guide here
    - Close other instances of Dump1090/RTL1090 or check task manager for running instance
    - Configure other software for Network data (remove exclusive USB need)

    Other Messages:

    Code:
    2016-01-26 22:20:24 | [raw][i]Starting server on 0.0.0.0:30002
    FR24feed set to RAW out enabled - attempting to open data port 30002

    Local Web view AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    Raspbian requires further RTL blacklisting
    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    Version difference - Web port may have changed or need to be specified
    http://<ip>/dump1090
    http://<ip>:8080/dump1090

    "My account status shows online, but no planes or data uploaded"

    This can occur if FR24feed uploader starts, but the connection to USB or data source is not possible and retrying while you cannot see it
    Causes as above but not seen
    - '--interactive' option sent to Dump1090 (will output to screen not capture data)
    - Dump1090 not installed by script (issue with v19+)
    - Blacklisted USB drivers
    - Locked USB port/device or TCP port
    - Wrong data format
    - software not outputting data on specified data port (or in correct format)
    - Bad signal or data being ignored by server
    - Populated COM/DEV/PATH over-ride auto-detect

    As with most issues - Use above fault finding to stop, and manually start to observe FR24feed startup messages or errors

    Diagnosing port issues using telnet
    If you are experiencing port connection errors one method to ensure data is working is using the telnet utility
    http://windows.microsoft.com/en-nz/w...#1TC=windows-7

    telnet <host> <port>

    Where <host> can be:
    localhost
    127.0.0.1
    198.162.1.170

    and port (divided by a space, no other character like : )
    - as listed in port table for common ports
    eg:
    telnet 198.162.1.170 22
    telnet 192.162.1.180 8080

    A WORKING open port, will result in a black screen with cursor flashing. A blocked port will result in a failure to connect
    Last edited by Oblivian; 2018-09-29 at 06:12.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  3. #3
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Web Configuration Explained:

    DVBT Stick (default)

    DVB TV Dongle connected directly by USB to host device
    - Launches Dump1090 to contact hardware directly
    - Works only if other DVB/1090 programs not already running and using data from stick
    - host/ip settings ignored

    ModeS Beast (USB/Serial)
    ModeS Beast/Transponder mouse cabled with USB or serial
    - Com port must be specified in Host/IP field
    - Baudrate must be set
    ModeS Beast (TCP)
    ModeS Beast format using ethernet out
    - Host/IP must be specified in Host/IP field

    SBS1/1e (USB)
    SBS1 cabled directly to host
    - configure Com/Dev setting

    SBS1/1e (TCP)
    - Configure Host/IP

    SBS3 (USB)
    SBS3 (TCP)

    *During signup new option "SBSx via Basestation (localhost:30006)"
    - Exact details of function TBA however may allow reading when data relay enabled in basestation suite

    microADSB (USB)
    - Configure Com/Dev path

    AVR (USB/Serial)
    Other AVR capable receivers connected via cable
    - Specify com port details

    AVR (TCP)
    AVR data from pre-configured Rpi running Dump1090
    Data from existing Dump1090/RTL1090 or other such software with AVR server enabled
    - Specify Host/IP details

    Example AVR data format:
    Code:
    *8D75805B9944F033C0045DA67C63;
    *8D75805B58C392AC308A95C63185;
    *8D75805B58C392AC7A8A80C6EFBA;
    Process arguments
    For devices that use Dump1090 (DVBT/AVR USB) that FR24feed launches - Process arguments field can be used
    Eg: -- NET, --NET-HTTP-PORT, --NET-BEAST

    RAW data Yes/No *note
    Open server port 30334
    - For Beast and other hardware
    Open server port 30002
    - For DVBT*

    SBS Feed Yes/No
    When Kinetic receiver specified data for basestation output on 20072
    - Configure Basestation software for Ethernet receiver. Specify IP of device FR24feed running and port 20072
    - Voice/ATC functions cannot be used in conjunction with this method

    Decoded Data Yes/No: *note
    Open server port 30003
    - Basestation format text for other capture software
    Code:
    MSG,8,111,11111,C816FE,111111,2016/01/29,20:26:58.197,2016/01/29,20:26:58.222,,,,,,,,,,,,0
    MSG,8,111,11111,C816FE,111111,2016/01/29,20:26:59.361,2016/01/29,20:26:59.399,,,,,,,,,,,,0
    Logfile
    This is for diagnostic purpose
    - May not auto delete and can fill Rpi cards
    To view from default location on RPi:
    cat /var/log/fr24feed/fr24feed.log

    Window Mode
    For windows only
    - Open app in task bar

    MLAT
    Enable MLAT data out to FR24
    - DVBT device by USB or Dump1090 AVR only
    - Enables (or requires) --MLAT tag in Dump1090

    *Note = DO NOT USE IN CONJUNCTION WITH --NET DUMP1090 OPTIONS ENABLED!!
    Last edited by Oblivian; 2018-04-19 at 11:09.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  4. #4
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Below is an example of the signup wizard on Rpi:

    RPi Signup Wizard

    Required:
    Email Address
    Existing Key if known (blank = request new)
    * Key Recovery http://feed.flightradar24.com/forgotten_key.php

    Antenna Details:
    Latitude 00.0000
    Longitude 000.0000
    Altitude (ft)

    Step 1.3 - Would you like to participate in MLAT calculations? (yes/no)$

    - Only valid for DVBT receiver type

    ** Checks for running software **

    If Dump1090 already present:

    We have detected that you already have a dump1090 instance running. We can therefore automatically configure the FR24 feeder to use existing receiver configuration, or you can manually configure all the parameters.

    Would you like to use autoconfig (*yes*/no)$:


    If PiAware already present:

    We have detected that you already have a PiAware application instaled. We can therefore try to automatically configure the FR24 feeder to use existing receiver configuration, or you can manually configure all the parameters.

    Would you like to use autoconfig (*yes*/no)$:


    Autoconfig not available/not chosen:

    Step 4.1 - Receiver selection (in order to run MLAT please use DVB-T stick with dump1090 utility bundled with fr24feed):

    1 - DVBT Stick (USB)
    -----------------------------------------------------
    2 - SBS1/SBS1er (USB/Network)
    3 - SBS3 (USB/Network)
    4 - ModeS Beast (USB/Network)
    5 - AVR Compatible (DVBT over network, etc)
    6 - microADSB (USB/Network)
    7 - SBSx via Basestation (localhost:30006)


    Enter your receiver type (1-7)$:


    DVBT (with no other feeder software!):

    Step 4.2 - Please select connection type:

    1 - Network connection
    2 - USB directly to this computer


    Step 5.1 - Would you like to enable RAW data feed on port 30334 (yes/no)$:
    Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)

    - Enables local server. If running Dump1090 or other software with these ports open select NO

    AVRTCP (established receiver data out)

    1 - Network connection
    2 - USB directly to this computer

    Step 4.3A - Please enter your receiver's IP address/hostname
    $:<device IP>

    Step 4.3B - Please enter your receiver's data port number
    $:<data port>

    Step 5.1 - Would you like to enable RAW data feed on port 30334 (yes/no)$:no
    Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$:no
    Last edited by Oblivian; 2018-01-22 at 08:48.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  5. #5
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Possible Configuration Setups:

    (Work In progress - may be incorrect for some hardware unavailable for tests)

    SBS Family:
    May '16 - Version 18-5 above do NOT read SBS data as expected per below.
    Versions from 19-8 should now work with SBS


    When NVM settings of SBS3 set as standalone opens ports:
    10001 - primary encrypted data
    30005 - audio stream
    30006 - RAW Binary relay

    When Basestation running:
    30005 - audio stream
    30006 - RAW Binary relay
    30003 - basestation format

    Dual Basestation (Application) + FR24feed
    Select SBSx via Basestation During setup and configure IPort (eg: locahost:30006)
    Open basestation as normal
    Open FR24feed

    SBS3

    1. FR24feed primary connection
    Configure FR24feed to connect to device via USB or LAN (source localhost:10001)
    Enable SBS out option
    Close FR24feed
    Configure basestation to FR24feed as network source
    (settings - hardware settings - network)
    localhost:20072
    Close Basestation
    Open FR24feed (ensure connecting to SBS3)
    Open Basestation (ensure connecting to FR24feed relay on 20072)

    Other apps should have access to 20072 + 30006 (when BS open)

    2. SBS3 Standalone mode
    Using basestation configure non-Volatile settings to 'standalone' mode - check default port 10001

    Configure Basestation source to network
    <SBS3 IP>:30006

    Close Basestation

    Configure FR24feed to SBS3 LAN
    Set port details as
    <SBS3 ip>:10001 (_test 2nd connection to 30006_)

    Start FR24feed
    Ensure working
    Open Basestation and ensure connects to SBS3 at same time


    SBS1
    First Option
    Requires Basestation to be open and running before FR24feed launched as below:

    Configure FR24feed for "SBSx via Basestation (localhost:30006)" or via LAN
    Disable SBS relay
    localhost:30006 (or IP of pc running basestation)
    Close FR24feed

    Open Basestation software
    Launch FR24feed

    2nd Option
    Configure FR24feed for USB
    Enable SBS relay
    Close FR24feed

    Configure Basestation for network
    localhost:20072
    Close

    Run FR24feed - check connect via USB
    Open basestation - check connect + display
    Last edited by Oblivian; 2018-05-22 at 09:50.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  6. #6
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Pi specific Information:

    Putty Connection from Windows

    Install FR24feed via script: *Not valid on Pi24 Image
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)" -

    19-5+ Installer package includes:
    librtlsdr0 libusb-1.0-0 dirmngr lighttpd wget
    If not detected or 'DVBT' option chosen - Dump1090-mutability V14.1

    Auto configures Dump1090 startup to FALSE - run on Demand when fr24feed started only
    (!! Specific for DVBT stick and direct USB - will cause usb_claim_interface error -6 if dump1090 already started !!)

    Auto change made included = /auto-start boolean false | debconf-set-selections -v

    Dump1090 Graphical Interface (View your aircraft radar contacts):
    FR24 installs Dump1090-Mutability 1.14 when 'DVBT' chosen with an inbuilt display map
    --net option is added to additional parameters, and you then visit http://localhost:8080 / http://localhost:8080/dump1090 / http://localhost/dump1090/gmap.html (or host IP) (may also need /gmap.html)
    A further port change option can be specified --net-http-port xxxx if other services run on 8080 already
    See Dump1090 documentation for further assistance
    Dump1090 map is not loaded in AVR/TCP mode as it is not required - separate dump1090 or map software required

    Dump1090 Dev Install *Not valid on Pi24 Image
    (advanced users recommended only)
    See thread for manual install of Dev version of Dump1090
    http://forum.flightradar24.com/threa...-15-dev-on-RPi

    Common Linux Commands:
    Linux need not be scary for first time users. Although there is no graphical interface without starting one, the same commands are needed for FR24feed on GUI versions.

    Fixing broken components/upload/offline issues:

    Check fr24feed status
    sudo fr24feed-status
    (non-pi: sudo fr24feed --status)

    Stop fr24feed
    sudo service fr24feed stop
    (sudo systemctl stop fr24feed)

    Check connectivity to Fr24 server distribution (IPv6 errors)
    https://forum.flightradar24.com/thre...l=1#post109164

    Dump0190-Mutability checks:
    sudo service dump1090-mutability status (sudo systemctl status dump1090-mutability)
    sudo service dump1090-mutability restart (sudo systemctl restart dump1090-mutability)
    sudo service dump1090-mutability stop (sudo systemctl stop dump1090-mutability)
    sudo dpkg-reconfigure dump1090-mutability

    Start feed software with full screen output to diagnose possible errors
    sudo fr24feed
    (ctrl C to terminate)

    Check for crashed/running instances causing port or start issues:
    - Following command will report a PID for each process (thats a small L)
    pgrep -l fr24feed - list running FR24 processes
    pgrep -l dump1090 - list dump1090 instances

    sudo kill -9 <pid> - replace <pid> with corresponding number from above to kill process

    re-Run Signup, re-enter key or reconfigure if web not accessible
    sudo fr24feed --signup
    (Enter the identical details as first signup)

    Kicking it off again:
    Start feed software as service in background (starts on reboot)
    sudo service fr24feed start

    Uninstall or remove FR24feed (to remove radar ID if no longer able email support)
    sudo apt-get remove fr24feed

    -Optionally, to also remove any associated dependencies (may break other software)
    sudo apt-get remove --purge fr24feed

    GPG and other errors - Update fr24feed
    sudo apt-get update - refresh available app update list
    sudo apt-get install fr24feed - manually check for update
    - Will search for a new version and advise if 0 bytes were to be installed (no change) or if a new update was to be.
    - Manually apply keys
    gpg --keyserver pool.sks-keyservers.net --recv-keys 40C430F5
    gpg --armor --export 40C430F5 | sudo apt-key add -


    Status Variables
    http://locahost:8754/monitor.txt
    cat /dev/shm/decoder.txt

    mlat-uplink-stats = 0
    - Nothing uploaded, could be because not enough of other MLAT-receivers in the area.

    mlat_problem=
    Lists the last known problem - may not indicate current fault
    - "no-config" comes from the decoder starting too soon to receive from server
    mlat-number-seen=
    - both uploaded/not uploaded

    Associated files
    Code:
    pi@raspberrypi:~ $ dpkg-query -L fr24feed
    /etc/udev/rules.d/rtl-sdr.rules
    /etc/systemd/system/fr24feed.service
    /etc/cron.d/fr24feed_updater
    /etc/fr24feed.ini
    /usr/bin/fr24feed-status
    /usr/bin/fr24feed
    /usr/lib/fr24
    /usr/lib/fr24/public_html
    /usr/lib/fr24/public_html/coolclock
    /usr/lib/fr24/public_html/coolclock/excanvas.js
    /usr/lib/fr24/public_html/coolclock/coolclock.js
    /usr/lib/fr24/public_html/coolclock/moreskins.js
    /usr/lib/fr24/public_html/options.js
    /usr/lib/fr24/public_html/gmap.html
    /usr/lib/fr24/public_html/config.js
    /usr/lib/fr24/public_html/script.js
    /usr/lib/fr24/public_html/style.css
    /usr/lib/fr24/public_html/planeObject.js
    /usr/lib/fr24/public_html/extension.js
    /usr/lib/fr24/fr24feed_updater.sh
    /usr/lib/fr24/install_dump1090.sh
    Additional Diagnostic commands:
    https://forum.flightradar24.com/thre...ostic-Commands
    Last edited by Oblivian; 2018-09-29 at 06:13.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  7. #7
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Can I run FR24feed on my FA FlightFeeder?
    No. It is against the policy agreed to when the device is supplied to modify or add to the core software supplied on the device.
    However you can purchase/use an additional Raspberry Pi (or install feeder on windows) and upload using the network data output ports with AVR-TCP settings as outlined.

    *This differs from a FA ProStick - the optimised USB receiver that works like any other USB SDR tuner device

    Can I run FR24feed on my RPi with FA Pi-aware image installed?
    Yes* - as this is a generic Raspian install you can run the normal install BASH script and answer questions accordingly so the software work together
    *Both PiAware and Pi24 images have locked limitations and can not install variants of Dump1090-Mutability DEV editions.
    https://forum.flightradar24.com/thre...-A-Brief-Guide

    Can I register 2 stations in my stats page?
    Yes - Email FR24 support with the second device location details and Radar code (if issued with one already) and request it linked to your account
    - This will become more user-automated in future

    My range decreased when switching from Windows to RPi using the same stick and antenna - can I do anything?
    Fine tune noise Adjustments can be made to USB tuners by issuing the additional arguments --gain xx
    Valid values:
    0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6


    I wish to move my receiver to a new location - will this effect anything?
    YES - If you contribute to MLAT any (significant) change in location will reflect on data calculation accuracy server side (setup at first signup)
    If temporary move, MLAT should be disabled. If permanent be sure to notify FR support of your ID and location change details or adjust in account settings - https://www.flightradar24.com/account/data-sharing
    Dump1090 map centre can also be reconfigured if using the visual output such as sudo dpkg-reconfigure dump1090-mutability

    Can I view my radar contacts (alternate My radar alias does not appear on web site)
    Singling out your own data or ID on the main site map is not likely as it is a multi uploader data source database
    - Using the above methods for Dump1090 Graphical interface
    - Using RadarView
    - Using Virtual Radar Server

    What do the Radar Codes (Prefix / Alias) mean?
    Radar: NET1 = Users feeding from Planeplotter software.
    Radar: F-xxxx = FR24 boxes / Hardware feeders.
    Radar: T-xxxx = Users owned boxes uploading to FR24 / Software feeders.
    Radar: N-xxxx = Networked SBS-1 users uploading.
    Radar: R12* R13* are just temporary codes assigned automatically by the system, before FR24 receivers have been assigned correct code manually.
    Radar: R1a* = Temporary Radar codes on the upload Software & Server.
    Radar: T-PP1 = Users feeding with Planeplotter software.

    Why are my statistics broken/wrong
    In some cases the connection to the FR24 statistics server may have interruptions using UDP due to various ISP reasons
    Test with uploads in HTTP mode by changing fr24feed.ini
    use-http=yes
    http-timeout=10
    - restart your Pi and see if this helps.
    Last edited by Oblivian; Yesterday at 20:26.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  8. #8
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    FR24feed Data out/Relay options
    FR24feed as primary software - Check any additional software has server and relay options disabled/off and closed

    Beast/Transponder Mouse:

    USB
    Configure FR24feed with appropriate com port
    Enable BS and RAW options

    Configure secondary / downstream apps separately:

    hostip:30334 RAW/AVR (multi connect)
    hostip:30003 Basestation format (multi connect)

    DVBT: (Valid only in Windows)
    Select DVBT stick
    Enable BS + RAW
    Connect apps:
    IP:30002 AVR format
    IP:30003 BS format
    Last edited by Oblivian; 2018-04-19 at 03:35.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  9. #9
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    Viewing local traffic from your receiver

    Dump1090 can display local traffic by visiting the web page http://<custom IP address>:8080/Dump1090(see first post)

    ADSBScope & VRS example

    VirtualRadarServer or VRS as it is commonly seen described here is a graphical interface with the ability to show locally sourced aircraft position data on a web-page for you or the internet for friends etc.

    It has the ability to log these contacts in a database format (additional plugin required) and show icons and flags if added from basestation software suite or other such sources
    http://woodair.net/SBS/Utilities/Kin...s4_Bitmaps.htm

    !! It is not designed for those of you without a receiver of some type, or access to data from one. !!

    Paradiselost has in the past made an example page with graphics on setting up VRS and ADSBScope downstream using the RAW output. The same goes for other software, such as tailing off FR24feed output ports (see common ports)

    http://forum.flightradar24.com/threa...ll=1#post45960

    In short for ADSBScope:
    Other-Network-Network setup

    Raw-data-client
    Port:30002
    Dataformat: normal
    URL: 127.0.0.1 (mines on same PC)

    CLOSE (you need to scroll down to it)

    And then click the 3rd icon in the group of 3 that look like network computers (Start RAW-Client Data)
    Or other - network - RAW-Data Client Active

    Radarview

    When you are actively feeding and have a premium account, radar view can be used to attached to your local traffic (fr24feed) and display in a basic format also

    Log in to premium
    Click the "logged in" icon and select radar view
    Settings
    Add checkmark to Show local (and adjust IP accordingly if Pi/external PC)


    RTL1090
    This method is not advised as data quality may not be optimized for FR24 use - Dump1090 has similar web server display capability

    If you run RTL1090 this will already have exclusive control of the USB port
    - FR24feed will also want access if you choose 'DVBT' in configuration
    - RTL1090 will open port 31001*, 31004 OUT, 31002 IN when launched.

    Example Configuration:
    Receiver: Beast TCP/ AVR-TCP
    Source: localhost:31001*
    BS & RAW: OFF

    If the format is not recognised (Beast Binary) or other software requires strict AVR - you can over-ride when starting with a new shortcut or .cmd file - RTL1090.exe /AVR

    Other applications can connect to the same RAW/AVR out on 31001*. Or Basestation format on 31004


    *Default port is 31001
    Some systems may detect USB stick as 2nd device and change to 31011
    Output Port opened is shown on the bottom of the RTL1090 window!

    /edits
    9-2-16 Added RTL1090 info
    14-3-16 added more regarding VRS
    Last edited by Oblivian; 2018-05-06 at 09:17.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  10. #10
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,268
    WIP:


    Generic flow of data


    Optimised FR24feed as decoder:

    'DVBT' (no advanced features)
    DVBT -> USB -> FR24feed -> 30002 (if RAW out enabled)

    Dump1090 as decoder:
    'AVR-TCP' ( --NET)
    DVBT -> Dump1090 -> localhost:30002 -> FR24feed (30002 disable)
    DVBT -> Dump1090 -> localhost:30002 -> Other Software

    Linux and non-FR24 bundled Dump1090
    If installing Dump1090 or compiling outside of FR24feed bundle, as above posts indicate you must configure FR24feed to connect to Dump1090 via AVR-TCP on 30002 / Beast TCP on 30005
    Attempting to do so on pre-compiled FR24feed or PiAware image without linux knowledge is NOT advised

    Suggested method in basic steps
    Install Dump1090 of choice
    - Configure with advanced options of choosing
    - confirm working using web view
    Install FR24/Piaware package - wizard will detect (if running correctly!) and assist
    - Do NOT agree to 'enable RAW out' or basestation post install


    Planeplotter And FR24feed


    If FR24feed already working, configure planeplotter with TCP/IP receiver (AVR or beast) and point to the IP/device decoding the data

    If Planeplotter already working:
    Options - IO Settings - enable TCP/IP Server section. Select RAW box and specify unused port (eg 30333)
    Configure FR24feed with AVR TCP and use user configured port

    Other edits:
    'How it works' section
    More self diagnosis instructions
    - help us help you
    Last edited by Oblivian; 2018-04-19 at 03:38.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •