Welcome to Radarspotting. Please login or sign up.

January 25, 2026, 06:34:00 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.

ModeSMixer2

Started by Dreamliner787, March 11, 2025, 06:22:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dreamliner787

port 30005 as far as I'm aware,

downloaded ModeSMixer2 from, Downloads: ModeSMixer2 for Raspberry Pi 4,
the download contains 3 files , License.MIT, modesmixer2 and modesmixer2.txt, is that correct?

Anmer

OK, let's focus on how to use MMS2.

The file modesmixer2.exe is the software that we want to use. 

If you use Windows, download the file and place it in a folder of choice.

To use the software, you need to create and launch a bat file.  When launched (opened) the bat file will communicate with the exe file and execute the bat file instructions, an example of which I posted earlier.

On its own, modesmixer2.exe is inactive.  It's the bat file that does the work and must always be running if you want to access the RPi data.

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

In the above example, my modesmixer2.exe is on my I drive in a folder named MSM2.  Your Bat file should replace that with your modesmixer2.exe location path and RPi IP address and port (for inConnect).

My bat file is a text file created in Notepad and named "MMS2.bat".  It can be named whatever you prefer but needs to be saved as a .bat.

To launch the bat file just double click on it.  Mine is on the desktop.

I'm sure there's an option to do all this on the RPi but I have no experience of this so someone else will have to advise.
Here to Help.

Dreamliner787

ok ,thank you , but the ModeSMixer2.exe wasn't in the folder I created for MSM2 and I downloaded that from this website.

wiedehopf

Quote from: Anmer on March 12, 2025, 07:32:05 AM
  • On what port does ADSB.im output the quivalent data to PiAware's port 30005?


30003 SBS output
30005 beast output
31005 mlat results beast output

Pretty much the same you would get from piaware.
Except the mlat results will be combined from whichever aggregators that are configured and provide MLAT results.

Anmer

Quote from: Dreamliner787 on March 12, 2025, 11:28:02 AMok ,thank you , but the ModeSMixer2.exe wasn't in the folder I created for MSM2 and I downloaded that from this website.

The downloaded modesmixer2.exe file should be placed in the folder you created. It won't get there on its own.

Please post the contents of your .bat file.
Here to Help.

Dreamliner787

CMD /c I:\MSM2\modesmixer2.exe --inConnect 192.168.1.108:30005 --filter-nocountry --outServer sbs10001:10002
exit


When I downloaded MSM2 and extracted it to C:\ModeSMixer2, there is no file called modesmixer2.exe.

"The downloaded modesmixer2.exe file should be placed in the folder you created. It won't get there on its own".

where do I find if it's not in the downloaded file ?



Anmer

#21
Thanks.

Which version of ModeSMixer2 did you download?

Is that your bat file?

Do you have an "I" drive?

Below is the contents of the ModeSMixer2 for Windows Zip.
Here to Help.

Dreamliner787

ok, sorry think I downloaded the wrong version.

Downloaded MSM2 for windows.

this is my bat file,

CMD /c:\MSM2\modesmixer2.exe --inConnect 192.168.0.108:30005 --filter-nocountry --outServer sbs10001:10002
exit

when I double click on the bat file what exactly should happen?

Anmer

Thanks.

Your bat file may need amending.  If your MSM2 folder (containing modesmixer2.exe) is on your C drive, try:

CMD /c C:\MSM2\modesmixer2.exe --inConnect 192.168.0.108:30005 --filter-nocountry --outServer sbs10001:10002
exit

If the bat is correct, double clicking on the file should open a Command window such as this:

Here to Help.

Dreamliner787

C:\MSM2>CMD /c C:\MSM2\modesmixer2.exe --inConnect 192.168.0.108:30005 --filter-nocountry --outServer sbs10001:10002
2025-03-12 15:35:14.664  INFO     ModeSMixer2 v.20190413
2025-03-12 15:35:14.665  INFO     outServer(sbs10001:10002) started
2025-03-12 15:35:14.669  INFO     inConnect(192.168.0.108:30005) connecting 192.168.0.108:30005
2025-03-12 15:35:14.676  INFO     inConnect(192.168.0.108:30005) connected
2025-03-12 15:35:14.756  INFO     inConnect(192.168.0.108:30005) BEAST data stream detected
2025-03-12 15:35:20.762  INFO     Coverage area was determined
2025-03-12 15:35:20.762  INFO     Magnetic declination calculated

Anmer

That looks like you've got MSM2 running OK.

In BaseStation Settings:

Data Source -> Use Network

Hardware Settings -> Network -> Address (IP address of PC running modesmixer2.exe0 -> Port 10002

If that works your Command window should show as below.
Here to Help.

Dreamliner787

ok, connected to SBS1 and aircraft showing.

Anmer

Quote from: Dreamliner787 on March 12, 2025, 03:54:06 PMok, connected to SBS1 and aircraft showing.

Great, we got there in the end.
Here to Help.

laxlou

#28
Hi all,

Does anybody here use FR24 receiver (with display) with mm2? I have been running that mm2 in rpi4 and noticed now that when getting data from receiver port 30003, some data is not anymore parsed properly by mm2. For example all callsigns are missing, and then looks like mode-s transmissions without position are not shown. Something have been changed because for some time ago I got all that data correctly. I have also get info that port 30003 data is not filtered by receiver side.

I have mainly used that mm2 to create globes feed to be used then with my own scripts.

--------------
regards,
Otso

Anmer

Can you post a photograph of the FR24 receiver you are using?

I'm sharing data to FR24 and am using MSM2 to access data from the RPi.
Here to Help.