How to add more variables to glass_server.py?
korruptcow opened this issue · comments
korruptcow commented
I was trying to add a few more varibles to the glass_server.py to out on the glass.html
For example i added
- AIRSPEED_TRUE to the request_ui function
- in the getsimdata.js i added a variable "ias" (let ias;)
- put a function in function getSimulatorData()
- ias = data.AIRSPEED_TRUE;
- added under displayData();
- $("#ias").text(ias);
added the span with ID="ias"
When you run the web server it stays as ? and does not update.
I just want to output a heap of variables from simconnect over spans for streaming.
Any help would be appreciated.
korruptcow commented
I fixed it by friendly names.
How can i get next and previous ICAO and ZULU time from simconnect?
This data is referenced by E: in XML gauges.
ZULU_TIME
and it doesnt return GP_WP_NEXT_ID