TruckSim-Telemetry provides telemetry data and events for Euro Truck Simulator 2 and American Truck Simulator via the scs-sdk-plugin.
Current supported version of scs-sdk-plugin
v1.12.1
Read the full documentation over at https://kniffen.dev/TruckSim-Telemetry
npm install trucksim-telemetry
build-essential on Debian/Ubuntu, Xcode Command Line Tools on macOS).npm install trucksim-telemetry
For additional examples and explanations, see the full documentation over at https://kniffen.dev/TruckSim-Telemetry
import { truckSimTelemetry } from 'trucksim-telemetry';
const telemetry = truckSimTelemetry();
telemetry.on('connected', () => {
console.log('SDK connected');
});
telemetry.on('job-started', (data) => {
console.log('New job started', data);
});
refuel-paid event not emittingThis seems to be a problem with the underlying SDK plugin. It appears to only trigger once per game session.
To help visualize the data, you can use this Demo app.

This project is provided under the MIT License - see the LICENSE file for details