I have a new FR24 LCD unit which transmits basestation format on port 30003. I have tried all possible configs for ‘receiver-type’ in piaware-config.txt to somehow get data but the Piaware page insists it is not connected with the receiver.
The Piaware does get connected with the FR24 unit with ‘receiver-type relay’ on port 30334 but that port does not transmit position-less (Mode-S) data. I therefore cannot participate in MLAT data sharing.
Please guide as to which receiver-type to be selected in piaware-config.txt to feed Piaware correctly along with Mode-S data.
@behrozaltaf
Your FA Stats page shows that you are using Piaware SD card image 5.0. You can therefore install ModeSMixer2 on the Raspberry Pi and configure it as given below. Please note that the dump1090-fa is also running, which will receive MLAT feedback results on port 30104 and show it on Skyaware map. Further, the port 30005 is in use by dump1090-fa, so modesmixer2 should use another port say 31005
$ sudo systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-31 03:05:25 EDT; 1min 31s ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 30593 (piaware)
Tasks: 6 (limit: 2065)
Memory: 9.6M
CGroup: /system.slice/piaware.service
├─30593 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
├─30606 /usr/lib/piaware/helpers/fa-mlat-client --input-connect 127.0.0.1:31005 --input-type auto --results beast,connect,localhost:30104 --r
├─30609 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr 127.0.0.1 --net-bo-port 31005 --stdout --lat 43.xxx --lon -79.xxx
Jul 31 03:05:29 orangepipc piaware[30593]: mlat-client(30606): Detected BEAST format input
Jul 31 03:05:29 orangepipc piaware[30593]: mlat-client(30606): Input format changed to BEAST, 12MHz clock
Jul 31 03:05:29 orangepipc piaware[30593]: mlat-client(30606): Beast-format results connection with ::1:30104: connection established
Jul 31 03:05:30 orangepipc piaware[30593]: piaware received a message from modesmixer2!
Jul 31 03:05:35 orangepipc piaware[30593]: piaware has successfully sent several msgs to FlightAware!
Jul 31 03:06:00 orangepipc piaware[30593]: 19 msgs recv’d from modesmixer2; 19 msgs sent to FlightAware
# Automated script to install ModeSMixer2
EDIT:
(1) Please see my next post.
(2) Please do NOT use above method. Although above method succeeds in converting Basestation to Beast and feeds Beast data to Flightaware, for some reason their MLAT Servers do NOT synchronize with other receivers, as the comment “Synchronized with xxx nearby receivers” is missing. Please see screenshot below.
I’ll just leave it to @obj to object to advertising this.
There is a reason piaware doesn’t accept the basestation data format.
And it’s not that they didn’t want to write the code to ingest it, that part is easy.
I have now tried another way, and it succeeds:
I dont have FR24 Supplied Receiver, but have fr24feed installed on another RPi at Local IP 10.0.0.23 with following settings
I changed RAW data from NO to YES as below, so the raw data (beast) is available from FR24FEED on RPi at 10.0.0.23:30334
Next reconfigured Piaware at another RPi at 10.0.0.21 as follows:
I feel the reason @behrozaltaf is unable to get MLAT planes is NOT the poor quality of data from FR24 Receiver. This was demonstrated in my last post above.
In my opinion it is most likely due to non availability of enough nearby receivers to synchronize with. Please see map of Flightaware receivers in the location around @behrozaltaf’s 3 receivers.
As wiedehopf says, please don’t do this. We want to see the original raw messages, not whatever MM2 makes up based on the incomplete information available in the port 30003 feed.
(And it will absolutely not work with mlat because the made-up messages don’t have anything like good timing info)
I don’t know if it’s true of the latest hardware versions, but previous versions of FR24 hardware deliberately crippled the message output (by rounding timestamps) so that you can’t use it for mlat.
As I dont have FR24 supplied Receiver, I could not test it’s port 30334 output.
Instead I tested Raw data output from port 30334 of their feeder “fr24feed” intalled on RPi. The fr24feed is configured to get its input from dump1090-fa port 30002. Piaware was configured to use output from port 30334 of fr24feed, and works perfectly well, with MLAT Enabled and synchronized with over 100 nearby stations. However the results of RPI feeder may not be applicable to FR24 hardware.
Thank you @abcd567 and @obj for all the help.
Well I tried all the configurations you people shared however Piaware was unable to process data on both port 30334 and 30003 from FR24 unit. I tried the same config on Planeplotter but was receiving MLAT data, however Planeplotter was not receiving mode A/C data. I also have an old FR24 Radarcape unit which used to provide full data on port 30334 but my Piaware is no more receiving MLAT and Mode A/C data possibly showing that FR24 had done something to restrict MLAT and Mode A/C on these port.
So after all it seems I cannot use FR24 units for positionless data. @abcd567@obj I would like to ask another way if you can help. I have a Planefinder Unit as well which transmits on port 30054 (not sure of the actual format but is known as Planefinder format). Is there any way I can feed Piaware on this port since Piaware also is not receiving data on ‘relay’ and ‘other’ receiver type from this unit.
@behrozaltaf
In view that both FR24 and Planefinder have done somthing with the output of their receivers to make them unsuitable to feed other sites, your best bet is to apply to Flightaware for their receiver.
The Flightaware feeder map shows that you are the lone Flightaware feeder from all the three sites (Gawadar, Karachi, & Quetta), you will most likely get Flightaware Receivers. May be Flightaware staff @obj and @eric1tran can help you in this regard.
In unlikely case of Flightaware declining your request, you may purchase a Dongle (Flightaware Pro Stick Plus) and an an antenna (Flightaware 1090 Mhz Antenna) from Amazon.com. You already have RPis running Piaware SD Card image at all 3 locations.
I dont have Planefinder Receiver.
I feed their feeder “pfclient” installed on RPi.
The pfclient gets its data from dump1090-fa port 30005.
The “pfclient” outputs data on port 30054 in beast format.
I changed Piaware settings as below:
pi@piaware:~ $ sudo piaware-config receiver-type other
Set receiver-type to other in /boot/piaware-config.txt:89
pi@piaware:~ $ sudo piaware-config receiver-port 30054
Set receiver-port to 30054 in /boot/piaware-config.txt:90
pi@piaware:~ $ sudo piaware-config receiver-host 127.0.0.1
receiver-host is unchanged
pi@piaware:~ $ sudo systemctl restart piaware
With above change of feeding Piaware, it still feeds successfully Flightaware with MLAT synchronized with over 200 stations. However this most likely wont be the case when Piaware is fed from Planefinder’s hardware.
pi@piaware:~ $ sudo systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-08-02 14:00:12 EDT; 18min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 17917 (piaware)
Tasks: 6 (limit: 2062)
CGroup: /system.slice/piaware.service
├─17917 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
├─17944 /usr/lib/piaware/helpers/fa-mlat-client --input-connect 127.0.0.1:30054 --input-type auto --results beast,connect,localhost:3010
├─17947 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr 127.0.0.1 --net-bo-port 30054 --stdout --lat 43.xxx --lon -79.xxx
└─17950 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
Aug 02 14:10:47 piaware piaware[17917]: 2751 msgs recv'd from pfclient (1218 in last 5m); 2751 msgs sent to FlightAware
Aug 02 14:10:47 piaware piaware[17917]: 3 msgs recv'd from dump978-fa (0 in last 5m); 3 msgs sent to FlightAware
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Receiver status: connected
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Server status: synchronized with 212 nearby receivers
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Receiver: 374.4 msg/s received 85.3 msg/s processed (23%)
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Server: 0.1 kB/s from server 0.0kB/s TCP to server 0.8kB/s UDP to server
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Results: 23.5 positions/minute
Aug 02 14:15:17 piaware piaware[17917]: mlat-client(17944): Aircraft: 9 of 18 Mode S, 22 of 37 ADS-B used
Aug 02 14:15:47 piaware piaware[17917]: 4039 msgs recv'd from pfclient (1288 in last 5m); 4039 msgs sent to FlightAware
Aug 02 14:15:47 piaware piaware[17917]: 3 msgs recv'd from dump978-fa (0 in last 5m); 3 msgs sent to FlightAware