Share data from IP address - FS4

  • Hi! I noticed that in the last update, in one of the configuration menus there it is an option to share some data from the simulator over the network, since it is allowed to define an IP address and a port. Can you share more information please about this new feature? (maybe it was there before and I didn't realized... sorry if this is the case).

    This could be useful for doing many integrations! Thanks.

    Best regards, Juan

  • Thanks Jan for your answer, do we have some specifications about this feature?

    Edit: reading Foreflight documentation I found this specs for the communication protocol. It seems that the data is broadcasted via UDP in plain text. Let's see! I would like to have a moving map app (ideally a web app) to follow my plane in my second monitor.

    Flight Simulator GPS Integration (UDP Protocol) – ForeFlight Support

    Final Edit: It worked! This is what the data stream includes, let's try to do something with this.

    XGPSAerofly FS 4,-4.8642,41.6975,843.3,50.7,0.0
    XATTAerofly FS 4,50.7,6.52,-0.67

    Best regards, Juan

    Edited 3 times, last by Jugac64 (September 4, 2024 at 6:53 PM).

  • Hi! I just published a Python app to display the aircraft in a map, using the UDP data explained in the last post. You can find the app here:

    Python Aircraft Tracker on map for Aerofly FS4 - Flight-Sim.org

    There it is an EXE file that should work in Windows, it was made using Pyinstaller. Maybe some developers could help on setting it up for Mac and Linux. You need a second monitor to use it.

    Please read the instructions in Flight-Sim, I think at this stage it could be more useful for persons that work with Python, but feel free to try to use it.

    The complete application was written by Anthropic Claude 3.5 Sonnet, and designed and prompted by me.

  • Hi! I just published a Python app to display the aircraft in a map, using the UDP data explained in the last post. You can find the app here:

    Python Aircraft Tracker on map for Aerofly FS4 - Flight-Sim.org

    There it is an EXE file that should work in Windows. Maybe some developers could help on setting it up for MAC and Linux. You need a second monitor to use it.

    Please read the instructions in Flight-Sim, I think at this stage it could be more useful for persons that work with Python, but feel free to try to use it.

    The complete application was written by Anthropic Claude 3.5 Sonnet, and designed and prompted by me.

    This map would be great in AFG

  • Many thanks!

    First I had some difficulties how to install the two additional packages and to figure out my broadcast address (cause only IPv4 is displayed).

    Now it works fine for me with starting running the Python script (Note: the EXE file doesn't work for me on Windows 11).

    Enthusiast and experienced creator of enhanced Aerofly FS Sceneries and Mods. Enjoy! 8)

  • I just discovered that if I open the app in my laptop, and Aerofly FS4 is running in my gaming PC, the app also works and receives the data from another pc. When I opened it, I told Norton Antivirus in my laptop to allow the app, and then it started receiving the data. Cool! Both PCs must be connected to the same local network (in my case, both are connected to the same router).

    I will do some other improvements soon, the first one is to try that the app doesn't hang if it is opened and FS4 is not running. Also it will hang if it is running and FS4 get closed before closing the app.

    Edit: With version 25 the above problem was solved. The files were updated in Flight-Sim.

    Best regards, Juan

    Edited 2 times, last by Jugac64 (September 9, 2024 at 5:02 PM).

  • Hello Jugac,

    I just wanted to thank you for your great application aircraft_tracker.exe.

    On Win10 it just worked from the start after entering the broadcast IP in AFS4.

    It even works in the same screen if AFS4 is in windowed mode.

    Though I have FS-Widgets on the iPAD, I find it more convenient to have both windows on the PC.

    Cheers, Thomas


    Edited 3 times, last by TomSimMuc (September 10, 2024 at 3:18 PM).

  • I am very happy that it is working and may be useful! :)

    It was beautifully coded by Claude 3.5 Sonnet, I almost did no intervention in the coding process. Just iterating, testing and providing feedback until it was ready. It was very impressive at the end when I asked it to refactor the script and how it modified it and improved it to make the version we have now. These are very good times for amateur coders like me, it is possible to do things far bigger than with self knowledge.

    Best regards, Juan

    Edited once, last by Jugac64 (September 10, 2024 at 4:46 PM).

  • I am very happy that it is working and may be useful! :)

    It was beautifully coded by Claude 3.5 Sonnet, I almost did no intervention in the coding process. Just iterating, testing and providing feedback until it was ready. It was very impressive at the end when I asked it to refactor the script and how it modified it and improved it to make the version we have now. These are very good times for amateur coders like me, it is possible to do things far bigger than with self knowledge.

    Hi, can you please provide a tutorial on how to

    download and install it.

  • Hi Aviator53 ! The files and instructions are available at Flight-sim.org website, where most of the Aerofly FS simulators community files are shared. You must register there, accept the terms and conditions and try to download the files. Here there it is the direct link to the app webpage:

    Python Aircraft Tracker on map for Aerofly FS4 - Flight-Sim.org

    If the terms and conditions page is in german, translate it with the browser :)

    If you have any doubt after downloading the files, please ask me in the app page in flight-sim.org and I will try to help you.

    Best regards, Juan

  • Hi Aviator53 ! The files and instructions are available at Flight-sim.org website, where most of the Aerofly FS simulators community files are shared. You must register there, accept the terms and conditions and try to download the files. Here there it is the direct link to the app webpage:

    Python Aircraft Tracker on map for Aerofly FS4 - Flight-Sim.org

    If the terms and conditions page is in german, translate it with the browser :)

    If you have any doubt after downloading the files, please ask me in the app page in flight-sim.org and I will try to help you.

    Hi, i got it to work, but i had to learn how to figure out my broadcast ip address fom a YouTube tutorial vedio and how to correctly input it into aerofly as my broadcast ip was sometimes 2 digits,

    (ex. 19.14.= 019.014.).

    I have to say it's more efficient because the taxi ways are visible on the map, that makes it easier) brilliant work and thanks for this masterpiece.

    Ps. Do you think this moving map would come to

    Aerofly fs global?

  • Hey I payed 34,99 euros for fs widget for Aerofly fs global can someone tell me the port number that I need to put because I have the IP address but can’t find the port number please help

    Have you followed this instructions (it's the same for fs global): fswidgets.com/docs/help/aerofly_fs2/

    Port number for fs widget is allways 58585.

    Enthusiast and experienced creator of enhanced Aerofly FS Sceneries and Mods. Enjoy! 8)