Skip to content

Is this still valid/compatible with MSFS(2020) and Mobiflight #140

@SVS2025

Description

@SVS2025

First of all thanks for this great Python-SimConnect project.
I have some questions. First off sorry for my lacking understanding at this point. I am very new to Python.
I am trying to send some commands to MSFS to access some of the Mobiflight WASM module features in order to make a custom app to control the G1000.
So for example I want to access the G1000 soft keys. By default they can not be reached via the default simconnect from what I have read. But that is where the mobiflight wasm module comes in. The problem is though.. I can not get the mobiflight specific commands https://pastebin.com/fMdB7at2 to do anything. The example code given:

from SimConnect import *
# Create SimConnect link
sm = SimConnect()
# Creat a function to call the MobiFlight AS1000_MFD_SOFTKEYS_3 event.
Sk3 = Event(b'MobiFlight.AS1000_MFD_SOFTKEYS_3', sm)
# Call the Event.
Sk3()
sm.exit()
quit()

Does nothing in MSFS. there is no error or anything it just does not do anything in-game.
A 'default' simconnect command like "AP_MASTER" works fine.

from SimConnect import *
# Create SimConnect link
sm = SimConnect()
# Test the AP-Master command
Sk3 = Event(b'AP_MASTER', sm)
# Call the Event.
Sk3()
sm.exit()
quit()

The Mobiflight WASM module is installed correctly in the Community folder. And also when I run the Mobiflight connector software says it has a connection to the WASM module.

So any idea what could be the problem here? Could it be an incompatibility that slipped in through the years?
I do not really know what to do anymore.

If anyone has some suggestions please let me know.
Thanks in advance,
Steven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions