Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: FR24feed only on a Raspberry Pi using a FlightAware Pro Stick Plus ADS-B USB Receiver

  1. #11
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,770
    I also use Flightaware's Pro Stick, and Raspbian Jessie Lite.
    After going through this thread, I decided to install fr24feed on NOOBS
    NOTE
    I did NOT install any software other than:

    (1) NOOBS
    (2) FR24 FEEDER by bash script sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    It seems pizzapilot's problem is caused by following instructions on website wiganpi.online

    This is what I have done
    (1) Formatted microSD Card
    (2) Downloaded and installed NOOBS
    (3) Installed, signedup, and configured fr24feed using bash script:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"

    #updated noobs
    sudo apt-get update

    #installed fr24feed
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"

    #above install completed and automatically started signup
    #completed signup as below

    Step 1.1 - Enter your email address (username@domain.tld)
    $:xxxx@yyyyyy.com

    Step 1.2 - If you used to feed FR24 with ADS-B data before enter your sharing key.
    If you don't remember your sharing key, pelase use the retrival form:
    http://feed.flightradar24.com/forgotten_key.php

    Otherwise leave this field empty and continue.
    $:xxxxxxxxxxxxxxxx

    Verifying sharing key...OK



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

    IMPORTANT: For MLAT calculations the antenna's location should be entered very precise!

    Step 3.A - Enter antenna's latitude (DD.DDDD)
    $:43.5xxx

    Step 3.B - Enter antenna's longitude (DDD.DDDD)
    $:-79.6xxx

    Step 3.C - Enter antenna's altitude above the sea level (in feet)
    $:4xx

    Using latitude: 43.5xxx, longitude: -79.6xxx, altitude: 4xxft above sea level

    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)$: 1
    Checking for dump1090...FOUND

    Step 4.3 - Enter your additional dump1090 arguments or leave empty
    $:--net --net-http-port 8080 --net-bo-port 30005 --gain 30

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

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

    Step 6A - Please select desired logfile mode:
    0 - Disabled
    1 - 48 hour, 24h rotation
    2 - 72 hour, 24h rotation
    Select logfile mode (0-2)$:0


    Step 6B - Please enter desired logfile path (/var/log):
    $:/var/log

    Submitting form data...OK

    Congratulations! You are now registered and ready to share ADS-D data with Flightradar24.
    + Your radar id is T-CYYZ21, please include it in all email communication with us.
    + Please make sure to start sharing data within the next 3 days as otherwise your ID/KEY will be deleted.

    Thank you for supporting Flightradar24! We hope that you will enjoy our Premium services that will be available to you when you become an active feeder.

    To start sending data now please execute:
    sudo service fr24feed start

    Saving settings to /etc/fr24feed.ini...OK
    Settings saved, please run "sudo service fr24feed restart" to use new configuration.
    Installation and configuration completed!


    (4) Checked status in browser at address http://<IP of Pi>:8754, it shows:

    FR24 Link: Connected via UDP
    FR24 Radar Code: T-CYYZ21
    Aircraft Tracked (ModeS & ADS-B): 123
    Aircraft Uploaded: 81
    Receiver: dvbt, Connected
    MLAT running: YES



    (5) checked fr24feed
    #IMPORTANT: First stop fr24feed currently running in background
    sudo service fr24feed stop

    #Now start fr24feed manually to run in foreground, displaying all interactions
    sudo fr24feed

    ______ _ _ _ _ _ _____ ___
    | ___|| |(_) | | | | | | / __ \ / |
    | |_ | | _ __ _ | |__ | |_ _ __ __ _ __| | __ _ _ __`' / /' / /| |
    | _| | || | / _` || '_ \ | __|| '__|/ _` | / _` | / _` || '__| / / / /_| |
    | | | || || (_| || | | || |_ | | | (_| || (_| || (_| || | ./ /___\___ |
    \_| |_||_| \__, ||_| |_| \__||_| \__,_| \__,_| \__,_||_| \_____/ |_/
    __/ |
    |___/
    2017-06-28 11:00:50 | [main][i]FR24 Feeder/Decoder
    2017-06-28 11:00:50 | [main][i]Version: 1.0.18-9/generic
    2017-06-28 11:00:50 | [main][i]Built on Apr 20 2017 09:25:30 (T201704200925/Linux/static_arm)
    2017-06-28 11:00:50 | [main][i]Copyright 2012-2017 Flightradar24 AB
    2017-06-28 11:00:50 | [main][i]http://flightradar24.com
    2017-06-28 11:00:50 | [main][i]DNS mode: PING
    2017-06-28 11:00:50 | [main][i]Automatic updates are DISABLED
    2017-06-28 11:00:50 | ERROR
    2017-06-28 11:00:50 | [httpd][i]Server started, listening on 0.0.0.0:8754
    2017-06-28 11:00:50 | [master][i]Starting processing thread
    2017-06-28 11:00:50 | [main][i]Reader thread started
    2017-06-28 11:00:50 | [reader][i]Initializing reader
    2017-06-28 11:00:50 | [reader][i]Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090 --net --net-http-port 8080 --net-bo-port 30005 --gain 30 --raw --mlat)
    2017-06-28 15:00:50 | [main][i]MLAT data feed started
    2017-06-28 11:00:50 | [reader][i]Connected to the receiver, configuring
    2017-06-28 11:00:50 | [reader][i]Configured, processing messages
    2017-06-28 11:00:50 | [mlat][i]Waiting for MLAT configuration
    Found 1 device(s):
    0: Realtek, RTL2832UFA, SN: 00001000 (currently selected)
    Found Rafael Micro R820T tuner
    Setting gain to: 30.00
    Exact sample rate is: 2000000.052982 Hz
    Gain reported by device: 30.00
    2017-06-28 11:00:51 | [reader][w]Setting new UTC offset: 0!
    2017-06-28 11:00:51 | [time][i]Synchronizing time via NTP
    2017-06-28 11:01:22 | [time][i]Time synchronized correctly, offset -0.0016 seconds
    2017-06-28 11:01:22 | [main][i]Feed Network client started
    2017-06-28 11:01:22 | [feed][i]Downloading configuration
    2017-06-28 11:01:23 | [feed][c]Interval: 5s
    2017-06-28 11:01:23 | [feed][c]Latitude: 43.5xxx
    2017-06-28 11:01:23 | [feed][c]Longitude: -79.6xxx
    2017-06-28 11:01:23 | [feed][c]GND: YES
    2017-06-28 11:01:23 | [feed][c]NonADSB: YES
    2017-06-28 11:01:23 | [feed][c]Timestamps: optional
    2017-06-28 11:01:23 | [feed][c]Max range AIR: 350.0nm
    2017-06-28 11:01:23 | [feed][c]Max range GND: 100.0nm
    2017-06-28 11:01:23 | [feed][i]defined 5 servers
    2017-06-28 11:01:23 | [stats][i]Stats thread started
    2017-06-28 11:01:23 | [feed][n]CYYZ21@83.140.21.112:28099/UDP
    2017-06-28 11:01:23 | [feed][n]connecting
    2017-06-28 11:01:23 | [feed][n]connected via UDP (fd 7)
    2017-06-28 11:01:23 | [feed][n]working
    2017-06-28 11:01:23 | [feed][i]sent 1,0 AC
    2017-06-28 11:01:23 | [mlat][i]MLAT configuration received, service ENABLED
    2017-06-28 11:01:23 | [mlat][i]Starting MLAT with preconfigured position: 43.5x,-79.6x,xxx
    2017-06-28 11:01:23 | [mlat][i]MLAT bandwidth reduction active, level 1
    2017-06-28 11:01:23 | [mlat][i]Configuring UDP connection udp://usa-2.fr24.com:19788
    2017-06-28 11:01:27 | [feed][i]removed 2 of 30 AC
    2017-06-28 11:01:28 | [feed][i]sent 20,0 AC
    2017-06-28 11:01:33 | [feed][i]sent 20,0 AC
    2017-06-28 11:01:33 | [mlat][i]Registering MLAT station
    2017-06-28 11:01:33 | [mlat][i]Registering MLAT station: SUCCESS
    2017-06-28 11:01:35 | [feed][i]removed 1 of 38 AC
    2017-06-28 11:01:35 | [mlat][i]Received ADS-B time references AC:
    2017-06-28 11:01:35 | [mlat][i] A16E42
    2017-06-28 11:01:35 | [mlat][i] C01734
    2017-06-28 11:01:35 | [mlat][i] C02EB9
    2017-06-28 11:01:35 | [mlat][i] C060B9
    2017-06-28 11:01:35 | [mlat][i]Pinging the server
    2017-06-28 11:01:35 | [mlat][i]Stats 83838693/83838693
    2017-06-28 11:01:38 | [feed][i]sent 28,0 AC



    #stop manually started fr24feed by pressing Ctrl+C

    ^C 2017-06-28 11:01:41 | [main][i]Terminating on user request
    2017-06-28 11:01:41 | [main][i]Terminating worker threads
    2017-06-28 11:01:42 | [reader][i]Connection terminated
    2017-06-28 11:01:42 | [main][i]Terminating child process 1509 with SIGTERM
    2017-06-28 11:01:42 | [reader][i]Terminating on request
    2017-06-28 11:01:45 | [master][i]Terminating on request
    2017-06-28 11:01:45 | [feed][n]busy
    2017-06-28 11:01:45 | [feed][n]disconnected
    2017-06-28 11:01:45 | [feed][x]Feeding thread terminated
    2017-06-28 11:01:46 | [httpd][d]Client handler thread terminated
    2017-06-28 11:01:46 | [httpd][d]Client handler thread terminated
    2017-06-28 11:01:47 | [httpd][d]Master thread terminated


    #now start fr24feed to run in background, as is normal
    sudo service fr24feed restart
    Last edited by abcd567; 2017-06-28 at 17:19.

  2. #12
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,770
    I have set process arguments of fr24feed as follows:
    --net --net-http-port 8080 --net-bo-port 30005 --gain 30

    --net enables connection to other software (browser, other data feeders) through network

    --net-http-port 8080 enables map display in browser at port 8080 using address http://<IP of Pi>:8080. You can use a port number different from 8080 if you desire.

    --gain 30 sets gain of Pro Stick to 30 dB. Due to built-in amplifier and strong RF noise at my location, I had to use a reduced gain value (30 dB), instead of maximum value (49.6 dB)

    --net-bo-port 30005 makes available Beast format data on 127.0.0.1 port 30005. This will enable using other datafeeders like Planefinder, Flightaware, Radarbox24. All these Data Feeders listen to integral dump1090 of fr24feed, on 127.0.0.1 port 30005, format Beast.

    NOTE: Flightaware will feedback mlat data to dump1090 at port 30104. The integral dump1090 of fr24feed can be configured to receive this feedback (--net-bi-port 30104), but is not configurable to keep mlat feed back separate from data picked by antenna, and mixes them together. Flightaware feeder recognizes this mixture as two feeds with different time stamps, and mlat is finally disabled automatically.

    The solution for Flightaware mlat problem is to install either dump1090-mutability or dump1090-fa, as both are capable to prevent mlat feedback from going to output ports 30003 and 30005. The mlat feedback is combined with normal adsb feed only for display on map.

    If dump1090-mutability or dump1090-fa is installed:
    Settings of fr24feed should be changed. Changes can be made in any one of the two following methods:

    (a) By SSH:
    sudo fr24feed --reconfigure

    (b) In a browser of desktop/laptop/tablet/phone by going to following address:
    http://<IP of Pi>:8754/settings.html


    Settings should be changed to:
    Receiver: AVR(TCP) (chose "5 - AVR Compatible" if using "fr24feed --reconfigure" procedure by SSH)
    Host/IP & Port: 127.0.0.1:30002
    Last edited by abcd567; 2017-06-29 at 14:58.

  3. #13
    Passenger
    Join Date
    Jun 2017
    Posts
    5
    Hi All
    I need to put this project on hold as I think I need to rebuild the Pi from the beginning and unfortunately the box resides in our vacation home in the US and we are in the UK for three months. I will give the clean install as suggested in the recent post a try when I get back there. I also have antenna issues, great antenna that I have not figured out where I can install it as not to get the local HOA upset. On the positive side I have another Pi running in my home with a different brand of dongle and it appears to be stable. Thank-you to everyone for your help.

    pizzapilot

Tags for this Thread

Posting Permissions

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