Results 1 to 10 of 10

Thread: Two feeds in the same Raspberry

  1. #1
    Passenger
    Join Date
    Feb 2015
    Posts
    31

    Two feeds in the same Raspberry

    Hi all,

    I'd like to know if it is possible to have two different FR24 accounts feeding the same Rpi3, each account having one different receiver.
    So is like: Receiver A + Antenna A -> FR24 account 1
    Receiver B + Antenna B -> FR24 account 2

    (running both in the same Raspberry)


    Many thanks!

  2. #2
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,872
    YES, It is possible. I have done it.

    https://github.com/abcd567a/two-rece...ster/README.md

    The script creates two instances of dump1090 and 2 instances of Piaware data feeder.
    On this setup, if you install fr24feed by bash script, it will use first set of (antenna+dvbt+dump1090).

    The second set of (antenna+dvbt+dump1090) is used by piaware only.
    I have separately created one more script which added 2nd fr24feed which uses second set of (antenna+dvbt+dump1090).

    I did not upload the 2nd fr24feed script anywhere. it is only on my desktop.
    EDIT: Recalled I have posted the method to add 2nd fr24feed here:

    https://forum.flightradar24.com/thre...l=1#post118888

    In above post, both feeder config are done manually (as it is on Intel PC).
    In RPi, feeder #1 is installed by bash script, and all its configuration & service files are created by the bash script.
    Therefore no need to create any configuration & service files for feeder #1.

    Just create the necessary configuration & service files for feeder #2 only.

    two receivers.png
    Last edited by abcd567; Yesterday at 00:24.

  3. #3
    Captain
    Join Date
    Apr 2018
    Posts
    877
    You can't run FR24 MLAT twice on the same device.
    The 8754 webpage will only work once.

    So it's possible, but annoying.

  4. #4
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,872
    MLAT runs on both feeders. The machine (RPi) is one, but Receivers and feeders are TWO completely independent and isolated with each other.

    Antenna-1 >> dvbt-1 >> dump1090-1 >> port 30005 >> feeder-1

    Antenna-2 >> dvbt-2 >> dump1090-2 >> port 31005 >> feeder-2


    You can check my Flightaware Stations 5252 and 6396 which are run on single RPi. Mlat always shows OK.

    https://flightaware.com/adsb/stats/u...567#stats-5252

    https://flightaware.com/adsb/stats/u...567#stats-6396



    Here are my FR24 feeder logs:

    RECEIVER #1 - CYYZ9
    Code:
    2019-10-21 02:35:50 | info | Network thread connecting to 185.218.24.22:8099 for feed CYYZ9
    2019-10-21 02:35:50 | [feed][n]connecting
    2019-10-21 02:35:50 | info | [stats]Stats thread started
    2019-10-21 02:35:50 | [feed][n]connected via UDP (fd 27)
    2019-10-21 02:35:50 | [feed][i]Feed connected
    2019-10-21 02:35:50 | [feed][n]working
    2019-10-21 02:35:50 | [reader][i]Timestamp source changed from SYSTEM-UNCERTAIN to SYSTEM-VALIDATED
    2019-10-21 02:35:51 | [mlat][i]MLAT configuration received, service ENABLED
    2019-10-21 02:35:51 | [mlat][i]Starting MLAT with preconfigured position: 43.58,-79.62,450.0
    2019-10-21 02:35:51 | [mlat][i]MLAT bandwidth reduction active, level 1
    2019-10-21 02:35:51 | [mlat][i]Configuring UDP connection udp://usa-2.fr24.com:19788
    2019-10-21 02:35:51 | [mlat][i]Registering MLAT station
    2019-10-21 02:35:51 | [mlat][i]Registering MLAT station: SUCCESS
    2019-10-21 02:35:52 | [feed][i]sent 2,0 AC
    2019-10-21 02:35:53 | [mlat][i]Received ADS-B time references AC:
    2019-10-21 02:35:53 | [mlat][i] C073E7
    2019-10-21 02:35:56 | [mlat][i]Pinging the server
    2019-10-21 02:35:56 | [mlat][i]Stats 364934/364934
    2019-10-21 02:35:57 | [feed][i]sent 2,0 AC
    2019-10-21 02:36:03 | [feed][i]sent 3,0 AC
    2019-10-21 02:36:08 | [feed][i]sent 3,0 AC

    RECEIVER#2 -CYYZ21
    Code:
    2019-10-21 02:35:50 | info | Network thread connecting to 185.218.24.22:8099 for feed CYYZ21
    2019-10-21 02:35:50 | [feed][n]connected via UDP (fd 26)
    2019-10-21 02:35:50 | [feed][i]Feed connected
    2019-10-21 02:35:50 | [feed][n]working
    2019-10-21 02:35:50 | [reader][i]Timestamp source changed from SYSTEM-UNCERTAIN to SYSTEM-VALIDATED
    2019-10-21 02:35:51 | [mlat][i]MLAT configuration received, service ENABLED
    2019-10-21 02:35:51 | [mlat][i]Starting MLAT with preconfigured position: 43.58,-79.62,450.0
    2019-10-21 02:35:51 | [mlat][i]MLAT bandwidth reduction active, level 1
    2019-10-21 02:35:51 | [mlat][i]Configuring UDP connection udp://usa-2.fr24.com:19788
    2019-10-21 02:35:51 | [mlat][i]Registering MLAT station
    2019-10-21 02:35:51 | [mlat][i]Registering MLAT station: SUCCESS
    2019-10-21 02:35:51 | [feed][i]sent 2,0 AC
    2019-10-21 02:35:53 | [mlat][i]Received ADS-B time references AC:
    2019-10-21 02:35:53 | [mlat][i] C073E7
    2019-10-21 02:35:56 | [mlat][i]Pinging the server
    2019-10-21 02:35:56 | [mlat][i]Stats 364934/0
    2019-10-21 02:35:57 | [feed][i]sent 2,0 AC
    2019-10-21 02:36:02 | [feed][i]sent 2,0 AC
    2019-10-21 02:36:07 | [feed][i]sent 2,0 AC

  5. #5
    Passenger
    Join Date
    Feb 2015
    Posts
    31
    Many thanks for pointing me in the right direction, much appreciated!
    I'll try that and will report if all is going well!

    Best regards

    Quote Originally Posted by abcd567 View Post
    YES, It is possible. I have done it.

    https://github.com/abcd567a/two-rece...ster/README.md

    The script creates two instances of dump1090 and 2 instances of Piaware data feeder.
    On this setup, if you install fr24feed by bash script, it will use first set of (antenna+dvbt+dump1090).

    The second set of (antenna+dvbt+dump1090) is used by piaware only.
    I have separately created one more script which added 2nd fr24feed which uses second set of (antenna+dvbt+dump1090).

    I did not upload the 2nd fr24feed script anywhere. it is only on my desktop.
    EDIT: Recalled I have posted the method to add 2nd fr24feed here:

    https://forum.flightradar24.com/thre...l=1#post118888

    In above post, both feeder config are done manually (as it is on Intel PC).
    In RPi, feeder #1 is installed by bash script, and all its configuration & service files are created by the bash script.
    Therefore no need to create any configuration & service files for feeder #1.

    Just create the necessary configuration & service files for feeder #2 only.

    two receivers.png

  6. #6
    Purser
    Join Date
    Apr 2013
    Location
    Brisbane, Australia
    Posts
    101
    Why would you have two instances of FR24 on the same RPi? is it for testing different antennas? Do you have the receivers on USB extensions?

  7. #7
    Passenger
    Join Date
    Feb 2015
    Posts
    31
    I have done all the steps. I can only view one fr24feed page (ip:8754) but I get no map available neither for dump1090-fa nor dump1090fa-2...

    "Problem fetching data from dump1090.
    AJAX call failed (error). Maybe dump1090 is no longer running?
    The displayed map data will be out of date."


    Any help please?

    Thank you

  8. #8
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,057
    And this shows the dangers of going off-script to a normal single setup...
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  9. #9
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,872
    (1) Unplug, then after 30 seconds replug both dvbt dongles, then reboot RPi. Check map again

    (2) The ip-of-pi:8754 page is available for ONE instance of fr24feed. Unfortunately this cannot be changed as it is hard coded in the fr24feed binary. At reboot, the instance which starts first grabs :8754, and other is left without this page.

  10. #10
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,872
    To configure two fr24feeds, dont use settings page at :8754. Instead edit following files:

    Code:
    ## For feeder #1
    sudo nano /etc/fr24feed.ini  
    
    ## For feeder #2
    sudo nano /etc/fr24feed-2.ini

Posting Permissions

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