nguyenquyhy / Flight-Tracker-StreamDeck

A Stream Deck plugin to interact with Microsoft Flight Simulation
https://flightsim.to/file/3178/flight-tracker-streamdeck-plugin
GNU General Public License v3.0
366 stars 67 forks source link

StreamDeck does not update if master battery is not on. #333

Closed LostALife closed 2 years ago

LostALife commented 2 years ago

Quite simply, In the vanilla Cessna 172, if the master alt and battery are not on and you use a generic button to switch on any of the lights, fuel pump, pitot heat, etc, the streamdeck wont recieve feedback on if its on or off. Or rather, it seems to have the requirement of the master power being on before it will show a switch as on. Similar to the way the dependencies works for the nav and com button set to "Must be on". It would be nice to have the same "dependencies" option on the generic switch as well.

rmroc451 commented 2 years ago

hmmm, haven't seen that on a generic toggle before, there is no additional logic other than send/receive of the toggle and the data on each sim update callback.

I'll see if I can replicate this.

rmroc451 commented 2 years ago

Can you please share the log files in %appdata%\Elgato\StreamDeck\Plugins\tech.flighttracker.streamdeck.sdPlugin (normally named like flightstreamdeck20220201.log)

LostALife commented 2 years ago

I have two so here is both. flightstreamdeck20220202.log flightstreamdeck20220201.log

nguyenquyhy commented 2 years ago

I believe that was a limitation from FSX where SimConnect was tied to master battery. I just did a test and it is no longer the case, so probably Asobo has fixed this in recent update.