Vehicle Mil Info
The VEHICLE_MIL_INFO event is used to report the status of the Malfunction Indicator Light (MIL) at the beginning of a trip. It helps indicate whether the vehicle's engine has detected any issues that require attention.
Event Type: VEHICLE_MIL_INFO
Trigger Condition
Subscription to the VEHICLE_MIL_INFO event is mandatory. The event is triggered at the start of each trip and provides the current MIL status (ON/OFF), helping fleet managers monitor vehicle health proactively.
Example Payload
{
"inputBit7": 0,
"partialUpdate": false,
"inputBit4": 0,
"voiceCallActive": 0,
"inputBit3": 0,
"inputBit6": 0,
"inputBit5": 0,
"type": "VEHICLE_MIL_INFO",
"deviceId": "7b9ec524-8059-11ec-91e8-c1b4ab6f81d2",
"milDistance": 0,
"networkService": 0,
"commStateConnected": 0,
"messageType": "VEHICLE_MIL_INFO",
"messageIndex": "16078411",
"dimentionFix": 0,
"lastKnownLon": -90.5253357,
"inputBit0": 0,
"inputBit2": 0,
"id": "1c006e1e-2d01-4ba7-949e-7f9def8a12fe",
"state": null,
"inputBit1": 0,
"commStatusAvaliable": 0,
"locality": null,
"eventIndex": 0,
"assetNo": "",
"fixStatusCorrected": 0,
"deviceSerial": "1062505290",
"groupName": "Azuga Northeast",
"lastKnownTime": 1663891316000,
"jmsType": "",
"vehicleName": "Zia's Vehicle",
"deviceTypeId": 1,
"destinationQueues": null,
"city": null,
"latitude": 38.6210206,
"tripDistance": 7044,
"unitStatus": 0,
"invalidFix": 0,
"dataService": 0,
"noOfAccums": 0,
"customerId": 1059,
"beaconMacAddress": null,
"tripNumber": 711,
"spare": 0,
"address": null,
"roaming": 0,
"messageEventType": null,
"stateId": 0,
"updateTime": null,
"userId": "8a9388a8-7dd7-5b7e-017e-c0a7a85c5e35",
"milTime": 0,
"batteryPercentage": 0,
"currentState": 0,
"deviceProtocolMessageId": null,
"messageEventTypeId": 0,
"zipCode": null,
"country": null,
"deviceAssociatedVIN": "1G1PF5SC0C7208921",
"codeClearDistance": 0,
"beaconType": null,
"groupId": "bb443197-af0f-11ea-87f7-712f0c9121d3",
"deviceTriptime": 0,
"vendorTypeId": 1,
"firmwareVersion": null,
"fixStatuslastKnown": 0,
"fixStatusHistoric": 0,
"longitude": -90.5250765,
"satellites": null,
"locationTime": 1663891335000,
"odometer": 209870,
"offset": -300,
"virtualTripEnd": false,
"imei_meid": "352602114115360",
"insideHOO": true,
"milStatus": 1,
"timeOfFix": null,
"sensorNames": null,
"tripPolyline": null,
"lastKnownLat": 38.6207052,
"fixQuality": 0,
"unitStatusBit0": 0,
"unitStatusBit2": 0,
"unitStatusBit1": 0,
"unitStatusBit3": 0,
"storedLocation": false,
"protocolVersionIdChange": true,
"accumesList": null,
"accumulators": null,
"fixStatusPredict": 0,
"network3G": 0,
"lastKnownAddress": "14442 Clayton Rd, Ballwin, MO 63011, USA",
"privacyModeEnable": false,
"fixStatus": 0,
"vehicleId": "7b9ec523-8059-11ec-91e8-79d8a6a932aa",
"lastKnownFixQuality": 0,
"dtcCount": 1,
"userName": "Bruce Driver",
"tripState": "ACTIVE",
"messageTypeId": 50,
"obdSpeed": null,
"location": {
"latitude": 38.6210206,
"longitude": -90.5250765
},
"commonState": 0,
"carrierId": null,
"codeClearTime": 0
}Reference
| Field | Description |
|---|---|
| type String | Type of event. Example: "VEHICLE_MIL_INFO" |
| deviceId String,UUID | Unique identifier of the device. Example: "7b9ec524-8059-11ec-91e8-c1b4ab6f81d2" |
| milDistance Integer | Distance since MIL was triggered in kilometers. Example: 0 |
| messageType String | Type of message. Example: "VEHICLE_MIL_INFO" |
| lastKnownLon Double | Last known longitude of vehicle in degrees. Example: -90.5253357 |
| id String,UUID | Unique identifier for the event. Example: "1c006e1e-2d01-4ba7-949e-7f9def8a12fe" |
| deviceSerial String | Serial number of the device. Example: "1062505290" |
| groupName String | Name of the assigned group. Example: "Azuga Northeast" |
| lastKnownTime Time Stamp | Last known time in milliseconds. Example: 1663891316000 |
| vehicleName String | Name of the vehicle. Example: "Zia's Vehicle" |
| deviceTypeId Integer | Type identifier of the device, 1-Datalogger. Example: 1 |
| tripDistance Integer | Distance traveled in current trip in kilometers. Example: 7044 |
| customerId Integer | The unique Azuga ID of the customer. Example: 1059 |
| tripNumber Integer | Represents a unique ID assigned to a specific trip, allowing the system to track and reference that particular journey or route. Example: 711 |
| stateId Integer | State ID (numeric code). Example: 0 |
| userId String,UUID | Unique identifier for the user. Example: "8a9388a8-7dd7-5b7e-017e-c0a7a85c5e35" |
| milTime Integer | Time since MIL light turned on in minutes. Example: 0 |
| messageEventTypeId Integer | Message event type ID. Example: 0 |
| zipCode Integer | Zip or postal code. |
| country String | Country name |
| deviceAssociatedVIN String | VIN associated with device. Example: "1G1PF5SC0C7208921" |
| codeClearDistance Integer | Distance since MIL codes cleared in kilometers. Example: 0 |
| groupId String,UUID | Group identifier. Example: "bb443197-af0f-11ea-87f7-712f0c9121d3" |
| deviceTriptime Integer | Device trip time in seconds. Example: 0 |
| vendorTypeId Integer | Vendor type identifier. Example: 1 |
| locationTime Time Stamp | Time when location was recorded in milliseconds. Example: 1663891335000 |
| odometer Integer | Odometer value in kilometers. Example: 209870 |
| offset Integer | Timezone offset value. Example: -300 |
| virtualTripEnd Boolean | Indicates whether virtual trip ended. Example: false |
| imei_meid String | Device IMEI or MEID. Example: "352602114115360" |
| insideHOO Boolean | Indicates whether vehicle is inside HOO. Example: true |
| milStatus Integer | MIL status: 1 = ON, 0 = OFF.Example: 1 |
| lastKnownLat Float | Last known latitude of vehicle in degrees. Example: 38.6207052 |
| protocolVersionIdChange Boolean | Indicates whether protocol version changed. Example: true |
| lastKnownAddress String | Last known full address. Example: "14442 Clayton Rd, Ballwin, MO 63011, USA" |
| privacyModeEnable Boolean | Indicates if Privacy mode is enabled. Example: false |
| vehicleId String,UUID | Unique vehicle ID. Example: "7b9ec523-8059-11ec-91e8-79d8a6a932aa" |
| dtcCount Integer | Count of DTC (Diagnostic Trouble Codes). Example: 1 |
| userName String | Name of the driver/user. Example: "Bruce Driver" |
| tripState String | State of the trip. Example: "ACTIVE" |
| messageTypeId Integer | Message type identifier. Example: 50 |
| location Location { latitude: 34.12 longitude: -82.14 } | Current location object of the vehicle |
| latitude Double | Latitude co-ordinate value in degrees Example: 38.6210206 |
| longitude Double | Longitude co-ordinate value in degrees Example: -90.5250765 |
| codeClearTime Integer | Time since code was cleared in minutes. Example: 0 |
Updated about 1 year ago
Did this page help you?

