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 | Type of event. |
deviceId | Unique identifier of the device. |
milDistance | Distance since MIL was triggered in kilometers. |
messageType | Type of message. |
lastKnownLon | Last known longitude of vehicle in degrees. |
id | Unique identifier for the event. |
deviceSerial | Serial number of the device. |
groupName | Name of the assigned group. |
lastKnownTime | Last known time in milliseconds. |
vehicleName | Name of the vehicle. |
deviceTypeId | Type identifier of the device, 1-Datalogger. |
tripDistance | Distance traveled in current trip in kilometers. |
customerId | The unique Azuga ID of the customer. |
tripNumber | Represents a unique ID assigned to a specific trip, allowing the system to track and reference that particular journey or route. |
stateId | State ID (numeric code). |
userId | Unique identifier for the user. |
milTime | Time since MIL light turned on in minutes. |
messageEventTypeId | Message event type ID. |
zipCode | Zip or postal code. |
country | Country name |
deviceAssociatedVIN | VIN associated with device. |
codeClearDistance | Distance since MIL codes cleared in kilometers. |
groupId | Group identifier. |
deviceTriptime | Device trip time in seconds. |
vendorTypeId | Vendor type identifier. |
locationTime | Time when location was recorded in milliseconds. |
odometer | Odometer value in kilometers. |
offset | Timezone offset value. |
virtualTripEnd | Indicates whether virtual trip ended. |
imei_meid | Device IMEI or MEID. |
insideHOO | Indicates whether vehicle is inside HOO. |
milStatus | MIL status: |
lastKnownLat | Last known latitude of vehicle in degrees. |
protocolVersionIdChange | Indicates whether protocol version changed. |
lastKnownAddress | Last known full address. |
privacyModeEnable | Indicates if Privacy mode is enabled. |
vehicleId | Unique vehicle ID. |
dtcCount | Count of DTC (Diagnostic Trouble Codes). |
userName | Name of the driver/user. |
tripState | State of the trip. |
messageTypeId | Message type identifier. |
location | Current location object of the vehicle |
latitude | Latitude co-ordinate value in degrees
Example: |
longitude | Longitude co-ordinate value in degrees
Example: |
codeClearTime | Time since code was cleared in minutes. |
Updated 1 day ago