Welcome to Radarspotting. Please login or sign up.

March 18, 2025, 04:28:45 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

SBS 3, PI 3+ and Flight Radar 24

Started by skippyinspace, December 31, 2023, 06:42:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skippyinspace

I have the above and want to share data to Flight Radar 24.

Silly question is it just a case of just doing this as per the manual and making sure the SBS 3 is connected to the Pi

Installation Option 2 - A - Download our Raspberry Pi package containing everything you
need to start sharing your data with us:

ie no need to download anything else.

Plan would be to do the following when I want to see my local traffic ,

enter your radar ID in the Radar filter to view just the aircraft you're tracking on the live Flightradar24 map.Yes, enter your radar ID in the Radar filter to view just the aircraft you're tracking on the live Flightradar24 map.

Thanks in advance

Ian

Anmer

Do you only want to share the data to FR24 or do you want to use it elsewhere, such as for Basestation or VRS and maintain a local database of received aircraft data?
Here to Help.

skippyinspace

Only FR24

I have downloaded the image and atempted to connect but though its saying online its not feeding the data to FR24.

Looks like a path issue or something.

2024-01-01 10:06:22 | [reader][e]Could not connect to /dev/ttyUSB0
2024-01-01 10:06:22 | [reader]Connecting to SBS3 receiver via USB (/dev/ttyUSB0)
2024-01-01 10:06:19 | [feed][n]syncing stream result: 1

I have a post on the FR24 Forum under feeding data forum page.

Though Im looking for the simplest way to run the system 24/7 and share data where I can see it.

I dont have anything else on the pi like, Dump 1090 or mixmodes2  Though a forum suggestion was to instal mixmodes2 or even buy a dongle

Ian

Anmer

The SBS-3 has raw data output avilable via Ethernet on port 30006.

The FR24 manual has more information on sharing data from the SBS, page 8 onwards:

https://repo-feed.flightradar24.com/fr24feed-manual.pdf
Here to Help.

skippyinspace

Sorry for bieng a bit slow here.

Does that mean plugging the ethernet cable from the SBS 3 direct into the Pi (Removing the USB Cable) and then do I chose SBS via Ethernet / TCP and use the setting in the FR24 manual you refer to.

Thanks

Ian

Anmer

Unfortunately I'm not setup to run any tests so this is not a guaranteed solution.

The FR24 manual sstates the SBs-3 can be connected to the RPi via Ethernet or USB.  Whichever you try, you need to edit the config file.  Appendix A should help.
Here to Help.

skippyinspace

Getting this now from the log

2024-01-01 17:43:01 | [reader][e]Could not connect to 192.168.1.170
2024-01-01 17:42:57 | [reader]Connecting to SBS3 receiver on 192.168.1.170:10001
2024-01-01 17:42:52 | [reader][e]Could not connect to 192.168.1.170
2024-01-01 17:42:49 | [reader]Connecting to SBS3 receiver on 192.168.1.170:10001
2024-01-01 17:42:44 | [reader][e]Could not connect to 192.168.1.170
2024-01-01 17:42:41 | [reader]Connecting to SBS3 receiver on 192.168.1.170:10001
2024-01-01 17:42:36 | [reader][e]Could not connect to 192.168.1.170

Settings

Host/IP:   192.168.1.170:10001



Anmer

How is the sbs connected to the RPi, USB or Ethernet?

Can you post the FR24 config file?
Here to Help.

Faramir

Quote from: skippyinspace on January 01, 2024, 05:17:28 PMDoes that mean plugging the ethernet cable from the SBS 3 direct into the Pi

No, both the Pi and the SBS-3 need te be connected to a switch. Most modems/routers come equipped with such a switch.

skippyinspace

Silly question where do I find the FR24 config file, I always strugle trying to find things on the pi!

Ok as for the Ethernet cable I do have a switch but again excuse my no understanding I plug from the Pi into the switch and then from the switch into the SBS 3 - Why escpecially as the switch wont be connected to anything else.

I do understand though if using ethernet then the USB must be plugged in as it is also part of the power source.

I did try to post the FR24 web UI but I couldnt work out how to!

Thanks

skippyinspace

Found the config file

receiver="sbs3tcp"
fr24key="7f351959ae484b83"
host="192.168.1.170:10001"
path="/dev/ttyUSB0"
bs="yes"
raw="no"
baudrate="3000000"
logmode="1"
windowmode="0"
logpath="/var/log/fr24feed"
mpx="no"
mlat="yes"
mlat-without-gps="yes"

Anmer

Try connecting the SBS-3 to the RPi using USB and change:

receiver="sbs1usb"

If that still doesn't work, additionally try:

host="192.168.1.170:30006"

Here to Help.

skippyinspace

