flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.02k stars 1.05k forks source link

[BUG] Seatbelt switch detection with CABIN SEATBELTS ALERT SWITCH #3803

Closed Vdrummer-td12 closed 3 years ago

Vdrummer-td12 commented 3 years ago

Mod Version

latest stable and custom version

Describe the bug

cannot read seatbelt switch through simconnect with 'CABIN SEATBELTS ALERT SWITCH', works in the vanilla A320

To Reproduce

in python (need to install simconnect) sm = SimConnect() aq = AircraftRequests(sm, _time=0) sleep(2) #wait for sim connect beacon = aq.get('LIGHT_BEACON') print('beacon light = ',beacon) #-->this works seatbelt = aq.get('CABIN_SEATBELTS_ALERT_SWITCH') print('Seatbelt sign = ',seatbelt ) #-->no joy

Expected behavior

should change from False to True depending on switch position

Actual behavior

always reads False

References

none

Additional context

Was this working before/when did the issue start occurring? don't know, just used now

Is this a problem in the vanilla unmodded game? works in the vanilla A320

Discord username (if different from GitHub):

derl30n commented 3 years ago

This is the simvar used by us L:XMLVAR_SWITCH_OVHD_INTLT_SEATBELT_Position.

Not sure if this is appropriate to be discussed on github, you might want to hop onto our discord server.

Vdrummer-td12 commented 3 years ago

where in you discord would be the appropriate place to start a discussion on this topic?

derl30n commented 3 years ago

Maybe systems/general-sys

derl30n commented 3 years ago

Closing issue. Continuing discussion on dc.