Skip to content

Eclipse-SDV-Hackathon-Chapter-Two/forza-udp-databroker-proxy

Repository files navigation

forza-udp-databroker-proxy

In inspiration from https://github.com/fabiomix here is a small modification to gather data from Forza Telemetry over UPD stream to feed into the Kuksa.val databroker with python sdk.

Getting started:

Forza settings

Enable data-out feature in game settings, pointing to the host that runs docker, port 9999

Settings -> GHUD and Gameplay -> (last settings of the long list)

Dataoutput=ON, IP=<IP adress of recieving PC/RaspberryPI>, PORT=9999

See details: Forza Motorsport 7 'Data Out' feature details

Install docker.io / podman / etc.

Run kuksa.val databoker:

docker run -it --rm --name Server --network host ghcr.io/eclipse-kuksa/kuksa-databroker:main --insecure

Install kuksa.val python sdk:

pip install kuksa-client

or use venv:

python -m venv my-venv
my-venv/bin/pip install

Run script

python3 ForzaUdpDatabroker-proxy.py

or

my-venv/bin/python3 ForzaUdpDatabroker-proxy.py

Check results with databroker client

Run databroker client

docker run -it --rm --net=host ghcr.io/eclipse-kuksa/kuksa-python-sdk/kuksa-client:main
subscribe Vehicle.Body.Lights.Brake.IsActive

See the output when pressing the Brake in Forza

About

Sample for publishing Forza telemetry to kuksa.val databroker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages