Page 55 of 71 FirstFirst ... 545535455565765 ... LastLast
Results 541 to 550 of 707

Thread: Linux feeder software for Flightradar24 (Old software)

  1. #541
    Passenger sergsero's Avatar
    Join Date
    Sep 2012
    Location
    UNNT
    Posts
    38
    Hello Ken,

    The alternative solution with modesmixer2, when the SBS-3 RAW binary data are obtained directly from the SBS-3 receiver through its Ethernet interface, decoding to MSG format and outputted for fr24 sender, which sends it to the flightradar24.

    On RPi:
    pi@raspberrypi:~$./modesmixer2 --inConnect 192.168.1.170:10001 --outServer msg:30003
    pi@raspberrypi:~$./fr24-225s --fr24key=xxxxxxxxxxxxx

    Raspberry Pi modesmixer2_rpi_20140616.tgz

    For automatic running and monitoring can be used supervisor, which can be installed in the RPi from the package.

    More detail on the website radarspotters.eu

    Thanks,
    sergsero
    Last edited by sergsero; 2014-07-25 at 12:27.

  2. #542
    Captain
    Join Date
    Jan 2012
    Location
    Dudley area, UK
    Posts
    1,410
    Quote Originally Posted by sergsero View Post
    Hello Ken,

    The alternative solution, when the SBS-3 RAW binary data are obtained directly from the SBS-3 receiver through its Ethernet interface, decoding to MSG format and outputted for fr24 sender, which sends it to the flightradar24.

    On RPi:
    pi@raspberrypi:~$./modesmixer2 --inConnect 192.168.1.170:10001 --outServer msg:30003
    pi@raspberrypi:~$./fr24-225s --fr24key=xxxxxxxxxxxxx

    Raspberry Pi modesmixer2_rpi_20140616.tgz
    More detail on the website radarspotters.eu

    Thanks,
    sergsero
    Well worth trying - just thinking of translating to and from serial form just to move data from one box to another makes me tired.

    BTW. Do replace the fr24 v225 feeder by the currenr RPi specific one.

  3. #543
    Passenger sergsero's Avatar
    Join Date
    Sep 2012
    Location
    UNNT
    Posts
    38
    Optionally, to display Mode-S data as aircraft tracking on another computer through any visualization program, you can add more options to the modesmixer2 command line, for example: --outServer beast:port for VRS or/and --outServer sbs10001:10001 for Basestation.exe and so on...

    If you have multiple data feeds or physical receivers with serial/USB interface and though they have different types of data formats, modesmixer2 able to merge them in one.

    For automatic running and monitoring can be used supervisor, which can be installed in the RPi from the package.
    Last edited by sergsero; 2014-07-25 at 12:43.

  4. #544
    Passenger
    Join Date
    Mar 2011
    Posts
    9
    Quote Originally Posted by koro View Post
    LOWL1,

    Any succes yet?

    I have the same configuration, and don't know how to start?
    Hi, Ken,

    get the latest adsbox http://diseqc.alh.org.ua/projects/ha...0140405.tar.gz
    run with --sbs3-server ... --sbs3-server-port ... options.

  5. #545
    Passenger koro's Avatar
    Join Date
    Jul 2014
    Location
    EBAW
    Posts
    30
    Hi, tnx for the reply,

    Are you sure of the downloadlink?

    Seems to be not working...



    Quote Originally Posted by uubb View Post
    Hi, Ken,

    get the latest adsbox http://diseqc.alh.org.ua/projects/ha...0140405.tar.gz
    run with --sbs3-server ... --sbs3-server-port ... options.
    Ken
    Near EBAW

  6. #546
    Passenger papasven's Avatar
    Join Date
    Jan 2014
    Location
    near Berlin
    Posts
    14
    Quote Originally Posted by koro View Post
    Hi, tnx for the reply,

    Are you sure of the downloadlink?

    Seems to be not working...
    Some days ago the page was online.


    here is the link for adsbox-20140405.tar.gz
    | T-EDDB8 |T-EDDB28 | Virtual Radar | Dump1090 | ModesMixer2 |

  7. #547
    Passenger koro's Avatar
    Join Date
    Jul 2014
    Location
    EBAW
    Posts
    30
    Hi Serge,

    I tried this...

    After the last line i don't get a prompt to enter the FR24 command...

    MM2.jpg

    73 de Ken


    Quote Originally Posted by sergsero View Post
    Hello Ken,

    The alternative solution with modesmixer2, when the SBS-3 RAW binary data are obtained directly from the SBS-3 receiver through its Ethernet interface, decoding to MSG format and outputted for fr24 sender, which sends it to the flightradar24.

    On RPi:
    pi@raspberrypi:~$./modesmixer2 --inConnect 192.168.1.170:10001 --outServer msg:30003
    pi@raspberrypi:~$./fr24-225s --fr24key=xxxxxxxxxxxxx

    Raspberry Pi modesmixer2_rpi_20140616.tgz

    For automatic running and monitoring can be used supervisor, which can be installed in the RPi from the package.

    More detail on the website radarspotters.eu

    Thanks,
    sergsero
    Ken
    Near EBAW

  8. #548
    Passenger koro's Avatar
    Join Date
    Jul 2014
    Location
    EBAW
    Posts
    30
    Tnx Sven...


    Quote Originally Posted by papasven View Post
    Some days ago the page was online.


    here is the link for adsbox-20140405.tar.gz
    Ken
    Near EBAW

  9. #549
    Passenger sergsero's Avatar
    Join Date
    Sep 2012
    Location
    UNNT
    Posts
    38
    Hi Ken,

    All right, if you run programs in the console, then each of them requires its own. Open now another console and run there program fr24 sender. And everything will work.

    Your screenshot shows that modesmixer2 successfully connected to SBS-3, receives RAW data, decodes them to MSG and output them to network through port 30003. All is well! :)

    Also in another console, you can run the program nc 127.0.0.1 30003 and will see already decoded messages in MSG format that will be sent from you to the site flightradar24.com.



    How to automatically run programs in Linux, each finds his way.

    In the simplest case, to start some program in the background without quiting or holding anything up from the console where it is running, you need to add the & at the end of the line. Thus to demonize her. It is recommended to add in command line of modesmixer2 the option: --log-noconsole.

    I prefer to use the supervisor from the raspbian wheezy packages. Supervisor is a system for controlling and maintaining process state, similar to what init does. It will manage individual processes or groups of processes that need to be started and stopped in order, and it is possible to control individual process state via an rpc mechanism, thus allowing ordinary users to restart processes.

    So the command sudo apt-get install supervisor will install it to system. Then in /etc you will find a directory supervisor/conf.d with configuration files. Place custom configuration files for supervisor here. They will be read after the main configuration file in /etc/supervisor/supervisord.conf.

    The number of custom configuration files according to the number of running programs. For example, two in the our case: fr24-ebaw.conf and mm-ebaw.conf:



    If your executable program files fr24feed and modesmixer2 are located in the /opt directory in the same name subdirectory:


    then the content can be made in such:

    /etc/supervisor/conf.d$ cat mm-ebaw.conf
    Code:
    [program:mm-ebaw]
    directory=/opt/modesmixer2
    command=/opt/modesmixer2/modesmixer2 --inConnect 192.168.1.170:10001 --outServer msg:30003
    user=nobody
    umask=022
    autostart=True
    autorestart=True
    redirect_stderr=True
    If you want to create simultaneously feeds with the same data in other formats, for example, a binary BEAST (--outServer beast:port) or the other - just add their options to command line of modesmixer2.

    and

    /etc/supervisor/conf.d$ cat fr24-ebaw.conf
    Code:
    [program:fr24-ebaw]
    directory=/opt/fr24feed
    command=/opt/fr24feed/fr24feed --fr24key=xxxxxxxxx --bs-ip=127.0.0.1 --bs-port=30003
    user=nobody
    umask=022
    autostart=True
    autorestart=True
    redirect_stderr=True

    Reboot the system and and both programs start automatically. To check their condition, you can run the command: sudo supervisorctl status.

    Or run a command to reload the settings of supervisor: sudo supervisorctl reload.

    A list of other available commands management and monitoring:
    sudo supervisorctl help
    Code:
    default commands (type help <topic>):
    =====================================
    add    clear  fg        open  quit    remove  restart   start   stop  update
    avail  exit   maintail  pid   reload  reread  shutdown  status  tail  version
    Thanks,
    sergsero
    Attached Images Attached Images
    Last edited by sergsero; 2014-07-27 at 14:10.

  10. #550
    Passenger koro's Avatar
    Join Date
    Jul 2014
    Location
    EBAW
    Posts
    30
    Tnx Serge,

    It's working fine now...

    I'll give the autostart a try...



    Quote Originally Posted by sergsero View Post
    Hi Ken,

    All right, if you run programs in the console, then each of them requires its own. Open now another console and run there program fr24 sender. And everything will work.

    Your screenshot shows that modesmixer2 successfully connected to SBS-3, receives RAW data, decodes them to MSG and output them to network through port 30003. All is well!

    Also in another console, you can run the program nc 127.0.0.1 30003 and will see already decoded messages in MSG format that will be sent from you to the site flightradar24.com.



    How to automatically run programs in Linux, each finds his way.

    In the simplest case, to start some program in the background without quiting or holding anything up from the console where it is running, you need to add the & at the end of the line. Thus to demonize her. It is recommended to add in command line of modesmixer2 the option: --log-noconsole.

    I prefer to use the supervisor from the raspbian wheezy packages. Supervisor is a system for controlling and maintaining process state, similar to what init does. It will manage individual processes or groups of processes that need to be started and stopped in order, and it is possible to control individual process state via an rpc mechanism, thus allowing ordinary users to restart processes.

    So the command sudo apt-get install supervisor will install it to system. Then in /etc you will find a directory supervisor/conf.d with configuration files. Place custom configuration files for supervisor here. They will be read after the main configuration file in /etc/supervisor/supervisord.conf.

    The number of custom configuration files according to the number of running programs. For example, two in the our case: fr24-ebaw.conf and mm-ebaw.conf:



    If your executable program files fr24feed and modesmixer2 are located in the /opt directory in the same name subdirectory:


    then the content can be made in such:

    /etc/supervisor/conf.d$ cat mm-ebaw.conf
    Code:
    [program:mm-ebaw]
    directory=/opt/modesmixer2
    command=/opt/modesmixer2/modesmixer2 --inConnect 192.168.1.170:10001 --outServer msg:30003
    user=nobody
    umask=022
    autostart=True
    autorestart=True
    redirect_stderr=True
    and

    /etc/supervisor/conf.d$ cat fr24-ebaw.conf
    Code:
    [program:fr24-ebaw]
    directory=/opt/fr24feed
    command=/opt/fr24feed/fr24feed --fr24key=xxxxxxxxx --bs-ip=127.0.0.1 --bs-port=30003
    user=nobody
    umask=022
    autostart=True
    autorestart=True
    redirect_stderr=True

    Reboot the system and and both programs start automatically. To check their condition, you can run the command: sudo supervisorctl status.

    Or run a command to reload the settings of supervisor: sudo supervisorctl reload.

    A list of other available commands management and monitoring:
    sudo supervisorctl help
    Code:
    default commands (type help <topic>):
    =====================================
    add    clear  fg        open  quit    remove  restart   start   stop  update
    avail  exit   maintail  pid   reload  reread  shutdown  status  tail  version
    Thanks,
    sergsero
    Ken
    Near EBAW

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •