hankhank10
Resource contributor
- Messages
- 12
- Country

Find it annoying to click around in the cockpit trying to set the autopilot heading when you’re supposed to be flying the plane?
Want to use your laptop or iPad to display secondary instruments so you can soak in all that photo realistic scenery?
Struggling to fly over your house because MSFS2020 doesn’t give you a real time location overlaid on a street map?
Wish you could set your engine on fire / generate an electrical failure / run out of fuel now and then for a challenge?
If you answer yes, then MSFS2020 Cockpit Companion may be for you.
MSFS2020 Cockpit Companion (full details at http://msfs2020.cc) is a free, open source application written in python. Once you download it and run, it starts a lightweight web server running locally on your machine which you can then navigate to with your browser (either on the same computer, another computer on your local network or over the web).
It also incorporates a RESTful API which allows you to get individual sim variables or collections of them in JSON format, set variables and trigger sim events.
In terms of the http interface, it displays your location on a moving map with a bunch of different options and overlays:
It also lets you control secondary instruments such as gear or autopilot by pressing buttons and typing numbers rather than fumbling around in the panel.
And, who doesn't love breaking up a long flight over Montana by having the engines set on fire *and* having the electrics fail on you:
This is all very much work in progress... (In particular the autopilot settings are a bit finnicky, although I can't tell whether that's because my coding sucks or whether it's because of how broken the autopilot is on this game.)
I should also mention that this is very much a collaboration and that while I've done a lot of work on the front end, the majority of the hard work sits in the Python-SimConnect library produced by someone else.
If you have ways that this can be improved then *please, please* do get involved by forking the code and submitting pull requests.
You can get full details at http://msfs2020.cc/ and the github repo is https://github.com/hankhank10/MSFS2020-cockpit-companion
Want to use your laptop or iPad to display secondary instruments so you can soak in all that photo realistic scenery?
Struggling to fly over your house because MSFS2020 doesn’t give you a real time location overlaid on a street map?
Wish you could set your engine on fire / generate an electrical failure / run out of fuel now and then for a challenge?
If you answer yes, then MSFS2020 Cockpit Companion may be for you.
MSFS2020 Cockpit Companion (full details at http://msfs2020.cc) is a free, open source application written in python. Once you download it and run, it starts a lightweight web server running locally on your machine which you can then navigate to with your browser (either on the same computer, another computer on your local network or over the web).
It also incorporates a RESTful API which allows you to get individual sim variables or collections of them in JSON format, set variables and trigger sim events.
In terms of the http interface, it displays your location on a moving map with a bunch of different options and overlays:
It also lets you control secondary instruments such as gear or autopilot by pressing buttons and typing numbers rather than fumbling around in the panel.
And, who doesn't love breaking up a long flight over Montana by having the engines set on fire *and* having the electrics fail on you:
This is all very much work in progress... (In particular the autopilot settings are a bit finnicky, although I can't tell whether that's because my coding sucks or whether it's because of how broken the autopilot is on this game.)
I should also mention that this is very much a collaboration and that while I've done a lot of work on the front end, the majority of the hard work sits in the Python-SimConnect library produced by someone else.
If you have ways that this can be improved then *please, please* do get involved by forking the code and submitting pull requests.
You can get full details at http://msfs2020.cc/ and the github repo is https://github.com/hankhank10/MSFS2020-cockpit-companion

