Announcement

Collapse
No announcement yet.

Radar Table for DUMP-1090 - Nice Timetable Display

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Radar Table for DUMP-1090 - Nice Timetable Display


    Hello everyone!

    I'm excited to introduce you to my latest project: the Dump1090 Radar Table.
    This PHP-based web page harnesses the power of the dump1090 JSON data to display real-time ADS-B flight information in a neat and dynamic HTML table.

    🚀 Key Features
    • Real-Time Flight Data: Stay updated with the latest ADS-B flight information, straight from the dump1090 server.
    • Interactive Table: Sort and filter flight data by various attributes for easy analysis.
    • Direct Links: Quickly access additional flight information on FlightRadar24 and ADS-B Exchange with just a click.

    🔧 Installation and Setup

    Getting started with the Dump1090 Radar Table is a breeze:
    1. Clone the repository from GitHub.
    2. Configure your dump1090 server to provide the necessary JSON data.
    3. Insert the radar_table.php page into your web server folder. (usually /var/www/html/)
    4. Customize the data source URL in the PHP file to match your dump1090 server setup and add your Latitude and Longitude.

    👨 Usage
    1. Open the radar_table.php file in your web browser.
    2. Explore the displayed flight data,
    3. Click on individual flight links to access more detailed information.

    🤝 Contributing

    If you're passionate about aviation data and would like to contribute to this project, I welcome your contributions! Here's how you can get involved:
    1. Fork the repository on GitHub.
    2. Create a new branch for your feature or improvement.
    3. Commit your changes and push them to your fork.
    4. Submit a pull request, and let's collaborate to make this project even better!

    📝 License

    The Dump1090 Radar Table is open-source software licensed under the MIT License. Feel free to use, modify, and share it as you see fit.

    Let's take flight together with the Dump1090 Radar Table! Check out the repository on GitHub and start exploring aviation data like never before. Happy coding and happy flying!
    Last edited by IZ8292SWL; 2024-03-13, 15:54.

  • #2
    My ip-of-pi is 10.0.0.21

    Typing following address in browser gives "403 Forbidden"

    ip-of-pi/radar_table.php


    Typing following address in browser gives lighttpd place holder page

    ip-of-pi/


    Screenshot_20240313_120804_Termux.jpg



    Screenshot_20240313_121108_Termux.jpg

    Comment


    • #3
      Originally posted by abcd567 View Post
      My ip-of-pi is 10.0.0.21

      Typing following address in browser gives "403 Forbidden"

      ip-of-pi/radar_table.php


      Typing following address in browser gives lighttpd place holder page

      ip-of-pi/


      Screenshot_20240313_120804_Termux.jpg



      Screenshot_20240313_121108_Termux.jpg
      Is your link accesible?
      You should install PHP in your web server and enable it:
      If you are using lighttpd:
      sudo apt install php8.2 php8.2-fpm php8.2-cgi php8.2-curl
      sudo lighttpd-enable-mod fastcgi-php
      sudo systemctl restart lighttpd​

      Let me know!

      Comment


      • #4
        Before seeing your post above, has already solved it by following method:

        First did this, but no success:

        Error: Ignoring unknown module: ​fastcgi-php

        Code:
        pi@raspberrypi:~ $ sudo apt install php-cgi
        
        pi@raspberrypi:~ $ sudo lighty-enable-mod fastcgi-php
        
        Ignoring unknown module: fastcgi-php
        Run "service lighttpd force-reload" to enable changes
        
        pi@raspberrypi:~ $ sudo service lighttpd force-reload
        ​

        Next installed php-fpm and enabled module fastcgi-php-fpm

        This solved the problem:

        Code:
        pi@raspberrypi:~ $ sudo apt install php-fpm
        
        pi@raspberrypi:~ $ sudo lighty-enable-mod fastcgi-php-fpm
        Met dependency: fastcgi
        Enabling fastcgi-php-fpm: ok
        Enabling fastcgi: ok
        Run "service lighttpd force-reload" to enable changes
        
        pi@raspberrypi:~ $ sudo "service lighttpd force-reload​
        ​​​​​​

        Screenshot_20240313_131433_Samsung Internet.jpg




        .
        Last edited by abcd567; 2024-03-13, 17:32.

        Comment


        • #5
          Originally posted by abcd567 View Post
          Before seeing your post above, has already solved it by following method:

          First did this, but no success:

          Error: Ignoring unknown module: ​fastcgi-php

          Code:
          pi@raspberrypi:~ $ sudo apt install php-cgi
          
          pi@raspberrypi:~ $ sudo lighty-enable-mod fastcgi-php
          
          Ignoring unknown module: fastcgi-php
          Run "service lighttpd force-reload" to enable changes
          
          pi@raspberrypi:~ $ sudo service lighttpd force-reload
          ​

          Next installed php-fpm and enabled module fastcgi-php-fpm

          This solved the problem:

          Code:
          pi@raspberrypi:~ $ sudo apt install php-fpm
          
          pi@raspberrypi:~ $ sudo lighty-enable-mod fastcgi-php-fpm
          Met dependency: fastcgi
          Enabling fastcgi-php-fpm: ok
          Enabling fastcgi: ok
          Run "service lighttpd force-reload" to enable changes
          
          pi@raspberrypi:~ $ sudo "service lighttpd force-reload​
          ​​​​​​

          Screenshot_20240313_131433_Samsung Internet.jpg




          .
          Great! I hope you enjoy it.
          This addition is beneficial as it displays all the available data in the JSON format and utilizes PHP, making it accessible even on older systems that may not support modern browsers, (something lightweight such as Dillo, for example).

          If you think I should add some more instructions in the README file on GitHub, let me know.

          Share it if you like

          Comment


          • #6
            https://wiki.debian.org/Lighttpd/#PHP
            Last edited by abcd567; 2024-03-13, 17:44.

            Comment


            • #7
              Originally posted by IZ8292SWL View Post
              If you think I should add some more instructions in the README file on GitHub, let me know.
              As both the dump1090-mutability & dump1090-fa use lighttpd, please add following instructions for their users.


              Code:
              sudo apt install php-fpm  
              
              sudo lighty-enable-mod fastcgi-php-fpm  
              
              sudo service lighttpd force-reload

              .

              Comment


              • #8
                Originally posted by abcd567 View Post

                As both the dump1090-mutability & dump1090-fa use lighttpd, please add following instructions for their users.


                Code:
                sudo apt install php-fpm
                
                sudo lighty-enable-mod fastcgi-php-fpm
                
                sudo service lighttpd force-reload

                .
                Ok nice, instructions added!

                Comment


                • #9
                  Many users dont know the command to clone the repository. Also package git is not installed by default.

                  Better under installation, item "1. Clone the repository", ​add following:

                  Code:
                  sudo apt install git  
                  
                  git clone https://github.com/anthonyborriello/table-dump1090

                  Alternatively the file radar_table.php can be directly downloaded by following command, then coppied to appropriate location such as /var/ww/html folder

                  Code:
                  wget https://raw.githubusercontent.com/anthonyborriello/table-dump1090/main/radar_table.php

                  Comment


                  • #10
                    Originally posted by abcd567 View Post
                    Many users dont know the command to clone the repository. Also package git is not installed by default.

                    Better under installation, item "1. Clone the repository", ​add following:

                    Code:
                    sudo apt install git
                    
                    git clone https://github.com/anthonyborriello/table-dump1090

                    Alternatively the file radar_table.php can be directly downloaded by following command, then coppied to appropriate location such as /var/ww/html folder

                    Code:
                    wget https://raw.githubusercontent.com/anthonyborriello/table-dump1090/main/radar_table.php
                    Ok done! Give it a look.

                    Comment


                    • #11
                      Originally posted by IZ8292SWL View Post

                      Ok done! Give it a look.
                      Thumb-31x34.jpgThumb-31x34.jpgThumb-31x34.jpg

                      Great !

                      ....

                      Comment


                      • #12
                        Originally posted by abcd567 View Post
                        I also developed a simple autoinstallation script as you did for dump1090:

                        Code:
                        sudo bash -c "$(wget -O - https://raw.githubusercontent.com/anthonyborriello/table-dump1090/main/radar_table.sh)"
                        Would you like to test it?

                        Comment

                        Working...
                        X