Announcement

Collapse
No announcement yet.

How to make dump1090 pull raw data from another Pi

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

  • How to make dump1090 pull raw data from another Pi

    How do I make dump1090-mutability on the one pi use raw data on port 30002 on the second pi. Both Pi are running dump1090-mutability v. 1.15 dev~. Thank you

  • #2
    It can be done by creating a data pipe using software socat.

    On the Pi #1 (on which you want to pull data) do this
    NOTE: Nothing to be done on PI #2 (the data source)

    (1) Install socat
    Code:
    sudo apt install socat
    (2) Now run this command to create a data pipe and pull data from Pi #2
    Note: replace 192.168.0.21 by local address your Pi #2 (source of data)
    Code:
    socat -u  TCP:192.168.0.21:30002 TCP:localhost:30001 &
    The map of Pi #1 will now show planes of both Pi #1 and Pi #2
    If you close the SSH terminal, the process will break.
    Last edited by abcd567; 2020-11-01, 00:52.

    Comment


    • #3
      Is there any way to make it do this without having to keep the ssh terminal open and to start upon booting up.

      Comment


      • #4
        TUSPHX

        Yes there is a way to make it do this without having to keep the ssh terminal open and to start upon booting up.
        As this stupid forum is not allowing me to post the method, I have written the "How-to" in a text file, and uploaded the text file to dropbox.
        Please download it and read it

        https://www.dropbox.com/s/1k9tmzm6yk...to_Pi.txt?dl=1


        .

        Comment


        • #5
          Thank you very much. It all works perfectly now.

          Comment

          Working...
          X