abcd567a / ad2

AcarSDeco2 installation script for RPi 2/3/4 and Raspbian Stretch/Buster
10 stars 4 forks source link

No logs generated + usage questions #2

Closed keukenrol closed 2 years ago

keukenrol commented 2 years ago

Hi

After the successfull installation on Raspbian 11 64 bit I got to work with your acarsdeco2 software and have a few questions about it.

First question: I would like to have a log of all received messages, if you restart the software all received messages are gone (I suppose they sleep in the RAM?). Can this cause a flooding of the RAM over time? I have this argument: --logfile logs But it does not save any logfile in the subfolder logs. It did not create it either in the ad2 map. Is the saving time dependant? Which format are they?

Second question: I would like to see all messages on the frequencies, both from aircraft and from ground stations (replies). How can I do this?
I suppose I need to invert the no-uplink, no-sq, no-empty as it is already on? It is a bit unclear to me.

--no-uplink Don't display uplink messages (default: on) --no-sq Don't display messages with SQ label (default: on) --no-empty Don't display empty messages (default: on) --no-console Disable logging on console (default: on)

Third question: I have VRS running on the same pi, thus I set : --vrs-url http://127.0.0.1:8081/ However no pictures are rendered. The database seems to work ok.

Fourth question: I suppose the CPU usage depends on the amount of frequencies you are trying to monitor/decode. I currently have these: --freq 131525000 --freq 131550000 --freq 131625000 --freq 131725000 --freq 131750000 --freq 131825000 --freq 131850000 --freq 131875000 The maximum range for an SDR is about 2MHz bandwidth, so I am unable to monitor both the 131 and 136Mhz channels? In that case, I would prefer to have 2 sdr's connected and running. Is this possible to have 2 instances of the software running? How many channels can be monitored simultaneously? Second range I would like to monitor: --freq 136725000 --freq 136750000 --freq 136775000 --freq 136825000 --freq 136875000 --freq 136900000 --freq 136925000 --freq 136975000

Fifth question: Yesterday I tried decoding on a generic SDR stick (blue cheap chinese dongle). While the acars were correctly decoded by streaming the spectrum to my pc and decoding it there, acarsdeco2 did not decode a single message for over an hour. The generic dongle has a lower signal to noise ratio, but it should not result in no decoded messages? I usually use the SDR Blog V3 dongle with the provided dipole.

Kind regards

abcd567a commented 2 years ago

Unfortunately I cannot answer any of your questions as I am NOT the author of the software acarsdeco2. It was written by Sergsero and he uploaded the file "acarsdeco2_rpi2-3_debian9_20181201.tgz" to his Google Drive. Interested people used to manually download it from Google drive, manually extract the Linux binary "acarsdeco2" from it and manually run it by command line.

My contribution is to write the automated install script and post it on Github. When run, the script does following:

  1. Creates folder /usr/share/ad2
  2. Downloads file acarsdeco2_rpi2-3_debian9_20181201.tgz and saves it in folder /usr/share/ad2
  3. Extracts Linux binary acarsdeco2 from downloaded file
  4. Creates a config file /usr/share/ad2/ad2.conf
  5. Creates systemd files to automatically start the Linux binary acarsdeco2 using the parameters in file /usr/share/ad2/ad2.conf
  6. Creates a symlink of Linux binary /usr/share/ad2/acarsdeco2 in folder /usr/bin so that acarsdeco2 can be manually run from home or any other directory by just typing acarsdeco2 and pressing Enter key.
keukenrol commented 2 years ago

Oh okay, misinterpretation from my side. I thought it was a fork of the original. I'll try to get in contact with the original developer, but seems chances are rather low that I'll ever get a reply. Thanks anyway for the clarification!

abcd567a commented 2 years ago

Unfortunately Sergsero's site xdeco. org and his Google Drive are no more available. Sergsero has also stopped appearing in various forums where he had opened threads on his software (modesdeco2, modesmixer2, acarsdeco2 etc).

Luckily I have his software files downloaded and saved on my Windows computer. After his Google Drive stopped, I uploaded these files to GitHub. I modified my scripts to download his software from my Github instead of his Google Drive. Acarsdeco2: https://github.com/abcd567a/ad2/releases/tag/V1

All other software: https://github.com/abcd567a/mm2/releases/tag/v1