blog.mrjonhudson

192 views

Simulator Telemetry App

notion image

Works with Assetto Corsa (Content Manager), viewable from a web browser

Download 👉 https://github.com/mrjonhudson/sim-dashboard

Installation

Pre-Reqs

  • Assetto Corsa + Content Manager
  • Python
  • Node
  • A code editor (Notepad will do)
  • The cloned repo (here)

Install the Assetto Corsa App

  1. Move the contents of /AC-sim to /assettocorsa/apps
    1. My assettocorsa folder is found at Program Files (x86)/Steam/steamapps/common/assettocorsa

  1. Launch Assetto Corsa (Content Manager) and check that AC-Telem is active.
notion image
  1. Launch a game, leave running.

Start Python Server

  1. Add log file path
    1. Open /server/server.py in a code editor and add the path to the log file from the above folder.

      e.g. drive_c/Program Files (x86)/Steam/steamapps/common/assettocorsa/apps/python/ac-telem/logs/speed_log.json

  1. Run server and enter pin (e.g. “0000”)
    1. cd server

      python server.py

Start Web App

  1. Run web server
    1. cd sim-dashboard

      npm run star

  1. Use the same pin that you set up above (e.g. “0000”)

Possible Problems

  • Can’t find log file 👉 See here
  • Not Authorized 👉 Make sure you’re using the same pin on server and website
  • Can’t find websocket 👉 Verify the IP address is correct in server/server.py and sim-dashboard/src/components/hooks/streamData.ts .
 

Thank you for reading! If you want to see future content, you can follow me on twitter or connect with me on LinkedIn

🌱 Organic produce from Shropshire