Skip to main content

Capture FS2020 telemery to a csv file

Project description

FSTelemetry

Python library for collecting Flight Simulator 2020 telemetry into a local csv file using SimConnect. Variables for collection are simply defined in a config.yaml file.

A list of available data points can be found here at the Python-SimConnect GitHub page: https://github.com/odwdinc/Python-SimConnect/blob/master/SimConnect/RequestList.py#L234.

Getting Started

Install FSTelemetry (https://pypi.org/project/fstelemetry/)

pip install fstelemetry

Create a config.yaml file in a new folder containing a list of metrics you would like to track:

keys:
  - PLANE_ALTITUDE
  - GROUND_VELOCITY
  - AIRSPEED_INDICATED
  - AIRSPEED_MACH
  - AMBIENT_TEMPERATURE
  - AMBIENT_PRESSURE
  - TOTAL_WEIGHT
  - FUEL_TOTAL_QUANTITY
  - ENG_FUEL_FLOW_GPH:1
  - ENG_FUEL_FLOW_GPH:2
  - TURB_ENG_CORRECTED_N1:1
  - TURB_ENG_CORRECTED_N2:1
  - VERTICAL_SPEED
  - AIRCRAFT_WIND_X
  - AIRCRAFT_WIND_Y

In the same directory, simply launch the tool (Note: ensure you are in an active flight)

fstelemetry

This will produce a log file named with the current YYYYMMDDHHMMSS.csv by default. You can change settings such as the config & log file location if needed. You can also adjust the delay in logging (default 1.0 seconds). See:

fstelemetry --help
usage: fstelemetry [-h] [--config CONFIG] [--log LOG] [--interval INTERVAL]

optional arguments:
  -h, --help           show this help message and exit
  --config CONFIG      Relative path to the config file
  --log LOG            Relative path for the output log file
  --interval INTERVAL  Polling interval in seconds

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fstelemetry-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fstelemetry-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fstelemetry-0.1.1.tar.gz.

File metadata

  • Download URL: fstelemetry-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for fstelemetry-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87905bd34f9a09ae791f324b9f286b3aa8b35f5a51d2301fedbfe197722595d7
MD5 06623f2edbe25faab43d97a781ac5c77
BLAKE2b-256 5912a236855cc7108ddb46db75c9c63478d25d5d39422cbf485d2b3e4272752e

See more details on using hashes here.

File details

Details for the file fstelemetry-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fstelemetry-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for fstelemetry-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7deb2997be4c864221f939745921d1d0a966225e933ef0184b22bcb0d9825917
MD5 a57f71e2265ec7835b327e35a77c20f3
BLAKE2b-256 b1db6aa7a224f638ae109eed38fd2376ed069ee4738b9901dc107262a94bc71e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page