Announcement

Collapse
No announcement yet.

BETA UAT 978 MHz data sharing software

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BETA UAT 978 MHz data sharing software

    Hi all,

    I am uploading a beta version of our UAT data sharing software. Do note that this version does not contain a decoder. Mostly, everyone who already has a UAT setup running, would probably already have dump978-fa installed, and assuming you do, please follow the installation procedure below.


    1. Download the .deb package:

    Code:
    wget http://repo.feed.flightradar24.com/uat_reader_1.0.3_armhf.deb

    2. Install it:

    sudo dpkg -i uat_reader_1.0.3_armhf.deb

    3. Run and sign up. You MUST sign up for a new UAT sharing key if you don’t already have one. This will be true for everyone using this software for the first time. DO NOT USE YOUR 1090MHz ADS-B sharing key:

    sudo -u fr24 uat_reader
    You will be asked to enter your email address, sharing key (leave it blank and press ENTER if you are running the software for the first time), and Coordinates (decimal format). A key will be created for you, saved in your config file as well as emailed to you.



    4. This completes the setup and now restart the software:

    sudo systemctl restart uat_reader

    The log file is located at:
    /var/log/uat_reader/uat_reader.log

    The config file is located at:
    /etc/uat_reader/uat_reader.conf
    --

  • #2
    pi@piaware:~ $ sudo -u fr24 uat_reader
    Could not open /var/log/uat_reader/uat_reader.log for writing!
    21-04-26 18:37:49.448 [E] Couldn't open log file, exiting
    Step 3 errors for me, exits the setup process...

    Step 2 seemed to work.

    pi@piaware:~ $ sudo dpkg -i uat_reader_1.0.0_armhf.deb
    Selecting previously unselected package uat_reader.
    (Reading database ... 51701 files and directories currently installed.)
    Preparing to unpack uat_reader_1.0.0_armhf.deb ...
    Unpacking uat_reader (1.0.0) ...
    Setting up uat_reader (1.0.0) ...
    useradd: user 'fr24' already exists
    Enabling uat_reader service
    Created symlink /etc/systemd/system/multi-user.target.wants/uat_reader.service → /etc/systemd/system/uat_reader.service.

    Comment


    • #3
      Can you run the status command and share what it shows?

      Code:
      sudo systemctl status uat_reader
      --

      Comment


      • #4
        Here it is:

        Code:
        pi@piaware:~ $ sudo systemctl status uat_reader
        ● uat_reader.service - Flightradar24 UAT Reader
        Loaded: loaded (/etc/systemd/system/uat_reader.service; enabled; vendor preset: enabled)
        Active: inactive (dead)
        Now here's the interesting part.....restart uat_reader:


        Code:
        pi@piaware:~ $ sudo systemctl restart uat_reader
        pi@piaware:~ $ sudo systemctl status uat_reader
        ● uat_reader.service - Flightradar24 UAT Reader
        Loaded: loaded (/etc/systemd/system/uat_reader.service; enabled; vendor preset: enabled)
        Active: active (running) since Tue 2021-04-27 10:09:14 UTC; 6s ago
        Process: 24960 ExecStartPre=/usr/lib/fr24/uat_reader/create_missing_directories.sh (code=exited, status=0/SUCCESS)
        Main PID: 24966 (uat_reader)
        Tasks: 2 (limit: 2062)
        CGroup: /system.slice/uat_reader.service
        └─24966 /usr/bin/uat_reader
        
        Apr 27 10:09:14 piaware systemd[1]: Starting Flightradar24 UAT Reader...
        Apr 27 10:09:14 piaware systemd[1]: Started Flightradar24 UAT Reader.
        And when I check the /var/log/uat_reader/uat_reader.log (Notice the number of lines it's reading! Never asked for email, but it continues on and on)

        Screenshot 2021-04-27 061041.jpg


        Checking /etc/uat_reader/uat_reader.conf

        File is blank.

        And it's increasing the load average dramatically (Raspberry Pi 3b+) Usually around 1 to 1.2. Stuck in the loop with the sign up wizard, guess?
        load average: 2.89, 2.63, 1.94





        Comment


        • #5
          Run this command first

          Code:
           sudo /usr/lib/fr24/create_missing_directories.sh
          And then
          Code:
           sudo -u fr24 uat_reader
          See if it starts working like this.
          --

          Comment


          • #6
            Correction:

            The link was pointing to the wrong file. Sorry about that. Please delete that one and download this .deb file

            Code:
            wget http://repo.feed.flightradar24.com/uat_reader_1.0.1_armhf.deb

            NOTE: Anyone who has downloaded the uat_reader_1.0.0, please delete that and download version 1.0.1.
            --

            Comment


            • #7
              New version is successful. Had to change Step 2 to reflect the version # change to /uat_reader_1.0.1_armhf.deb

              Thanks!!!

              Code:
              pi@piaware:~ $ sudo systemctl status uat_reader
              ● uat_reader.service - Flightradar24 UAT Reader
              Loaded: loaded (/etc/systemd/system/uat_reader.service; enabled; vendor preset: enabled)
              Active: active (running) since Tue 2021-04-27 11:00:08 UTC; 30s ago
              Process: 9566 ExecStartPre=/usr/lib/fr24/uat_reader/create_missing_directories.sh (code=exited, status=0/SUCCESS)
              Main PID: 9570 (uat_reader)
              Tasks: 4 (limit: 2062)
              CGroup: /system.slice/uat_reader.service
              └─9570 /usr/bin/uat_reader
              
              Apr 27 11:00:08 piaware systemd[1]: Starting Flightradar24 UAT Reader...
              Apr 27 11:00:08 piaware systemd[1]: Started Flightradar24 UAT Reader.
              Last edited by markr468; 2021-04-27, 11:04.

              Comment


              • #8
                So two things I've noticed so far;

                1) STATS page doesn't show anything for this new Radar: NO RECENT DATA FOR THIS RADAR. uat_reader.log seems to indicate I'm feeding, and status uat_reader doesn't show any obvious errors

                2) UAT aircraft I feed are still not shown on the FR24 website. They do show on other sites that I feed (FA, ADSBx, RB24) and do show on my local map.

                At this point, is this indeed what's expected or is there something wrong on either end? Thanks!

                Comment


                • #9
                  Yes, this is expected at the moment. And it is good to hear that you are not seeing any errors in log file. We are of course working on getting both the points you have raised implemented asap.
                  --

                  Comment


                  • #10
                    markr468 If you download the updated version and install that, it will fix the stats issue. I have updated the original link. You can use the same method to download and install the newer version as done previously.
                    --

                    Comment


                    • #11
                      Originally posted by Khan View Post
                      markr468 If you download the updated version and install that, it will fix the stats issue. I have updated the original link. You can use the same method to download and install the newer version as done previously.
                      Updated. Stats appear to be working. Thank you for updating that!

                      Comment


                      • #12
                        I have updated my alpha version too.

                        Code:
                        sudo systemctl status uat_reader
                        ● uat_reader.service - Flightradar24 UAT Reader
                        Loaded: loaded (/etc/systemd/system/uat_reader.service; enabled; vendor prese
                        Active: active (running) since Fri 2021-05-14 18:32:29 EDT; 17s ago
                        Process: 14326 ExecStartPre=/usr/lib/fr24/create_missing_directories.sh (code=
                        Main PID: 14327 (uat_reader)
                        Tasks: 4 (limit: 2062)
                        CGroup: /system.slice/uat_reader.service
                        └─14327 /usr/bin/uat_reader
                        
                        May 14 18:32:29 pi3 systemd[1]: Starting Flightradar24 UAT Reader...
                        May 14 18:32:29 pi3 systemd[14326]: uat_reader.service: Executable /usr/lib/fr24
                        May 14 18:32:29 pi3 systemd[1]: Started Flightradar24 UAT Reader.
                        lines 1-12/12 (END)
                        The website page says:
                        Online - No data
                        Last edited by SoNic67; 2021-05-15, 13:54.

                        Comment

                        Working...
                        X