Flight-Tracker-StreamDeck icon indicating copy to clipboard operation
Flight-Tracker-StreamDeck copied to clipboard

HTML variables

Open Guenseli opened this issue 4 years ago • 6 comments

Hello,

first thanks for your wnderful software and a happy new year.

I'm no programmer, so sorry if there are some things I say which will sound stupid in your ears ;)

Ok, I try to make the MSFS Airplanes work with StreamDeck and my VRInsight MCP Combo. For the MCP I use LORBYs AAO and are able to control the CJ4 FMS with as example the following HTML variable:

1·(>H:CJ4_FMC_1_BTN_LEGS,·Number)

I tried now to insert it into your StreamDeck plugin as Toggle event: CJ4_FMC_1_BTN_LEGS or H:CJ4_FMC_1_BTN_LEGS

but nothing works. Can you give me a hint how I could insert it or are you able to make these HTML variables work?

many thanks! Günter

Guenseli avatar Jan 01 '21 13:01 Guenseli

H events are internal stuffs that is not sent via SimConnect (which is what the plugin is using), and need a WASM mod to expose them. Currently we do not have any WASM module, but we support a large list of events exposed by MobiFlight WASM mod.

You can check out our guide here https://github.com/nguyenquyhy/Flight-Tracker-StreamDeck/blob/master/docs/USERGUIDE.md#mobiflight-wasm-module-integration.

nguyenquyhy avatar Jan 01 '21 15:01 nguyenquyhy

thx for ansering,

yes, I already have this stuff implemented.

I think it would be better than to ask then for implementing my variables. thank you!

Guenseli avatar Jan 01 '21 17:01 Guenseli

Yes it would probably be much faster and easier for MobiFlight to add that in.

Right now it is like the wild west regarding that kind of WASM module. Everyone spins their own WASM module to do the same thing: extracting the HVars and LVars. In my community folder I already have one for YourControl, one for MobiFlight and probably another one if I want to test Lorby's AAO.

I would love to collaborate with someone else (e.g. MobiFlight) or wait for Asobo to provide a better solution than to write just another WASM module to do such job.

nguyenquyhy avatar Jan 01 '21 22:01 nguyenquyhy

Yes, you are right

Contacted them and they will provide the variables :)

Guenseli avatar Jan 01 '21 23:01 Guenseli

I've been hearing this in the release notes, can you describe what a WASM module is?

Andywmm9 avatar Jan 04 '21 00:01 Andywmm9

That's a file you have to put in the Community folder which will be run inside the sim, so it can access a lot more internal stuffs. It is a replacement for the old way of writing .dll.

nguyenquyhy avatar Jan 04 '21 01:01 nguyenquyhy

Please try again with MOBIFLIGHT WASM module.

nguyenquyhy avatar Dec 24 '22 22:12 nguyenquyhy