DIMO gives developers API access to Hyundai Sonata vehicle data. Model years 2011 and newer connect with a DIMO device (DIMO LTE R1 or AutoPi). Headline signals include odometer, fuel percentage and vehicle speed.
DIMO provides a Hyundai Sonata vehicle data API for 2011 and newer model years, and the Sonata connects through a DIMO device. DIMO gives developers API access to vehicle-state data: diagnostics, fault codes, battery and fuel health, odometer, and maintenance signals. Vehicle owners consent to and control sharing, so builders get data with clear provenance. Coverage for this model is tested.
Signals by connection type
DIMO device — DIMO LTE R1 (2011 and newer)
| Signal | DIMO name | Unit |
|---|---|---|
| Odometer | powertrainTransmissionTravelledDistance | km |
| Fuel Percentage | powertrainFuelSystemRelativeLevel | % |
| Vehicle Speed | speed | km/h |
| Vehicle Ignition Status | isIgnitionOn | — |
| Engine RPM | powertrainCombustionEngineSpeed | rpm |
| Coolant Temperature | powertrainCombustionEngineECT | °C |
| Air Temperature | exteriorAirTemperature | °C |
| Back Left Wheel | chassisAxleRow2WheelLeftTirePressure | kPa |
| Back Right Wheel | chassisAxleRow2WheelRightTirePressure | kPa |
| Diagnostic Trouble Codes | obdDTCList | — |
| Distance with MIL On | obdDistanceWithMIL | km |
| DTC Count | obdStatusDTCCount | — |
| Engine runtime | obdRunTime | seconds |
| Front Left Wheel | chassisAxleRow1WheelLeftTirePressure | kPa |
| Front Right Wheel | chassisAxleRow1WheelRightTirePressure | kPa |
| Fuel Level | powertrainFuelSystemAbsoluteLevel | liters |
| Fuel Type | obdFuelTypeName | — |
| Low Voltage Battery | lowVoltageBatteryCurrentVoltage | volts |
| OBD Device Plugged In | obdIsPluggedIn | — |
| Powertrain Type | powertrainType | — |
| Throttle Position | powertrainCombustionEngineTPS | % |
| Altitude Level | currentLocationAltitude | m |
| Coordinates | currentLocationCoordinates | — |
| Heading | currentLocationHeading | degrees |
DIMO device — AutoPi (2016 and newer)
| Signal | DIMO name | Unit |
|---|---|---|
| Odometer | powertrainTransmissionTravelledDistance | km |
| Fuel Percentage | powertrainFuelSystemRelativeLevel | % |
| Vehicle Speed | speed | km/h |
| Engine RPM | powertrainCombustionEngineSpeed | rpm |
| Coolant Temperature | powertrainCombustionEngineECT | °C |
| Air Temperature | exteriorAirTemperature | °C |
| Barometric Pressure | obdBarometricPressure | kPa |
| Commanded EGR | obdCommandedEGR | % |
| Distance Since DTC Clear | obdDistanceSinceDTCClear | km |
| Distance with MIL On | obdDistanceWithMIL | km |
| Engine Air Intake | powertrainCombustionEngineMAF | grams/second |
| Engine Load | obdEngineLoad | % |
| Engine runtime | obdRunTime | seconds |
| Intake temperature | obdIntakeTemp | °C |
| Long Term Fuel Trim (Bank 1) | obdLongTermFuelTrim1 | % |
| Low Voltage Battery | lowVoltageBatteryCurrentVoltage | volts |
| Manifold Absolute Pressure | obdMAP | kPa |
| Powertrain Type | powertrainType | — |
| Short Term Fuel Trim (Bank 1) | obdShortTermFuelTrim1 | % |
| Supported Fuel Types | powertrainFuelSystemSupportedFuelTypes | — |
| Throttle Position | powertrainCombustionEngineTPS | % |
| Warmups Since DTC Clear | obdWarmupsSinceDTCClear | — |
| Altitude Level | currentLocationAltitude | m |
| Coordinates | currentLocationCoordinates | — |
No factory connectivity?
Hyundai Sonata model years 2011 and newer have no OEM cloud connection listed. For these years, a DIMO device (DIMO LTE R1 or AutoPi) plugs into the OBD-II port and streams vehicle signals once the owner connects it and consents to sharing.
See the developer quickstart for how owners connect vehicles and grant access.
Events available
- Idling
- Refuel
- Harsh braking
- New diagnostic trouble code
Build it
Query the latest Hyundai Sonata signals with the DIMO TypeScript SDK. The vehicle owner must first share access with your app through DIMO Connect.
import { DIMO } from '@dimo-network/data-sdk';
const dimo = new DIMO('Production');const tokenId = Number(process.env.DIMO_TOKEN_ID); // from DIMO Connect
const developerJwt = await dimo.auth.getDeveloperJwt({ client_id: process.env.DIMO_CLIENT_ID, domain: process.env.DIMO_REDIRECT_URI, private_key: process.env.DIMO_API_KEY,});const vehicleJwt = await dimo.tokenexchange.getVehicleJwt({ ...developerJwt, tokenId,});
// Latest Hyundai Sonata signalsconst data = await dimo.telemetry.query({ ...vehicleJwt, query: ` query { signalsLatest(tokenId: ${tokenId}) { powertrainTransmissionTravelledDistance { value timestamp } powertrainFuelSystemRelativeLevel { value timestamp } speed { value timestamp } } }`,});console.log(JSON.stringify(data, null, 2));Full walkthrough: Developer quickstart.
FAQ
Can I read fuel level remotely on a Hyundai Sonata?
Yes, with a DIMO device. The DIMO LTE R1 lists both Fuel Percentage and Fuel Level in liters, and the AutoPi lists Fuel Percentage. Query these through the Telemetry API with a Vehicle JWT, or use the segments query with the refuel mechanism to find where fuel level rises.
How do I track a Hyundai Sonata with no connected services?
Connect a DIMO device. The record lists the DIMO LTE R1 and the AutoPi for the Sonata. Once the owner shares the vehicle with your Developer License, exchange your Developer JWT for a Vehicle JWT and read its data through the Telemetry API.
Can I get check-engine light alerts for a Hyundai Sonata?
Yes, with the DIMO LTE R1, which lists the dtc event along with the Diagnostic Trouble Codes, DTC Count and Distance with MIL On signals. To get alerts pushed to your server, configure a webhook in the Vehicle Triggers API and subscribe the vehicle to it.
How do I detect idling on a Hyundai Sonata?
Use a DIMO device, which the segments docs require for idling detection. Both the DIMO LTE R1 and the AutoPi list the idling event. Call the Telemetry API segments query with the idling mechanism; the default idle RPM upper bound is 1000, and you can change it with maxIdleRpm.
How do I verify Hyundai Sonata mileage?
Read the odometer from a DIMO device, which both the DIMO LTE R1 and the AutoPi list. To get a verifiable record, call the Attestation API odometer-statement endpoint with a Vehicle JWT. Then retrieve the attested result through the Telemetry API.
Which Hyundai Sonata model years work with DIMO?
DIMO devices have been seen working on Hyundai Sonata model years 2011 and newer. For older vehicles, contact DIMO for additional support.
Do I need hardware to get Hyundai Sonata data?
Yes. DIMO lists no OEM cloud connection for the Hyundai Sonata, so data comes from a DIMO device.
Source: DIMO vehicle compatibility records. Coverage tested on a connected vehicle. Last verified .