Announcement

Collapse
No announcement yet.

RasPi 2 & SBS-1er

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RasPi 2 & SBS-1er

    Hi everyone,

    has anyone out there a setup with RasPi and SBS1-er feeding to FR24 via FR24feed? I have no luck setting up this combination.

    Hardware & Software:
    SBS1-er latest firmware (IP: 192.168.1.170)
    RasPi 2 running official Ubuntu 16.04.1 LTS (IP: 192.168.1.117)
    optional ModeSMixer2, latest Version for RasPi 2

    Planned Setup:

    SBS1-er -> ModeSMixer -> FR24Feed didn't work ...

    So i tried to get FR24 directly connected to SBS1-er (Option 2 - SBS1/SBS1er (USB/Network)) to track the error ... however ... best result that i can get is this:
    Code:
    2016-11-27 14:50:37 | [main][i]FR24 Feeder/Decoder
    2016-11-27 14:50:37 | [main][i]Version: 1.0.18-7/generic
    2016-11-27 14:50:37 | [main][i]Built on Jul 11 2016 09:24:44 (HEAD-91e2757.git/Linux/armv7l)
    2016-11-27 14:50:37 | [main][i]Copyright 2012-2016 Flightradar24 AB
    2016-11-27 14:50:37 | [main][i]
    2016-11-27 14:50:37 | [main][i]DNS mode: LIBC
    2016-11-27 14:50:37 | [main][i]Automatic updates are DISABLED
    2016-11-27 14:50:37 | [httpd][i]Server started, listening on 0.0.0.0:8754
    2016-11-27 14:50:37 | [main][i]Reader thread started
    2016-11-27 14:50:37 | [master][i]Starting processing thread
    2016-11-27 14:50:37 | [reader][i]Initializing reader
    2016-11-27 14:50:37 | [main][i]MLAT data feed started
    2016-11-27 14:50:37 | [reader][i]Connecting to SBS1 receiver on 192.168.1.170:10001
    2016-11-27 14:50:37 | [mlat][i]Waiting for MLAT configuration
    2016-11-27 14:50:37 | [reader][i]Connected to the receiver, authenticating
    2016-11-27 14:50:37 | [mlat][e]Receiver not compatible with MLAT, timestamps in wrong format![reader][i]Authenticated, processing messa                                      ges
    2016-11-27 14:50:38 | [time][i]Synchronizing time via NTP
    2016-11-27 14:50:42 | [time][i]Time synchronized correctly, offset -0.0012 seconds
    2016-11-27 14:50:42 | [main][i]Feed Network client started
    2016-11-27 14:50:42 | [feed][i]Downloading configuration
    2016-11-27 14:50:42 | [feed][c]Interval: 5s
    2016-11-27 14:50:42 | [feed][c]Latitude: [removed my coordinates here]
    2016-11-27 14:50:42 | [feed][c]Longitude: [removed my coordinates here]
    2016-11-27 14:50:42 | [feed][c]GND: YES
    2016-11-27 14:50:42 | [feed][c]NonADSB: YES
    2016-11-27 14:50:42 | [feed][c]Timestamps: optional
    2016-11-27 14:50:42 | [feed][c]Max range AIR: 350.0nm
    2016-11-27 14:50:42 | [feed][c]Max range GND: 100.0nm
    2016-11-27 14:50:42 | [feed][i]defined 5 servers
    2016-11-27 14:50:42 | [stats][i]Stats thread started
    2016-11-27 14:50:42 | [feed][n][removed my id here]@83.140.21.68:8099/UDP
    2016-11-27 14:50:42 | [feed][n]connecting
    2016-11-27 14:51:47 | [feed][n]connected via TCP (fd 9)
    2016-11-27 14:51:47 | [feed][n]working
    2016-11-27 14:52:17 | [feed][n]ping 1
    2016-11-27 14:52:18 | [feed][n]syncing stream result: 1
    2016-11-27 14:52:47 | [feed][n]ping 2
    2016-11-27 14:52:48 | [feed][n]syncing stream result: 1
    2016-11-27 14:53:17 | [feed][n]ping 3
    2016-11-27 14:53:18 | [feed][n]syncing stream result: 1
    2016-11-27 14:53:47 | [feed][n]ping 4
    2016-11-27 14:53:48 | [feed][n]syncing stream result: 1
    2016-11-27 14:54:17 | [feed][n]ping 5
    2016-11-27 14:54:18 | [feed][n]syncing stream result: 1
    2016-11-27 14:54:47 | [feed][n]ping 6
    2016-11-27 14:54:48 | [feed][n]syncing stream result: 1
    2016-11-27 14:55:17 | [feed][n]ping 7
    2016-11-27 14:55:18 | [feed][n]syncing stream result: 1
    Port 8754 shows:

    Code:
    Linux/generic/armv7l/1.0.18-7
    Updated: 15:55:38 GMT+0100
    
    FR24 Link:	Connected via TCP
    FR24 Radar Code:	[removed my id here]
    Aircraft Tracked (ModeS & ADS-B):	0
    Aircraft Uploaded:	N/A
    Receiver:	sbs1tcp, Connected
    MLAT running:	NO
    so it looks like there are no a/c around - but when I fire up ModeSmixer2 a second later I get > 25 a/c ...

    Another try was Option 7: SBSx via Basestation (localhost:30006) with ModeSmixer2 in between configured with sbs30006 out ... results like:

    Code:
    2016-11-27 15:20:00 | [main][i]FR24 Feeder/Decoder
    2016-11-27 15:20:00 | [main][i]Version: 1.0.18-7/generic
    2016-11-27 15:20:00 | [main][i]Built on Jul 11 2016 09:24:44 (HEAD-91e2757.git/Linux/armv7l)
    2016-11-27 15:20:00 | [main][i]Copyright 2012-2016 Flightradar24 AB
    2016-11-27 15:20:00 | [main][i]
    2016-11-27 15:20:00 | [main][i]DNS mode: LIBC
    2016-11-27 15:20:00 | [main][i]Automatic updates are DISABLED
    2016-11-27 15:20:00 | [httpd][i]Server started, listening on 0.0.0.0:8754
    2016-11-27 15:20:00 | [main][i]Reader thread started
    2016-11-27 15:20:00 | [master][i]Starting processing thread
    2016-11-27 15:20:00 | [main][i]MLAT data feed started
    2016-11-27 15:20:00 | [reader][i]Initializing reader
    2016-11-27 15:20:00 | [reader][i]Resolving IP address for localhost
    2016-11-27 15:20:00 | [mlat][i]Waiting for MLAT configuration
    2016-11-27 15:20:00 | [mlat][e]Receiver not compatible with MLAT, timestamps in wrong format![reader][i]Connecting to SBS1 receiver on [B]1.0.0.127[/B]:30006
    2016-11-27 15:20:01 | [time][i]Synchronizing time via NTP
    2016-11-27 15:20:04 | [time][i]Time synchronized correctly, offset -0.0001 seconds
    2016-11-27 15:20:04 | [main][i]Feed Network client started
    2016-11-27 15:20:04 | [feed][i]Downloading configuration
    2016-11-27 15:20:05 | [feed][c]Interval: 5s
    2016-11-27 15:20:05 | [feed][c]Latitude: [removed my coords here]
    2016-11-27 15:20:05 | [feed][c]Longitude: [removed my coords here]
    2016-11-27 15:20:05 | [feed][c]GND: YES
    2016-11-27 15:20:05 | [feed][c]NonADSB: YES
    2016-11-27 15:20:05 | [feed][c]Timestamps: optional
    2016-11-27 15:20:05 | [feed][c]Max range AIR: 350.0nm
    2016-11-27 15:20:05 | [feed][c]Max range GND: 100.0nm
    2016-11-27 15:20:05 | [stats][i]Stats thread started
    2016-11-27 15:20:05 | [feed][i]defined 5 servers
    2016-11-27 15:20:05 | [feed][n][removed my id here]@83.140.21.85:8099/UDP
    2016-11-27 15:20:05 | [feed][n]connecting
    2016-11-27 15:20:05 | [feed][n]connected via UDP (fd 9)
    2016-11-27 15:20:05 | [feed][n]working
    2016-11-27 15:20:35 | [feed][n]ping 1
    2016-11-27 15:20:36 | [feed][n]syncing stream result: 1
    2016-11-27 15:21:05 | [feed][n]ping 2
    2016-11-27 15:21:06 | [feed][n]syncing stream result: 1
    2016-11-27 15:21:35 | [feed][n]ping 3
    2016-11-27 15:21:36 | [feed][n]syncing stream result: 1
    NOTE THE: [reader][i]Connecting to SBS1 receiver on 1.0.0.127:30006
    which should be 127.0.0.1 in my oppinion. However I have no option to change that as I am not asked for an IP in option 7!

    Port 8754 shows:

    Code:
    Linux/generic/armv7l/1.0.18-7
    Updated: 16:22:01 GMT+0100
    
    FR24 Link:	Connected via UDP
    FR24 Radar Code:	[removed my id here]
    Aircraft Tracked (ModeS & ADS-B):	0
    Aircraft Uploaded:	N/A
    Receiver:	basestation, Connected
    MLAT running:	NO
    So my guess is that FR24feed for RasPi is currently broken?! Or is it me being too stupid? Any ideas welcome Does anyone have an older version for RasPi available for download? I can only find i386 .debs ...

    Many thanks

  • #2
    Originally posted by EDHL View Post
    NOTE THE: [reader][i]Connecting to SBS1 receiver on 1.0.0.127:30006
    which should be 127.0.0.1 in my oppinion. However I have no option to change that as I am not asked for an IP in option 7!

    Port 8754 shows:
    In that same config page under settings, chosing any of the 'tcp' based options rather than USB enables the field for 'IP address' that can be then populated and changed if need be.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

    Comment


    • #3
      Originally posted by EDHL View Post
      NOTE THE: [reader][i]Connecting to SBS1 receiver on 1.0.0.127:30006
      which should be 127.0.0.1 in my oppinion. However I have no option to change that as I am not asked for an IP in option 7!
      Originally posted by Oblivian View Post
      In that same config page under settings, chosing any of the 'tcp' based options rather than USB enables the field for 'IP address' that can be then populated and changed if need be.
      What Oblivian has said is shown in graphic form below.
      Both the IP and Port number can be set by the user.
      FR24 settings.png

      Comment


      • #4
        Hi guys,

        thanks for your replies. Meanwhile i got it working. I didn't realize that i am able to set the IP manually in the form. However I no found out that it works if I use MSM2 to connect port 10001 of the SBS1-er and having an avrmlat output from MSM2 to which i connect with FR24feed. Now i have another problem - well - not sure if it is a problem.

        Code:
        2016-11-28 10:50:08 | [mlat][i]No ADS-B time reference available (0/6)
        2016-11-28 10:50:08 | [mlat][i]Pinging the server
        [COLOR="#FF0000"]2016-11-28 10:50:08 | [mlat][w]Could not ping MLAT server, result=-1000, number of errors=2
        2016-11-28 10:50:08 | [mlat][i]Terminating connection
        2016-11-28 10:50:09 | [mlat][i]Configuring UDP connection udp://mlat-1.fr24.com:19788
        2016-11-28 10:50:09 | [mlat][i]Registering MLAT station
        2016-11-28 10:50:09 | [mlat][i]Registering MLAT station: SUCCESS[/COLOR]
        2016-11-28 10:50:11 | [feed][i]sent 0,6 AC
        2016-11-28 10:50:12 | [feed][i]filtering out 10 overlapping AC (saving bandwidth)
        2016-11-28 10:50:16 | [feed][i]sent 0,7 AC
        2016-11-28 10:50:20 | [feed][i]removed 1 of 17 AC
        2016-11-28 10:50:21 | [feed][i]sent 0,6 AC
        [COLOR="#FF0000"]2016-11-28 10:50:25 | [mlat][i]No ADS-B time reference available (0/6)[/COLOR]
        2016-11-28 10:50:26 | [feed][i]sent 0,8 AC
        2016-11-28 10:50:31 | [feed][i]sent 0,6 AC
        2016-11-28 10:50:32 | [feed][i]removed 1 of 16 AC
        2016-11-28 10:50:36 | [feed][i]sent 0,6 AC
        Have these messages every 30 seconds in my logs - any ideas how to fix that? Does it need to be fixed.

        thanks again guys!

        Comment


        • #5
          @EDHL
          Dont worry.
          I also regularly get these, but I just ignore it.
          When I check my FR24 statistics page, it shows all ok.
          2016-11-28 09:58:32 | [mlat][i]Registering MLAT station
          2016-11-28 09:58:32 | [mlat][i]Registering MLAT station: SUCCESS
          2016-11-28 09:58:32 | [feed][n]connected via UDP (fd 8)
          2016-11-28 09:58:32 | [feed][n]working
          2016-11-28 09:58:33 | [feed][i]sent 52,0 AC
          2016-11-28 09:58:38 | [feed][i]sent 73,0 AC
          2016-11-28 09:58:43 | [feed][i]sent 73,0 AC
          2016-11-28 09:58:48 | [feed][i]sent 72,0 AC
          2016-11-28 09:58:53 | [mlat][i]No ADS-B time reference available (0/14)
          2016-11-28 09:58:53 | [feed][i]sent 76,0 AC
          2016-11-28 09:58:58 | [feed][i]sent 76,0 AC
          2016-11-28 09:59:03 | [feed][i]sent 72,0 AC
          2016-11-28 09:59:08 | [feed][i]sent 74,0 AC
          2016-11-28 09:59:09 | [mlat][i]No ADS-B time reference available (0/15)
          2016-11-28 09:59:09 | [mlat][i]Pinging the server
          2016-11-28 09:59:09 | [mlat][w]Could not ping MLAT server, result=-1000, number of errors=1
          2016-11-28 09:59:13 | [feed][i]sent 74,0 AC
          2016-11-28 09:59:18 | [feed][i]sent 72,0 AC
          2016-11-28 09:59:23 | [feed][i]sent 60,0 AC
          2016-11-28 09:59:25 | [mlat][i]No ADS-B time reference available (0/16)
          2016-11-28 09:59:29 | [feed][i]sent 71,0 AC
          2016-11-28 09:59:34 | [feed][i]sent 71,0 AC
          2016-11-28 09:59:35 | [feed][i]filtering out 1 overlapping AC (saving bandwidth)
          2016-11-28 09:59:39 | [feed][i]sent 74,1 AC
          2016-11-28 09:59:40 | [feed][i]removed 1 of 97 AC
          2016-11-28 09:59:41 | [mlat][i]No ADS-B time reference available (0/13)
          2016-11-28 09:59:41 | [mlat][i]Pinging the server
          2016-11-28 09:59:41 | [mlat][w]Could not ping MLAT server, result=-1000, number of errors=2

          Comment

          Working...
          X