Skip to main content

Events

Here are the list of events provided by McEasy:

Device Events

IDTypeNameCode
1Data UpdateLocationDVC-DU1/L1
2Data UpdateTemperatureDVC-DU1/T1
3Data UpdateFuelDVC-DU1/F1
4AlarmOverspeedDVC-A1/O1
5AlarmGeofenceDVC-A1/G1
6AlarmTemperatureDVC-A1/T1
7AlarmFuelDVC-A1/F1
8AlarmDoorDVC-A1/D1
9AlarmTamperDVC-A1/T2
10AlarmHarsh BrakingDVC-A1/HB1
11AlarmHarsh AccelerationDVC-A1/HA1
12AlarmSharp TurnDVC-A1/ST1
13AlarmEngineDVC-A1/E1
14AlarmSOSDVC-A1/S1
15Data UpdateStatus Fleet TaskAPI-DU1/SF1
16Data UpdatePOP/PODAPI-DU1/PP1
17Data UpdateLocation with Fleet TaskDVC-DU1/LF1
18AlarmFatigueDVC-A1/F2
19AlarmClose EyeDVC-A1/CE1
20AlarmYawnDVC-A1/Y1
21AlarmDistractionDVC-A1/D2
22AlarmSmokingDVC-A1/S2
23AlarmPhone CallDVC-A1/PC1
24AlarmMissing FaceDVC-A1/MF1
25AlarmSeatbeltDVC-A1/S3
26AlarmShockDVC-A1/S4

Data Structure

All time related data -- unless specified otherwise -- will have the following format: YYYY-MM-DD HH:MI:SS +0000. And they are sent in Greenwich (UTC) timezone.

Location Data Update (DVC-DU/L1)

{
license_plate: string,
hull_no: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int,
direction: int,
engine_on: bool,
last_packet: string,
last_receive: string,
last_motion: string,
motion_status: string
}

Temperature Data Update (DVC-DU/T1)

{
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
temperature_num: int,
temperature: float,
engine_on: bool
}

Fuel Data Update (DVC-DU/F1)


{
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
liter: float,
percentage: float,
engine_on: bool
}

Overspeed Alarm (DVC-A1/O1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int
}

Geofence Alarm (DVC-A1/G1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Going in or out of geofence. Possible values: in, out
geofence: string // Name of the geofence
}

Temperature Alarm (DVC-A1/T1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Higher or Lower than alert threshold. Possible values: lower, higher
temperature: float,
origin: string // Origin of the temperature alert. Possible values: refrigerator, engine
}

Fuel Alarm (DVC-A1/F1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Gaining or Losing fuel. Possible values: gain, loss
percentage: float,
capacity: float
}

Door Alarm (DVC-A1/D1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
door_num: int, // Indicates which door sensor it is. Possible values: 1, 2
condition: string, // Is door opened or closed. Possible values: open, close
address: string // Address of the coordinates
}

Tamper Alarm (DVC-A1/T2)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}

Harsh Braking Alarm (DVC-A1/HB1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}

Harsh Acceleration Alarm (DVC-A1/HA1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}

Sharp Turn Alarm (DVC-A1/ST1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}

Engine Alarm (DVC-A1/E1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
condition: string, // Is engine on or off. Possible values: On, Off
}

SOS Alarm (DVC-A1/S1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}

Location with Fleet Task Data Update (DVC-DU/LF1)

{
license_plate: string,
hull_no: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int,
direction: int,
engine_on: bool,
last_packet: string,
last_receive: string,
last_motion: string,
motion_status: string
}

Fatigue Alarm (DVC-A1/F2)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Close Eye Alarm (DVC-A1/CE1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Yawn Alarm (DVC-A1/Y1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Distraction Alarm (DVC-A1/D2)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Smoking Alarm (DVC-A1/S2)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Phone Call Alarm (DVC-A1/PC1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Missing Face Alarm (DVC-A1/MF1)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Seatbelt Alarm (DVC-A1/S3)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}

Shock Alarm (DVC-A1/S4)

{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}