Skip to main content

Read data from Forza Horizon 6's Data Out Telemetry

Project description

fh6

Easily read data from Forza Horizon 6's Data Out Telemetry

Usage

from fh6 import Telemetry
import time

# Callback called each time a packet is received
def my_function(data):
    speed_mph = data.speed * 2.236936
    print(f"Speed: {speed_mph:6.1f} mph | Gear: {data.gear}")

# Start the listener
telemetry = Telemetry(port=6767)
telemetry.start(callback=my_function)

try:
    # Keep the script running with your own loop
    while True:
        time.sleep(1)
except KeyboardInterrupt:
    # Clean up, closes socket and stops the listener thread
    telemetry.stop()

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

fh6-1.0.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

fh6-1.0.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file fh6-1.0.1.tar.gz.

File metadata

  • Download URL: fh6-1.0.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for fh6-1.0.1.tar.gz
Algorithm Hash digest
SHA256 56ccb0657534a856e0c6c3688c0ec82528dfb6d7cdbaa2842b0160868a88d20f
MD5 e57b6054519394d659aba56dee4b2761
BLAKE2b-256 6f938daf4e2cdb49525631a2fb1d4e0e1d138b241facd0e2999751ec5c45b230

See more details on using hashes here.

File details

Details for the file fh6-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fh6-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for fh6-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 478218c4f7ae12caee9e86a9836f85ea3effb63fbdab54fdcd925058c874040d
MD5 0c4a5350d495d1cc49210e5279e3acc9
BLAKE2b-256 14fea69467dfa861f390bb6fba902b0b42126131ba98407ef76d3005b7129018

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