#12
Made both changes now getting this error, Which goes back to the I have no idea what to put in the com/ dev path and took the info from a post.

2024-01-02 09:43:39 | [reader][e]Could not connect to /dev/ttyUSB0
2024-01-02 09:43:39 | [reader]Connecting to SBS1 receiver via USB (/dev/ttyUSB0)
2024-01-02 09:43:34 | [reader][e]Could not connect to /dev/ttyUSB0
2024-01-02 09:43:34 | [reader]Connecting to SBS1 receiver via USB (/dev/ttyUSB0)
2024-01-02 09:43:29 | [reader][e]Could not connect to /dev/ttyUSB0
2024-01-02 09:43:29 | [reader]Connecting to SBS1 receiver via USB (/dev/ttyUSB0)
2024-01-02 09:43:24 | [reader][e]Could not connect to /dev/ttyUSB0
2024-01-02 09:43:24 | [reader]Connecting to SBS1 receiver via USB (/dev/ttyUSB0)
2024-01-02 09:43:22 | [feed][n]syncing stream result: 1
2024-01-02 09:43:21 | [feed][n]ping 3

When I change the dev/ttyusb to either 1 or 2 I get the below

2024-01-02 12:11:11 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-02 12:10:51 | [reader]Connected to the receiver, authenticating
2024-01-02 12:10:51 | [reader]Connecting to SBS1 receiver via USB (/dev/ttyUSB1)
2024-01-02 12:10:46 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-02 12:10:43 | [feed][n]syncing stream result: 1






Further info

sudo lsusb
Bus 001 Device 009: ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC
Bus 001 Device 006: ID 045e:00b0 Microsoft Corp. Digital Media Pro Keyboard
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Running
Sudo lsusb /dmseg (Gives below )
Usage: lsusb [options]...
List USB devices
-v, --verbose
Increase verbosity (show descriptors)
-s [[bus]:][devnum]
Show only devices with specified device and/or
bus numbers (in decimal)
-d vendor:[product]
Show only devices with the specified vendor and
product ID numbers (in hexadecimal)
-D device
Selects which device lsusb will examine
-t, --tree
Dump the physical USB device hierarchy as a tree
-V, --version
Show version of program
-h, --help
Show usage and help

Thanks for your paitence

Ian

Faramir

Quote from: skippyinspace on January 01, 2024, 07:18:16 PMWhy escpecially as the switch wont be connected to anything else.

Both the Pi and the SBS-3 are what are in network terms called 'hosts'. That means they send and receive data via the same wire in the cable. Hosts need to 'talk' to a 'node'. The switch is such a node. That device make sure that the data that is send via the tx-wire arrives on other host's rx-wire and vice versa. The only way to let two hosts communicate directly is by using a 'cross-cable'. In such a cable the tx and rx wires are crossed between the two connectors.

skippyinspace

Thanks for the explanation about the swithch. Ive been talking to FR24 Support who are working on this via the USB side of things  so asked me to remove the host IP address

Have changed the USB from USB0 to USB1 and now get the following, I am talking to Support but again feel like im missing something obvious.

2024-01-03 16:38:17 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-03 16:38:14 | [feed][n]syncing stream result: 1
2024-01-03 16:38:13 | 24-01-03 16:38:13.946 [crxstats_sender.cpp:84] [stats]sent 16 bytes
2024-01-03 16:38:13 | [feed][n]ping 20
2024-01-03 16:38:13 | [reader]Connected to the receiver, authenticating
2024-01-03 16:38:13 | [reader]Connecting to SBS3 receiver via USB (/dev/ttyUSB1)
2024-01-03 16:38:08 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-03 16:38:05 | [reader]Connected to the receiver, authenticating
2024-01-03 16:38:05 | [reader]Connecting to SBS3 receiver via USB (/dev/ttyUSB1)
2024-01-03 16:38:00 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-03 16:37:56 | [reader]Connected to the receiver, authenticating
2024-01-03 16:37:56 | [reader]Connecting to SBS3 receiver via USB (/dev/ttyUSB1)
2024-01-03 16:37:51 | [reader][e]Authentication failed, please make sure the specified device is a SBSX-USB receiver
2024-01-03 16:37:46 | [reader]Connected to the receiver, authenticating
2024-01-03 16:37:46 | [reader]Connecting to SBS3 receiver via USB (/dev/ttyUSB1) zz0.a4qovy0a4sdzz

Copy on ini file

receiver="sbs3usb"
fr24key="7f351959ae484b83"
path="/dev/ttyUSB1"
bs="yes"
raw="yes"
baudrate="921600"
logmode="1"
windowmode="0"
logpath="/var/log/fr24feed"
mpx="no"
mlat="no"
mlat-without-gps="no" zz0.3j9yxxfl047zz
�������