Welcome to Radarspotting. Please login or sign up.

July 24, 2026, 02:10:38 AM

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.

Feeding Multiple sites with a Pi or other single board computer

Started by Spotter with No Name, September 25, 2024, 11:54:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anmer

Thanks.  So what IP address do I set in BaseStation for port 30003?

The RPi's actual address is 192.168.1.72 though ADSB.im has allocated it 178.18.0.5.

If I set BaseStation's network address to 192.168.1.72:30003 it doesn't connect.

Nor if I use 178.18.0.5:30003
Here to Help.

wiedehopf

Quote from: Anmer on October 10, 2024, 12:39:08 PMThe RPi's actual address is 192.168.1.72 though ADSB.im has allocated it 178.18.0.5.

This IP "allocation" is your misunderstanding.
ADSB.im allocates no addresses, the OS just uses DHCP like pretty much any other system to get an IP.

178.18.0.5 is the IP that the FA feeder sees in its container.
It's NOT the IP of the RPi.

Anmer

I know it's not the RPi's IP address,  But the IP address of 178.18.0.5 hasn't been assigned by my router.

As posted by Rikgale earlier, which I assume is correct?:

Quote from: rikgale on September 29, 2024, 03:37:49 PMThe ADSB.im image runs using a load of docker containers.

172.18.0.5 is an internal IP to the docker network that resides on the machine.

So the outstanding question is what IP address should BaseStation use to get the data that you say is made avilable by ADSB.im on port 30003?
Here to Help.

wiedehopf

The RPi only has one IP on your local network so you won't reach it using another IP.

Anmer

Are you able to answer the question?

QuoteSo the outstanding question is what IP address should BaseStation use to get the data that you say is made avilable by ADSB.im on port 30003?

You said that ADSB.im makes suitable data available on port 30003:

Quote30003 is open on adsb.im and you can just pull SBS.

If I configure BaseStation for a network connection using the RPi IP address and port 30003, not data is available.  But I can get it using ModeSMixer2, which you said wasn't needed.

That suggests suitably decoded data for use by BaseStation isn't available from ADSB.im on port 30003.  I could be wrong but so far, I can't get at it!
Here to Help.

wiedehopf

Sample output of the port:
nc 192.168.2.80 30003
MSG,8,1,1,4D2412,1,2024/10/10,15:18:25.247,2024/10/10,15:18:25.306,,,,,,,,,,,,0
MSG,4,1,1,3C542B,1,2024/10/10,15:18:25.249,2024/10/10,15:18:25.306,,,408,204,,,0,,,,,0
MSG,5,1,1,3C66C3,1,2024/10/10,15:18:25.253,2024/10/10,15:18:25.306,,27875,,,,,864,,0,,0,

That's SBS / Basestation protocol.

Possibly the Basestation software can't TCP connect but needs the data pushed into a listen port?
I'm not familiar with it.
Also not familiar which format it needs exactly, you'd think it can use the data format with its name.

Anmer

Thanks.

BaseStation expects decoded data in a usable format.  It was designed to work with the Kinetic SBS/Puck receivers which output the decoded data.  I suspect the data on Port 30003 from ADSB.im isn't in the required format.  ModeSMixer2 converts and outputs the data in a suitable format which is why it is needed in this instance.

I guess the "push" option doesn't output suitable data either?
Here to Help.

wiedehopf

Which format are you specifying with modesmixer?

I guess it needs sbs10001 protocol as indicated here: https://www.rtl-sdr.com/tech-minds-using-basestation-software-with-any-adsb-hardware-xrange2-demonstration/

Baffling that software can't even use the format it originally introduced.
Might as well ingest beast from 30005 with ModesMixer then as it has more data than the SBS protocol.
Not sure how much of that carries over into sbs10001 when transcoding with ModesMixer but might as well (at least if it works).

The push option is the same dataformat as 30003, not sbs10001 protocol.

Anmer

Thanks for the reply.

QuoteWhich format are you specifying with modesmixer?

Here is a typical ModeMixer2 config:

@echo off
CMD /c I:\MSM2\modesmixer2.exe --inConnect 192.168.1.136:30003  --inConnect 192.168.1.136:30105 --filter-nocountry --outServer sbs10001:10002
exit

Where the IP address is that of the RPi running Dump1090-fa.

Just one question.  How do you know this statement is correct?

QuoteBaffling that software can't even use the format it originally introduced.

What software?  BaseStation uses the decoded data from the SBS/Puck receivers.  Nothing has changed in 20 years.

As it says in your link:

QuoteIn his latest video Tech Minds demonstrates how you can use the ModeSMixer software to translate ADS-B data coming from an RTL-SDR compatible program like dump1090 into the BaseStation data format.
Here to Help.

Oldfella

Thanks Anmer and Wiedehopf for your inputs regarding my question of using ADSB.im to feed BaseStation. I'm somewhat confused as to whether ADSB.im can feed BaseSation or not. I have tried all the suggestions posted here and like Anmer had no luck in doing so.

Thanks again.
Oldfella

Anmer

It may help if I post a summary?

  • ADSB.im makes it easier to set up an SD card for use in an SBC (such as an RPi) with selected feeds to third parties.  It does this well.
  • ADSB.im has its own map and aircraft list as well as unique management features.
  • However, ADSB.im creates a false "local" IP address, as explained earlier.  This can cause some third party options to fail or require a different approach.
  • Decoded data in BaseStation format isn't available via ADSB.im on port 30003
  • As with any other RPi/SDR setup, ModeSMixer2.exe can be used access data from the RPi and make it available to BaseStation.

So, Yes, one can use ADSB.im and acess the available data to run BaseStaion - but only via ModeSMixer2.

Here to Help.

abcd567

Actually there is some confusion in terminology.
Generally the output from port 30003 is called "Basestation" format, which created this confusion.

The correct name of port 30003 data format is "msg"
The correct name of format used by BaseStation software is "sbs"
These two formats ("msg" and "sbs") are different.
The decoders like dump1090 and readsb do NOT produce "sbs" format.
Sergesero has successfully incorporated conversion of data from dump1090 in beast/msg/raw formats to "sbs" format in "ModeSMixer2".

You can get a "sbs" data formatserver in "ModeSMixer2" by adding following parameter:

--outServer sbs10001:10001

Then set the Basestation software
Settings>>Hardware Settings>>Network as follows:

Address: IP of RPi
Port: 10001

Please see attched screenshots. Click screenshots to enlarge these to full size.




abcd567

Additional info
The only decoder which is capable to provide listning port in sbs format is ModeSDeco2 by Sergsero. Please see attached screenshot of relevant part of output of command "modesdeco2 --help". Please click on attached screenshot to see latger size.

abcd567

(1) To Download Windoows & Linux versions of ModeSMixer2, ModeSDeco2 & AcarSDeco2, visit page linked below:

https://github.com/abcd567a/mm2/releases/tag/v1


(2) Automated install scripts
For installation of ModeSMixer2, ModeSDeco2 and AcarSDeco2 on

  • Raspberry Pi OS (32-bit / 64-bit)
  • Ubuntu amd64/x86_64
  • Debian amd64/x86_64

Visit following sites:





These scripts install the systemd facility for status/start/stop/restart

Few days ago I have updated these sites, so now these scripts install the required dependency packages as well.

.

Anmer

Quote from: abcd567 on October 30, 2024, 01:34:22 PM(1) To Download Windoows & Linux versions of ModeSMixer2, ModeSDeco2 & AcarSDeco2, visit page linked below:

ModeSMixer2 and ModeSDeco2 can also be downloaded from this forum's Software area, as can AcardSDeco2 for Windows.
Here to Help.