MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
egpd1701
Posts: 1
I have found that the following lines will activate and deactive the OHP Battery 1 & 2 on the experimental version as the . It is considerably different from whats in the events.txt at the moment.


A32NX_OH_ELEC_BAT1_TOG# (L:A32NX_OVHD_ELEC_BAT_1_PB_IS_AUTO, Bool) if{ 0 (>L:A32NX_OVHD_ELEC_BAT_1_PB_IS_AUTO) } els{ 1 (>L:A32NX_OVHD_ELEC_BAT_1_PB_IS_AUTO) } (L:XMLVAR_Momentary_PUSH_OVHD_ELEC_BAT1_Pressed) ! (>L:XMLVAR_Momentary_PUSH_OVHD_ELEC_BAT1_Pressed)

A32NX_OH_ELEC_BAT2_TOG# (L:A32NX_OVHD_ELEC_BAT_2_PB_IS_AUTO, Bool) if{ 0 (>L:A32NX_OVHD_ELEC_BAT_2_PB_IS_AUTO) } els{ 1 (>L:A32NX_OVHD_ELEC_BAT_2_PB_IS_AUTO) } (L:XMLVAR_Momentary_PUSH_OVHD_ELEC_BAT2_Pressed) ! (>L:XMLVAR_Momentary_PUSH_OVHD_ELEC_BAT2_Pressed)

And if you put the following code on your Stream Deck buttons, they will work

MOBIFLIGHT_A32NX_OH_ELEC_BAT2_TOG
MOBIFLIGHT_A32NX_OH_ELEC_BAT2_TOG

I've just to figure out how to get the feedback so that the buttons change their graphics when the state changes


If you comment out the original 2 lines for A32NX_OH_ELEC_BAT1_TOG & A32NX_OH_ELEC_BAT2_TOG then it will be fine - i thought about putting it in my own events file but my commented out lines will just be overwritten on the next update so I'm at a bit of a loss as how to make these changes permanent.

Would anyone have an ideas please?
2021-08-18 22:52
Avatar
Slotherby
Posts: 1
Hi

Did you find a solution to getting the necessary feedback to show the state change on your buttons.

I am still very new to this and am slowly getting my StreamDeck to work the way I would like.

Rgds
2021-11-25 08:56
icon